mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-15 22:54:00 +00:00
debugger/shader: fix inverted uniform flow control
This commit is contained in:
parent
822e8d21ea
commit
98cd5164c5
1 changed files with 2 additions and 2 deletions
|
@ -255,7 +255,7 @@ QVariant GraphicsVertexShaderModel::data(const QModelIndex& index, int role) con
|
||||||
output << '(';
|
output << '(';
|
||||||
|
|
||||||
if (instr.flow_control.op != instr.flow_control.JustY) {
|
if (instr.flow_control.op != instr.flow_control.JustY) {
|
||||||
if (instr.flow_control.refx)
|
if (!instr.flow_control.refx)
|
||||||
output << '!';
|
output << '!';
|
||||||
output << "cc.x";
|
output << "cc.x";
|
||||||
}
|
}
|
||||||
|
@ -267,7 +267,7 @@ QVariant GraphicsVertexShaderModel::data(const QModelIndex& index, int role) con
|
||||||
}
|
}
|
||||||
|
|
||||||
if (instr.flow_control.op != instr.flow_control.JustX) {
|
if (instr.flow_control.op != instr.flow_control.JustX) {
|
||||||
if (instr.flow_control.refy)
|
if (!instr.flow_control.refy)
|
||||||
output << '!';
|
output << '!';
|
||||||
output << "cc.y";
|
output << "cc.y";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue