[Vulkan] Invalidate descriptor set bindings for incompatible sets

The code to do this was set up but it seems it was never implemented.
This commit is contained in:
Herman S.
2025-12-06 22:46:47 +09:00
parent d43b246c5e
commit 405b2f3920
@@ -2626,6 +2626,9 @@ bool VulkanCommandProcessor::IssueDraw(xenos::PrimitiveType prim_type,
descriptor_sets_kept,
uint32_t(SpirvShaderTranslator::kDescriptorSetTexturesPixel));
}
// Invalidate descriptor set bindings for incompatible sets.
current_graphics_descriptor_sets_bound_up_to_date_ &=
(UINT32_C(1) << descriptor_sets_kept) - 1;
} else {
// No or unknown pipeline layout previously bound - all bindings are in an
// indeterminate state.