mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-03-01 19:29:16 +01:00
[dxbc] Fix hull shader barrier issue
This commit is contained in:
parent
b7a9c2c751
commit
0fdde6a94e
@ -5341,7 +5341,7 @@ namespace dxvk {
|
|||||||
// Fork/join phases. We cannot run this in parallel
|
// Fork/join phases. We cannot run this in parallel
|
||||||
// because synchronizing per-patch outputs does not
|
// because synchronizing per-patch outputs does not
|
||||||
// work. We don't need to synchronize after this.
|
// work. We don't need to synchronize after this.
|
||||||
// this->emitHsInvocationBlockBegin(1);
|
this->emitHsInvocationBlockBegin(1);
|
||||||
|
|
||||||
for (const auto& phase : m_hs.forkPhases)
|
for (const auto& phase : m_hs.forkPhases)
|
||||||
this->emitHsForkJoinPhase(phase);
|
this->emitHsForkJoinPhase(phase);
|
||||||
@ -5349,10 +5349,13 @@ namespace dxvk {
|
|||||||
for (const auto& phase : m_hs.joinPhases)
|
for (const auto& phase : m_hs.joinPhases)
|
||||||
this->emitHsForkJoinPhase(phase);
|
this->emitHsForkJoinPhase(phase);
|
||||||
|
|
||||||
// Output setup phase
|
this->emitHsInvocationBlockEnd();
|
||||||
this->emitHsPhaseBarrier();
|
this->emitHsPhaseBarrier();
|
||||||
|
|
||||||
|
// Output setup phase
|
||||||
|
this->emitHsInvocationBlockBegin(1);
|
||||||
this->emitOutputSetup();
|
this->emitOutputSetup();
|
||||||
// this->emitHsInvocationBlockEnd();
|
this->emitHsInvocationBlockEnd();
|
||||||
this->emitMainFunctionEnd();
|
this->emitMainFunctionEnd();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user