Add support for builtin deprecated fs varyings.
Fixes glsl-color.frag.
This commit is contained in:

committed by
Ian Romanick

parent
bfe380a721
commit
0f09aea3bf
@@ -136,6 +136,14 @@ generate_110_fs_variables(exec_list *instructions,
|
||||
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]. */
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user