1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-01-18 20:52:10 +01:00

[dxvk] Fix bogus xfb buffer update check

This commit is contained in:
Philip Rebohle 2019-10-26 19:40:32 +02:00
parent 0683f4f2c0
commit 3c4a57acc6
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99

View File

@ -4598,7 +4598,7 @@ namespace dxvk {
// Transform feedback buffer writes won't overlap, so we
// also only need to check those when they are rebound
if (m_flags.test(DxvkContextFlag::GpDirtyXfbCounters)
if (m_flags.test(DxvkContextFlag::GpDirtyXfbBuffers)
&& m_state.gp.flags.test(DxvkGraphicsPipelineFlag::HasTransformFeedback)) {
for (uint32_t i = 0; i < MaxNumXfbBuffers && !requiresBarrier; i++) {
const auto& xfbBufferSlice = m_state.xfb.buffers[i];