mirror of
https://git.suyu.dev/suyu/suyu
synced 2024-11-01 12:57:52 +00:00
gl_shader_decompiler: Don't redeclare gl_VertexID and gl_InstanceID
This commit is contained in:
parent
5afc397d52
commit
f5658a9fda
1 changed files with 0 additions and 8 deletions
|
@ -639,14 +639,6 @@ private:
|
||||||
code.AddLine("float gl_PointSize;");
|
code.AddLine("float gl_PointSize;");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ir.UsesInstanceId()) {
|
|
||||||
code.AddLine("int gl_InstanceID;");
|
|
||||||
}
|
|
||||||
|
|
||||||
if (ir.UsesVertexId()) {
|
|
||||||
code.AddLine("int gl_VertexID;");
|
|
||||||
}
|
|
||||||
|
|
||||||
if (ir.UsesLegacyVaryings()) {
|
if (ir.UsesLegacyVaryings()) {
|
||||||
code.AddLine("vec4 gl_TexCoord[8];");
|
code.AddLine("vec4 gl_TexCoord[8];");
|
||||||
code.AddLine("vec4 gl_FrontColor;");
|
code.AddLine("vec4 gl_FrontColor;");
|
||||||
|
|
Loading…
Reference in a new issue