summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_nir.h
diff options
context:
space:
mode:
authorTimur Kristóf <[email protected]>2019-02-08 22:36:37 +0100
committerEric Anholt <[email protected]>2019-03-05 19:13:27 +0000
commit909d1f50f3ffc62d5a23669ad0bc8eedb9416af0 (patch)
treec027bc73c8997ba44e7c83817f7863a5838339d9 /src/mesa/state_tracker/st_nir.h
parent4dba72c4b35eeb312da232b2f30f067885bc9f07 (diff)
nir: Move nir_lower_uniforms_to_ubo to compiler/nir.
The nir_lower_uniforms_to_ubo function is useful outside of mesa/state_tracker, and in fact is needed to produce NIR for drivers that have the PIPE_CAP_PACKED_UNIFORMS capability. Signed-Off-By: Timur Kristóf <[email protected]> Tested-by: Andre Heider <[email protected]> Tested-by: Rob Clark <[email protected]> Reviewed-by: Timothy Arceri <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker/st_nir.h')
-rw-r--r--src/mesa/state_tracker/st_nir.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_nir.h b/src/mesa/state_tracker/st_nir.h
index d45ab3c4474..94eae84402e 100644
--- a/src/mesa/state_tracker/st_nir.h
+++ b/src/mesa/state_tracker/st_nir.h
@@ -36,7 +36,6 @@ 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);
-bool st_nir_lower_uniforms_to_ubo(struct nir_shader *shader);
void st_nir_lower_wpos_ytransform(struct nir_shader *nir,
struct gl_program *prog,