diff options
author | Samuel Iglesias Gonsálvez <[email protected]> | 2017-02-09 14:14:29 +0100 |
---|---|---|
committer | Samuel Iglesias Gonsálvez <[email protected]> | 2017-02-23 06:56:45 +0100 |
commit | 6ca4347c827c9b4c577bc04587a5c0070f5b5339 (patch) | |
tree | 4a60ea48b238ef80079d7d67fdb5d97a349605f0 /.gitignore | |
parent | a73a61893323c74f38b1baa30d63a5cc665b7b58 (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 '.gitignore')
0 files changed, 0 insertions, 0 deletions