radv: only enable emulated mesh/task shader queries on GFX10.3
It's not emulated on GFX11+. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32701>
This commit is contained in:
committed by
Marge Bot
parent
30825140d0
commit
91cdee8a38
@@ -855,7 +855,7 @@ radv_device_init_cache_key(struct radv_device *device)
|
||||
key->trap_excp_flags = device->trap_handler_shader && instance->trap_excp_flags;
|
||||
key->disable_trunc_coord = device->disable_trunc_coord;
|
||||
key->image_2d_view_of_3d = device->vk.enabled_features.image2DViewOf3D && pdev->info.gfx_level == GFX9;
|
||||
key->mesh_shader_queries = device->vk.enabled_features.meshShaderQueries;
|
||||
key->mesh_shader_queries = device->vk.enabled_features.meshShaderQueries && pdev->emulate_mesh_shader_queries;
|
||||
key->primitives_generated_query = radv_uses_primitives_generated_query(device);
|
||||
|
||||
/* The Vulkan spec says:
|
||||
|
||||
Reference in New Issue
Block a user