This is VkShaderStageFlags, not VkPipelineStageFlags. Fixes preloading
descriptors for compute dispatches.
Fixes:
d862a2ebcbf ("turnip: Only emit descriptor loads for active stages in the pipeline.")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20059>
(cherry picked from commit
0a0a04bdaa6faf1dd3e937f7087ae1c4f240c916)
"description": "tu: Use right enum for compute active_shader_stages",
"nominated": true,
"nomination_type": 1,
- "resolution": 0,
+ "resolution": 1,
"main_sha": null,
"because_sha": "d862a2ebcbf94374e0ab0bd1c63bc45020a2ecef"
},
pipeline->executables_mem_ctx = ralloc_context(NULL);
util_dynarray_init(&pipeline->executables, pipeline->executables_mem_ctx);
- pipeline->active_stages = VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT;
+ pipeline->active_stages = VK_SHADER_STAGE_COMPUTE_BIT;
struct tu_shader_key key = { };
tu_shader_key_init(&key, stage_info, dev);