mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 20:28:56 +00:00
Fixed the "Undeclared identifier: uv0" OpenGL shader compile error that appears in NBA2K11.
This commit is contained in:
parent
bdd1853586
commit
b4399dbdf3
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue