From ea811b7868d4039499dddf53c109cf0b9da98967 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Fri, 27 Mar 2015 14:18:11 -0700 Subject: 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 --- src/glsl/nir/nir.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/glsl/nir/nir.h') 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); -- cgit v1.2.3