diff options
author | Timothy Arceri <[email protected]> | 2018-03-22 11:52:19 +1100 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2018-04-10 14:43:45 +1000 |
commit | bd4cc54c8bcad0836b92cf60c4d221e5dda38e9b (patch) | |
tree | ed44cd6c45139f7c969e2539d9a08dc900bd313a /src/mesa/state_tracker/st_nir.h | |
parent | 222d862cd332dba3c2bd8b28270c3a0d0aed6ec6 (diff) |
st/glsl_to_nir: set paramater value offset as driver location for packed uniforms
This allows us to simplify the code and will also be useful for supporting
bindless textures.
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker/st_nir.h')
-rw-r--r-- | src/mesa/state_tracker/st_nir.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/state_tracker/st_nir.h b/src/mesa/state_tracker/st_nir.h index 3dd78fb1155..1c2e32a5e6f 100644 --- a/src/mesa/state_tracker/st_nir.h +++ b/src/mesa/state_tracker/st_nir.h @@ -36,8 +36,7 @@ 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, - const struct gl_program_parameter_list *params); +bool st_nir_lower_uniforms_to_ubo(struct nir_shader *shader); void st_finalize_nir(struct st_context *st, struct gl_program *prog, struct gl_shader_program *shader_program, |