diff options
author | Samuel Pitoiset <samuel.pitoiset@gmail.com> | 2020-10-16 10:41:49 +0200 |
---|---|---|
committer | Marge Bot <eric+marge@anholt.net> | 2020-10-20 07:11:29 +0000 |
commit | 6d32fcaaafb4b26b2459bd01380eea0a00fdd3da (patch) | |
tree | a8e5b00eb1e9646e3869094a63d64c2d5e97e450 /src/amd/vulkan/radv_query.c | |
parent | d8435c1628ce6659e28c0f0625c9af42f3a19860 (diff) |
Revert "radv/aco: disable NGG GS support because it randomly hangs the GPU"
This reverts commit b84d1a0c42c5a1973ebc53a49fd941590e540a82.
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7213>
Diffstat (limited to 'src/amd/vulkan/radv_query.c')
-rw-r--r-- | src/amd/vulkan/radv_query.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/amd/vulkan/radv_query.c b/src/amd/vulkan/radv_query.c index b2e61abc9ae..d49bc0f0564 100644 --- a/src/amd/vulkan/radv_query.c +++ b/src/amd/vulkan/radv_query.c @@ -1134,7 +1134,7 @@ radv_query_pool_needs_gds(struct radv_device *device, * TODO: fix use of NGG GS and non-NGG GS inside the same begin/end * query. */ - return device->physical_device->use_ngg_gs && + return device->physical_device->use_ngg && (pool->pipeline_stats_mask & VK_QUERY_PIPELINE_STATISTIC_GEOMETRY_SHADER_PRIMITIVES_BIT); } |