diff options
author | Rob Clark <[email protected]> | 2016-01-29 11:18:11 -0500 |
---|---|---|
committer | Rob Clark <[email protected]> | 2016-05-11 12:20:12 -0400 |
commit | 0e5a369879e33085fbbd2dfce4e77799c4c95d30 (patch) | |
tree | 091bdb6e0a3a80e204b6fdf2937e0ef64f934f76 /src/compiler/glsl/ir.h | |
parent | dfbabc6bad775e1575ff4a97a3c871341cd57f77 (diff) |
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 <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/compiler/glsl/ir.h')
-rw-r--r-- | src/compiler/glsl/ir.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/compiler/glsl/ir.h b/src/compiler/glsl/ir.h index 0c319ea8f27..6e0dc0b1bcd 100644 --- a/src/compiler/glsl/ir.h +++ b/src/compiler/glsl/ir.h @@ -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 |