diff options
author | Eric Anholt <eric@anholt.net> | 2010-03-27 12:48:57 -0700 |
---|---|---|
committer | Ian Romanick <ian.d.romanick@intel.com> | 2010-03-29 12:48:45 -0700 |
commit | 0f09aea3bfe90378f6fdfa7b6798cf597a20cd37 (patch) | |
tree | 47a3146780b3cdc7a2909fd526856efd0ba9a86d /ir_variable.cpp | |
parent | bfe380a72107a19563811d25480bfb400646edf0 (diff) |
Add support for builtin deprecated fs varyings.
Fixes glsl-color.frag.
Diffstat (limited to 'ir_variable.cpp')
-rw-r--r-- | ir_variable.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ir_variable.cpp b/ir_variable.cpp index 9344170613..df8e4c3ba8 100644 --- a/ir_variable.cpp +++ b/ir_variable.cpp @@ -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]. */ } |