[Vulkan] Invalidate user clip plane constants on source registers change
Co-authored-by: Herman S. <429230+has207@users.noreply.github.com>
This commit is contained in:
committed by
Radosław Gliński
parent
66779fb873
commit
2b071d9b09
@@ -1413,6 +1413,11 @@ void VulkanCommandProcessor::WriteRegister(uint32_t index, uint32_t value) {
|
||||
// staying stale from the first draw of the submission.
|
||||
current_constant_buffers_up_to_date_ &=
|
||||
~(UINT32_C(1) << SpirvShaderTranslator::kConstantBufferTessellation);
|
||||
} else if ((index >= XE_GPU_REG_PA_CL_UCP_0_X &&
|
||||
index <= XE_GPU_REG_PA_CL_UCP_5_W) ||
|
||||
index == XE_GPU_REG_PA_CL_CLIP_CNTL) {
|
||||
current_constant_buffers_up_to_date_ &=
|
||||
~(UINT32_C(1) << SpirvShaderTranslator::kConstantBufferClipPlanes);
|
||||
}
|
||||
}
|
||||
void VulkanCommandProcessor::WriteRegistersFromMem(uint32_t start_index,
|
||||
|
||||
Reference in New Issue
Block a user