summaryrefslogtreecommitdiff
path: root/src/glsl/glsl_parser_extras.h
diff options
context:
space:
mode:
authorIan Romanick <ian.d.romanick@intel.com>2010-11-18 17:11:17 -0800
committerIan Romanick <ian.d.romanick@intel.com>2010-11-18 18:19:45 -0800
commitad87f2ddc7e6b95e3dd5bbe4d2b19703d305c74e (patch)
treeb218028a8a70a77b0e35a73edf5f605a7771f773 /src/glsl/glsl_parser_extras.h
parent83e93b6008213ad86607027e8434ecaccc8b1a2c (diff)
glsl: Make is_zero and is_one virtual methods of ir_rvalue
This eliminates the need in some cames to validate that an rvalue is an ir_constant before checking to see if it's 0 or 1.
Diffstat (limited to 'src/glsl/glsl_parser_extras.h')
0 files changed, 0 insertions, 0 deletions