Browse Source

[shader_recompiler] Refactor some whitespaces

pull/2541/head
SDK Chan 6 months ago
committed by crueter
parent
commit
08609ab94d
  1. 9
      src/shader_recompiler/frontend/maxwell/translate/impl/internal_stage_buffer_entry_read.cpp

9
src/shader_recompiler/frontend/maxwell/translate/impl/internal_stage_buffer_entry_read.cpp

@ -102,9 +102,12 @@ void TranslatorVisitor::ISBERD(u64 insn) {
IR::F32 float_index{};
switch (isberd.mode.Value()) {
case Mode::Patch: float_index = ir.GetPatch(index.Patch()); break;
case Mode::Prim: float_index = ir.GetAttribute(index.Attribute()); break;
case Mode::Attr: float_index = ir.GetAttributeIndexed(index); break;
case Mode::Patch: float_index = ir.GetPatch(index.Patch());
break;
case Mode::Prim: float_index = ir.GetAttribute(index.Attribute());
break;
case Mode::Attr: float_index = ir.GetAttributeIndexed(index);
break;
default: UNREACHABLE();
}
X(isberd.dest_reg.Value(), ir.BitCast<IR::U32>(float_index));

Loading…
Cancel
Save