mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-19 05:52:11 +01:00
[dxvk] Fix bogus xfb buffer update check
This commit is contained in:
parent
0683f4f2c0
commit
3c4a57acc6
@ -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];
|
||||
|
Loading…
x
Reference in New Issue
Block a user