mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 16:08:04 +02:00
tu: Fix binding NULL descriptor sets
This fixes the new test
dEQP-VK.pipeline.pipeline_library.graphics_library.misc.other.null_descriptor_set_in_monolithic_pipeline.
Fixes: e9f5de11d4 ("tu: Initial implementation of VK_EXT_graphics_pipeline_library")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20057>
This commit is contained in:
parent
863516dd63
commit
515c9a2e07
1 changed files with 3 additions and 0 deletions
|
|
@ -2087,6 +2087,9 @@ tu_CmdBindDescriptorSets(VkCommandBuffer commandBuffer,
|
|||
|
||||
descriptors_state->sets[idx] = set;
|
||||
|
||||
if (!set)
|
||||
continue;
|
||||
|
||||
if (set->layout->has_inline_uniforms)
|
||||
cmd->state.dirty |= TU_CMD_DIRTY_SHADER_CONSTS;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue