[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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user