Fixed the "Undeclared identifier: uv0" OpenGL shader compile error that appears in NBA2K11.
This commit is contained in:
parent
bdd1853586
commit
b4399dbdf3
|
@ -318,7 +318,7 @@ static inline void GeneratePixelShader(T& out, DSTALPHA_MODE dstAlphaMode, API_T
|
||||||
|
|
||||||
// compute window position if needed because binding semantic WPOS is not widely supported
|
// compute window position if needed because binding semantic WPOS is not widely supported
|
||||||
// Let's set up attributes
|
// Let's set up attributes
|
||||||
for (unsigned int i = 0; i < xfmem.numTexGen.numTexGens; ++i)
|
for (unsigned int i = 0; i < numTexgen; ++i)
|
||||||
{
|
{
|
||||||
out.Write("centroid in float3 uv%d;\n", i);
|
out.Write("centroid in float3 uv%d;\n", i);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue