glsl: export accessor for builtin-uniform descriptors
We'll need this for a nir pass to lower builtin-uniform access. Signed-off-by: Rob Clark <robclark@freedesktop.org> Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
This commit is contained in:
@@ -2626,6 +2626,9 @@ extern void _mesa_print_ir(FILE *f, struct exec_list *instructions,
|
||||
extern void
|
||||
fprint_ir(FILE *f, const void *instruction);
|
||||
|
||||
extern const struct gl_builtin_uniform_desc *
|
||||
_mesa_glsl_get_builtin_uniform_desc(const char *name);
|
||||
|
||||
#ifdef __cplusplus
|
||||
} /* extern "C" */
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user