summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_nir.h
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2016-09-08 14:57:25 -0400
committerRob Clark <[email protected]>2016-09-26 15:29:17 -0400
commite0ec1c31345aa8f47b5dea16d26be4420bd908ad (patch)
treecb5f401a43463a3208232ff1d6c0d0d1027f3d48 /src/mesa/state_tracker/st_nir.h
parentc2a60cacd4428c7fd8d6f6160edcde93e7b93284 (diff)
mesa/st: add nir pass to lower tex_src_plane
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker/st_nir.h')
-rw-r--r--src/mesa/state_tracker/st_nir.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_nir.h b/src/mesa/state_tracker/st_nir.h
index 523a274bb13..28d375c6fd1 100644
--- a/src/mesa/state_tracker/st_nir.h
+++ b/src/mesa/state_tracker/st_nir.h
@@ -34,6 +34,9 @@ extern "C" {
struct nir_shader;
void st_nir_lower_builtin(struct nir_shader *shader);
+void st_nir_lower_tex_src_plane(struct nir_shader *shader, unsigned free_slots,
+ unsigned lower_2plane, unsigned lower_3plane);
+
struct nir_shader * st_glsl_to_nir(struct st_context *st, struct gl_program *prog,
struct gl_shader_program *shader_program,
gl_shader_stage stage);