{ ir_var_out, "float", "gl_FragDepth" },
};
+static const builtin_variable builtin_110_deprecated_fs_variables[] = {
+ { ir_var_in, "vec4", "gl_Color" },
+ { ir_var_in, "vec4", "gl_SecondaryColor" },
+ { ir_var_in, "vec4", "gl_FogFragCoord" },
+};
+
static const builtin_variable builtin_110_deprecated_vs_variables[] = {
{ ir_var_in, "vec4", "gl_Vertex" },
{ ir_var_in, "vec4", "gl_Normal" },
instructions, symtab);
}
+ /* FINISHME: Add support for gl_TexCoord[] */
+ for (unsigned i = 0
+ ; i < Elements(builtin_110_deprecated_fs_variables)
+ ; i++) {
+ add_builtin_variable(& builtin_110_deprecated_fs_variables[i],
+ instructions, symtab);
+ }
+
/* FINISHME: Add support for gl_FragData[GL_MAX_DRAW_BUFFERS]. */
}