1
0
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:
Philip Rebohle 2018-02-21 03:49:06 +01:00
parent b419b3dfbd
commit 78e9b575c5
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99

View File

@ -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,