summaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl/link_varyings.h
diff options
context:
space:
mode:
authorSamuel Iglesias Gonsálvez <[email protected]>2017-02-09 14:14:29 +0100
committerSamuel Iglesias Gonsálvez <[email protected]>2017-02-23 06:56:45 +0100
commit6ca4347c827c9b4c577bc04587a5c0070f5b5339 (patch)
tree4a60ea48b238ef80079d7d67fdb5d97a349605f0 /src/compiler/glsl/link_varyings.h
parenta73a61893323c74f38b1baa30d63a5cc665b7b58 (diff)
glsl: refactor get_variable_being_redeclared() to return always an ir_variable pointer
It will return the current variable ('var') or the earlier declaration ('earlier') in case of redeclaration of that variable. In order to distinguish between both, 'is_redeclaration' boolean will indicate in which case we are. Signed-off-by: Samuel Iglesias Gonsálvez <[email protected]> Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/compiler/glsl/link_varyings.h')
0 files changed, 0 insertions, 0 deletions