mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-09 18:45:40 +00:00
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…
x
Reference in New Issue
Block a user