mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-12-01 07:24:12 +01:00
[dxbc] Implement AtomicIMin/Max instructions
This commit is contained in:
parent
b419b3dfbd
commit
78e9b575c5
@ -1868,6 +1868,18 @@ namespace dxvk {
|
|||||||
src[0].id);
|
src[0].id);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case DxbcOpcode::AtomicIMin:
|
||||||
|
value.id = m_module.opAtomicSMin(typeId,
|
||||||
|
pointer.id, scopeId, semanticsId,
|
||||||
|
src[0].id);
|
||||||
|
break;
|
||||||
|
|
||||||
|
case DxbcOpcode::AtomicIMax:
|
||||||
|
value.id = m_module.opAtomicSMax(typeId,
|
||||||
|
pointer.id, scopeId, semanticsId,
|
||||||
|
src[0].id);
|
||||||
|
break;
|
||||||
|
|
||||||
case DxbcOpcode::AtomicUMin:
|
case DxbcOpcode::AtomicUMin:
|
||||||
value.id = m_module.opAtomicUMin(typeId,
|
value.id = m_module.opAtomicUMin(typeId,
|
||||||
pointer.id, scopeId, semanticsId,
|
pointer.id, scopeId, semanticsId,
|
||||||
|
Loading…
Reference in New Issue
Block a user