glsl: move common link time optimisation calls to linker code
In the following patch we will move the users of this function to this file too and make it static again. Acked-by: Emma Anholt <emma@anholt.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16770>
This commit is contained in:

committed by
Marge Bot

parent
64dbc3f03a
commit
a14e2733ce
@@ -54,6 +54,8 @@ struct gl_nir_linker_options {
|
||||
|
||||
void gl_nir_opts(nir_shader *nir);
|
||||
|
||||
void gl_nir_link_opts(nir_shader *producer, nir_shader *consumer);
|
||||
|
||||
bool gl_nir_link_spirv(const struct gl_constants *consts,
|
||||
struct gl_shader_program *prog,
|
||||
const struct gl_nir_linker_options *options);
|
||||
|
Reference in New Issue
Block a user