radeonsi/gfx10: don't call gfx10_destroy_query with compute-only contexts
authorMarek Olšák <marek.olsak@amd.com>
Fri, 23 Aug 2019 23:17:05 +0000 (19:17 -0400)
committerMarek Olšák <marek.olsak@amd.com>
Tue, 10 Sep 2019 03:43:03 +0000 (23:43 -0400)
commit28adf0d00c6b5506ed2206b950336bdc568d2247
tree40a7a794d97d17ecb85e24a5add707df4d54de33
parent2f42d4cacc9a12bc210c279d86833bf210c9c806
radeonsi/gfx10: don't call gfx10_destroy_query with compute-only contexts

This fixes a crash.

Cc: 19.2 <mesa-stable@lists.freedesktop.org>
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
src/gallium/drivers/radeonsi/si_pipe.c