[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 17:50:51 +09:00
parent a716dc6fac
commit 1a4b78e377

View File

@@ -2440,6 +2440,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.