mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 11:28:05 +02: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> (cherry picked from commit0a0a04bdaa)
This commit is contained in:
parent
a569c68e87
commit
304005ff81
2 changed files with 2 additions and 2 deletions
|
|
@ -256,7 +256,7 @@
|
|||
"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"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -4994,7 +4994,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