summaryrefslogtreecommitdiffstats
path: root/src/glsl/ir.cpp
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2012-03-13 14:59:42 -0700
committerKenneth Graunke <[email protected]>2012-03-26 10:21:55 -0700
commitdca19a771156685895892740f687cee7cf84a8c9 (patch)
tree37d0213ac4cd61b7ac49dfd35011517a7308e877 /src/glsl/ir.cpp
parent2cd652f810e3417ff458f23a8c72a0c84e342258 (diff)
glsl: Explicitly NULL-check variables before making a dereference.
The constructor currently returns a ir_dereference_variable of error type when provided NULL, but that's about to change in the next commit. Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/glsl/ir.cpp')
0 files changed, 0 insertions, 0 deletions