radv: move radv_pipeline_key::mesh_fast_launch_2 to the per-device cache key

This is a global thing.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27007>
This commit is contained in:
Samuel Pitoiset
2024-01-11 13:56:09 +01:00
committed by Marge Bot
parent d74150fc66
commit cff2a3aafc
4 changed files with 2 additions and 6 deletions

View File

@@ -207,11 +207,6 @@ radv_generate_pipeline_key(const struct radv_device *device, const VkPipelineSha
key.vertex_robustness1 = 1u;
}
for (uint32_t i = 0; i < num_stages; i++) {
if (stages[i].stage == VK_SHADER_STAGE_MESH_BIT_EXT && device->mesh_fast_launch_2)
key.mesh_fast_launch_2 = 1u;
}
key.keep_statistic_info = radv_pipeline_capture_shader_stats(device, flags);
return key;