[shader_recompiler] Refactor some whitespaces
All checks were successful
eden-license / license-header (pull_request) Successful in 17s
All checks were successful
eden-license / license-header (pull_request) Successful in 17s
This commit is contained in:
parent
d6273f529b
commit
b47432d997
1 changed files with 17 additions and 14 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue