diff options
author | Timothy Arceri <[email protected]> | 2017-01-19 10:41:57 +1100 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2017-04-24 12:08:14 +1000 |
commit | aa021d50c0a81b2d067a3c3aa7eb9789b91caa4b (patch) | |
tree | 0f1d066ac5019cfdee99df9a6a94692da3b11cc7 /src/compiler/glsl/ir_print_visitor.h | |
parent | 7a7ee40c2de01a927d78852b18fc0b93e780df9c (diff) |
glsl_to_nir: skip ir_var_shader_shared variables
These should be lowered away in GLSL IR but if we don't get dead
code to clean them up it causes issues in glsl_to_nir.
We wan't to drop as many GLSL IR opts in future as we can so this
makes glsl_to_nir just ignore the vars if it sees them.
In future we will want to just use the nir lowering pass that
Vulkan currently uses.
Acked-by: Elie Tournier <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/compiler/glsl/ir_print_visitor.h')
0 files changed, 0 insertions, 0 deletions