mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-12-02 01:24:11 +01:00
[dxbc] Fix incorrect OpSelectionMerge instruction
Fixes a regression introduced in v0.53 that would cause Witcher 3 to crash when enabling Nvidia Hairworks on RADV.
This commit is contained in:
parent
621aed5fdb
commit
aa76bae32a
@ -3670,7 +3670,7 @@ namespace dxvk {
|
||||
cond.labelIf = m_module.allocateId();
|
||||
cond.labelEnd = m_module.allocateId();
|
||||
|
||||
m_module.opSelectionMerge(cond.labelIf, spv::SelectionControlMaskNone);
|
||||
m_module.opSelectionMerge(cond.labelEnd, spv::SelectionControlMaskNone);
|
||||
m_module.opBranchConditional(zeroTest.id, cond.labelIf, cond.labelEnd);
|
||||
|
||||
// OpKill terminates the block
|
||||
|
Loading…
Reference in New Issue
Block a user