mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
d3d: Fix a shader warning from sw transform.
This commit is contained in:
parent
f770b599d9
commit
1b12ad1b91
1 changed files with 2 additions and 2 deletions
|
@ -293,11 +293,11 @@ void GenerateVertexShaderDX9(int prim, char *buffer, bool useHWTransform) {
|
|||
if (hasColor) {
|
||||
WRITE(p, " Out.v_color0 = In.color0;\n");
|
||||
if (lmode)
|
||||
WRITE(p, " Out.v_color1 = In.color1;\n");
|
||||
WRITE(p, " Out.v_color1 = In.color1.rgb;\n");
|
||||
} else {
|
||||
WRITE(p, " Out.v_color0 = In.u_matambientalpha;\n");
|
||||
if (lmode)
|
||||
WRITE(p, " Out.v_color1 = In.vec3(0.0);\n");
|
||||
WRITE(p, " Out.v_color1 = float3(0.0);\n");
|
||||
}
|
||||
if (enableFog) {
|
||||
WRITE(p, " Out.v_fogdepth.x = In.position.w;\n");
|
||||
|
|
Loading…
Add table
Reference in a new issue