[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
1 changed files with 12 additions and 0 deletions

View File

@ -1868,6 +1868,18 @@ namespace dxvk {
src[0].id);
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:
value.id = m_module.opAtomicUMin(typeId,
pointer.id, scopeId, semanticsId,