diff options
Diffstat (limited to 'src/shader_recompiler/ir_opt')
| -rw-r--r-- | src/shader_recompiler/ir_opt/collect_shader_info_pass.cpp | 7 |
1 files changed, 3 insertions, 4 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 5c1b81638..07f031ea6 100644 --- a/src/shader_recompiler/ir_opt/collect_shader_info_pass.cpp +++ b/src/shader_recompiler/ir_opt/collect_shader_info_pass.cpp | |||
| @@ -271,7 +271,6 @@ void VisitUsages(Info& info, IR::Inst& inst) { | |||
| 271 | break; | 271 | break; |
| 272 | } | 272 | } |
| 273 | switch (inst.Opcode()) { | 273 | switch (inst.Opcode()) { |
| 274 | case IR::Opcode::GetCbufU64: | ||
| 275 | case IR::Opcode::UndefU64: | 274 | case IR::Opcode::UndefU64: |
| 276 | case IR::Opcode::LoadGlobalU8: | 275 | case IR::Opcode::LoadGlobalU8: |
| 277 | case IR::Opcode::LoadGlobalS8: | 276 | case IR::Opcode::LoadGlobalS8: |
| @@ -349,7 +348,7 @@ void VisitUsages(Info& info, IR::Inst& inst) { | |||
| 349 | case IR::Opcode::GetCbufS16: | 348 | case IR::Opcode::GetCbufS16: |
| 350 | case IR::Opcode::GetCbufU32: | 349 | case IR::Opcode::GetCbufU32: |
| 351 | case IR::Opcode::GetCbufF32: | 350 | case IR::Opcode::GetCbufF32: |
| 352 | case IR::Opcode::GetCbufU64: { | 351 | case IR::Opcode::GetCbufU32x2: { |
| 353 | if (const IR::Value index{inst.Arg(0)}; index.IsImmediate()) { | 352 | if (const IR::Value index{inst.Arg(0)}; index.IsImmediate()) { |
| 354 | AddConstantBufferDescriptor(info, index.U32(), 1); | 353 | AddConstantBufferDescriptor(info, index.U32(), 1); |
| 355 | } else { | 354 | } else { |
| @@ -370,8 +369,8 @@ void VisitUsages(Info& info, IR::Inst& inst) { | |||
| 370 | case IR::Opcode::GetCbufF32: | 369 | case IR::Opcode::GetCbufF32: |
| 371 | info.used_constant_buffer_types |= IR::Type::F32; | 370 | info.used_constant_buffer_types |= IR::Type::F32; |
| 372 | break; | 371 | break; |
| 373 | case IR::Opcode::GetCbufU64: | 372 | case IR::Opcode::GetCbufU32x2: |
| 374 | info.used_constant_buffer_types |= IR::Type::U64; | 373 | info.used_constant_buffer_types |= IR::Type::U32x2; |
| 375 | break; | 374 | break; |
| 376 | default: | 375 | default: |
| 377 | break; | 376 | break; |