mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-12 03:30:22 +01:00
tu: Use right enum for compute active_shader_stages
This is VkShaderStageFlags, not VkPipelineStageFlags. Fixes preloading
descriptors for compute dispatches.
Fixes: d862a2ebcb ("turnip: Only emit descriptor loads for active stages in the pipeline.")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20059>
This commit is contained in:
parent
f2414dc2a0
commit
0a0a04bdaa
1 changed files with 1 additions and 1 deletions
|
|
@ -5170,7 +5170,7 @@ tu_compute_pipeline_create(VkDevice device,
|
|||
|
||||
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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue