diff options
author | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-05-30 20:31:59 +0200 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-07-23 03:51:37 +0200 |
commit | 9ccbd749914a3371893ee3d6c1bdcb50c7f777ab (patch) | |
tree | e6cee0a031d5347a6f46320b2c4bdef3b70181a2 /src/shader_recompiler/ir_opt | |
parent | glsl: Use gl_SubGroupInvocationARB (diff) | |
download | yuzu-9ccbd749914a3371893ee3d6c1bdcb50c7f777ab.tar yuzu-9ccbd749914a3371893ee3d6c1bdcb50c7f777ab.tar.gz yuzu-9ccbd749914a3371893ee3d6c1bdcb50c7f777ab.tar.bz2 yuzu-9ccbd749914a3371893ee3d6c1bdcb50c7f777ab.tar.lz yuzu-9ccbd749914a3371893ee3d6c1bdcb50c7f777ab.tar.xz yuzu-9ccbd749914a3371893ee3d6c1bdcb50c7f777ab.tar.zst yuzu-9ccbd749914a3371893ee3d6c1bdcb50c7f777ab.zip |
Diffstat (limited to 'src/shader_recompiler/ir_opt')
-rw-r--r-- | src/shader_recompiler/ir_opt/collect_shader_info_pass.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/shader_recompiler/ir_opt/collect_shader_info_pass.cpp b/src/shader_recompiler/ir_opt/collect_shader_info_pass.cpp index c22e5992a..dc78cdefb 100644 --- a/src/shader_recompiler/ir_opt/collect_shader_info_pass.cpp +++ b/src/shader_recompiler/ir_opt/collect_shader_info_pass.cpp @@ -703,6 +703,12 @@ void VisitUsages(Info& info, IR::Inst& inst) { case IR::Opcode::WriteStorage128: info.used_storage_buffer_types |= IR::Type::U32x4; break; + case IR::Opcode::SharedAtomicSMin32: + info.uses_atomic_s32_min = true; + break; + case IR::Opcode::SharedAtomicSMax32: + info.uses_atomic_s32_max = true; + break; case IR::Opcode::SharedAtomicInc32: info.uses_shared_increment = true; break; |