[shader_recompiler] Refactor some whitespaces
All checks were successful
eden-license / license-header (pull_request) Successful in 18s
All checks were successful
eden-license / license-header (pull_request) Successful in 18s
This commit is contained in:
parent
efe9c30997
commit
08609ab94d
1 changed files with 17 additions and 14 deletions
|
@ -102,9 +102,12 @@ void TranslatorVisitor::ISBERD(u64 insn) {
|
||||||
|
|
||||||
IR::F32 float_index{};
|
IR::F32 float_index{};
|
||||||
switch (isberd.mode.Value()) {
|
switch (isberd.mode.Value()) {
|
||||||
case Mode::Patch: float_index = ir.GetPatch(index.Patch()); break;
|
case Mode::Patch: float_index = ir.GetPatch(index.Patch());
|
||||||
case Mode::Prim: float_index = ir.GetAttribute(index.Attribute()); break;
|
break;
|
||||||
case Mode::Attr: float_index = ir.GetAttributeIndexed(index); break;
|
case Mode::Prim: float_index = ir.GetAttribute(index.Attribute());
|
||||||
|
break;
|
||||||
|
case Mode::Attr: float_index = ir.GetAttributeIndexed(index);
|
||||||
|
break;
|
||||||
default: UNREACHABLE();
|
default: UNREACHABLE();
|
||||||
}
|
}
|
||||||
X(isberd.dest_reg.Value(), ir.BitCast<IR::U32>(float_index));
|
X(isberd.dest_reg.Value(), ir.BitCast<IR::U32>(float_index));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue