mirror of
https://git.h3cjp.net/H3cJP/yuzu.git
synced 2024-12-16 07:45:33 +00:00
Fix one encoding in TEX Instruction
This commit is contained in:
parent
487d805899
commit
9c2127d5eb
|
@ -2562,9 +2562,9 @@ private:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case 3: {
|
case 3: {
|
||||||
const std::string x = regs.GetRegisterAsFloat(instr.gpr8);
|
const std::string x = regs.GetRegisterAsFloat(instr.gpr8.Value() + start_index);
|
||||||
const std::string y = regs.GetRegisterAsFloat(instr.gpr8.Value() + 1);
|
const std::string y = regs.GetRegisterAsFloat(instr.gpr8.Value() + start_index + 1);
|
||||||
const std::string z = regs.GetRegisterAsFloat(instr.gpr8.Value() + 2);
|
const std::string z = regs.GetRegisterAsFloat(instr.gpr8.Value() + start_index + 2);
|
||||||
if (is_array) {
|
if (is_array) {
|
||||||
depth_compare_extra = depth_compare;
|
depth_compare_extra = depth_compare;
|
||||||
coord = "vec4 coords = vec4(" + x + ", " + y + ", " + z + ", " +
|
coord = "vec4 coords = vec4(" + x + ", " + y + ", " + z + ", " +
|
||||||
|
|
Loading…
Reference in a new issue