mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 04:38:03 +02:00
glsl: rename setup_uniform_remap_tables()
Remove the preceeding nir as that is generally reserved for helpers used across files. Acked-by: Marek Olšák <marek.olsak@amd.com> Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36366>
This commit is contained in:
parent
cb558b2b88
commit
dd71263c21
1 changed files with 3 additions and 3 deletions
|
|
@ -271,8 +271,8 @@ update_array_sizes(struct gl_shader_program *prog, nir_variable *var,
|
|||
}
|
||||
|
||||
static void
|
||||
nir_setup_uniform_remap_tables(const struct gl_constants *consts,
|
||||
struct gl_shader_program *prog)
|
||||
setup_uniform_remap_tables(const struct gl_constants *consts,
|
||||
struct gl_shader_program *prog)
|
||||
{
|
||||
unsigned total_entries = prog->NumExplicitUniformLocations;
|
||||
|
||||
|
|
@ -2036,7 +2036,7 @@ gl_nir_link_uniforms(const struct gl_constants *consts,
|
|||
if (prog->data->spirv)
|
||||
prog->NumUniformRemapTable = state.max_uniform_location;
|
||||
|
||||
nir_setup_uniform_remap_tables(consts, prog);
|
||||
setup_uniform_remap_tables(consts, prog);
|
||||
gl_nir_set_uniform_initializers(consts, prog);
|
||||
|
||||
_mesa_hash_table_destroy(state.uniform_hash, hash_free_uniform_name);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue