diff options
author | Eric Anholt <[email protected]> | 2015-03-27 14:18:11 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2015-04-03 11:50:24 -0700 |
commit | ea811b7868d4039499dddf53c109cf0b9da98967 (patch) | |
tree | 2cf102219a2a51df09d08376bfca4d5d69e3015f /src/glsl/nir/nir.h | |
parent | 64bdfc698d6d9f543f82141330ae32de286b8417 (diff) |
nir: Add a lowering pass for texture projectors.
Not much hardware wants them these days, and it might give us a chance to
do CSE or algebraic at the NIR level.
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/glsl/nir/nir.h')
-rw-r--r-- | src/glsl/nir/nir.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glsl/nir/nir.h b/src/glsl/nir/nir.h index 24deb82d2e7..6e2aa97d498 100644 --- a/src/glsl/nir/nir.h +++ b/src/glsl/nir/nir.h @@ -1601,6 +1601,7 @@ void nir_lower_samplers(nir_shader *shader, struct gl_program *prog); void nir_lower_system_values(nir_shader *shader); +void nir_lower_tex_projector(nir_shader *shader); void nir_lower_atomics(nir_shader *shader); void nir_lower_to_source_mods(nir_shader *shader); |