diff options
author | Jason Ekstrand <[email protected]> | 2016-03-17 13:58:40 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2016-03-23 16:28:06 -0700 |
commit | 89b604922d2fb50ca1013473b2003227d61507cd (patch) | |
tree | 3fddca0b4ba1e0162b7edca506e9fe22df0c3a7f /src/compiler/glsl/ir_optimization.h | |
parent | 91d6272c2b29faa06f352b55e25526c726a25f82 (diff) |
glsl: Add a pass to propagate the "invariant" and "precise" qualifiers
Reviewed-by: Francisco Jerez <[email protected]>
Diffstat (limited to 'src/compiler/glsl/ir_optimization.h')
-rw-r--r-- | src/compiler/glsl/ir_optimization.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler/glsl/ir_optimization.h b/src/compiler/glsl/ir_optimization.h index 2d773760f90..f9599a39ff5 100644 --- a/src/compiler/glsl/ir_optimization.h +++ b/src/compiler/glsl/ir_optimization.h @@ -139,6 +139,7 @@ bool lower_tess_level(gl_shader *shader); bool lower_vertex_id(gl_shader *shader); bool lower_subroutine(exec_list *instructions, struct _mesa_glsl_parse_state *state); +void propagate_invariance(exec_list *instructions); ir_rvalue * compare_index_block(exec_list *instructions, ir_variable *index, |