mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-22 06:41:08 +00:00
GLSL: fix nfs-hp2
This commit is contained in:
parent
e1a081ad2d
commit
6962929356
@ -960,10 +960,10 @@ static void WriteStage(char *&p, int n, API_TYPE ApiType)
|
|||||||
WRITE(p, "float2 indtevtrans%d = " I_INDTEXMTX"[%d].ww * uv%d.xy * indtevcrd%d.yy;\n", n, mtxidx, texcoord, n);
|
WRITE(p, "float2 indtevtrans%d = " I_INDTEXMTX"[%d].ww * uv%d.xy * indtevcrd%d.yy;\n", n, mtxidx, texcoord, n);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
WRITE(p, "float2 indtevtrans%d = float2(0.0f);\n", n);
|
WRITE(p, "float2 indtevtrans%d = float2(0.0f, 0.0f);\n", n);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
WRITE(p, "float2 indtevtrans%d = float2(0.0f);\n", n);
|
WRITE(p, "float2 indtevtrans%d = float2(0.0f, 0.0f);\n", n);
|
||||||
|
|
||||||
// ---------
|
// ---------
|
||||||
// Wrapping
|
// Wrapping
|
||||||
|
Loading…
x
Reference in New Issue
Block a user