glsl: Clean up case statement in builtin_variables.cpp's add_variable.
authorPaul Berry <stereotype441@gmail.com>
Fri, 25 Jan 2013 00:11:08 +0000 (16:11 -0800)
committerPaul Berry <stereotype441@gmail.com>
Fri, 25 Jan 2013 00:30:27 +0000 (16:30 -0800)
commit7d51ead56e2b97d313c6a0fda22cc930b5c41e9d
treedcd4f46394fc4fbb5eee56629247435b9a066997
parentfce9e5d41bb1d80885d430d0484e9bd46d8ab936
glsl: Clean up case statement in builtin_variables.cpp's add_variable.

The case statement purported to handle the addition of ir_var_const_in
and ir_var_inout builtin variables.  But no such variables exist.
This patch removes the unnecessary cases, and adds a comment
explaining why they're not needed.

Reviewed-by: Carl Worth <cworth@cworth.org>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/glsl/builtin_variables.cpp