diff options
| author | 2021-05-10 18:21:28 -0300 | |
|---|---|---|
| committer | 2021-07-22 21:51:31 -0400 | |
| commit | c4fd6b55bc9acd06b2fc89f84fd175d78e14110a (patch) | |
| tree | c246a1c64f4826faedcf5c93be778116e48caf85 /src/shader_recompiler/ir_opt | |
| parent | glasm: Add MUFU instructions to GLASM (diff) | |
| download | yuzu-c4fd6b55bc9acd06b2fc89f84fd175d78e14110a.tar.gz yuzu-c4fd6b55bc9acd06b2fc89f84fd175d78e14110a.tar.xz yuzu-c4fd6b55bc9acd06b2fc89f84fd175d78e14110a.zip | |
glasm: Implement shuffle and vote instructions on GLASM
Diffstat (limited to 'src/shader_recompiler/ir_opt')
| -rw-r--r-- | src/shader_recompiler/ir_opt/collect_shader_info_pass.cpp | 4 |
1 files changed, 3 insertions, 1 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 13b793d57..ea08aacc3 100644 --- a/src/shader_recompiler/ir_opt/collect_shader_info_pass.cpp +++ b/src/shader_recompiler/ir_opt/collect_shader_info_pass.cpp | |||
| @@ -504,11 +504,13 @@ void VisitUsages(Info& info, IR::Inst& inst) { | |||
| 504 | info.uses_is_helper_invocation = true; | 504 | info.uses_is_helper_invocation = true; |
| 505 | break; | 505 | break; |
| 506 | case IR::Opcode::LaneId: | 506 | case IR::Opcode::LaneId: |
| 507 | info.uses_subgroup_invocation_id = true; | ||
| 508 | break; | ||
| 507 | case IR::Opcode::ShuffleIndex: | 509 | case IR::Opcode::ShuffleIndex: |
| 508 | case IR::Opcode::ShuffleUp: | 510 | case IR::Opcode::ShuffleUp: |
| 509 | case IR::Opcode::ShuffleDown: | 511 | case IR::Opcode::ShuffleDown: |
| 510 | case IR::Opcode::ShuffleButterfly: | 512 | case IR::Opcode::ShuffleButterfly: |
| 511 | info.uses_subgroup_invocation_id = true; | 513 | info.uses_subgroup_shuffles = true; |
| 512 | break; | 514 | break; |
| 513 | case IR::Opcode::GetCbufU8: | 515 | case IR::Opcode::GetCbufU8: |
| 514 | case IR::Opcode::GetCbufS8: | 516 | case IR::Opcode::GetCbufS8: |