summaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl/ir.h
diff options
context:
space:
mode:
authorRob Clark <robclark@freedesktop.org>2016-01-29 11:18:11 -0500
committerRob Clark <robclark@freedesktop.org>2016-05-11 12:20:12 -0400
commit0e5a369879e33085fbbd2dfce4e77799c4c95d30 (patch)
tree091bdb6e0a3a80e204b6fdf2937e0ef64f934f76 /src/compiler/glsl/ir.h
parentdfbabc6bad775e1575ff4a97a3c871341cd57f77 (diff)
downloadexternal_mesa3d-0e5a369879e33085fbbd2dfce4e77799c4c95d30.zip
external_mesa3d-0e5a369879e33085fbbd2dfce4e77799c4c95d30.tar.gz
external_mesa3d-0e5a369879e33085fbbd2dfce4e77799c4c95d30.tar.bz2
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>
Diffstat (limited to 'src/compiler/glsl/ir.h')
-rw-r--r--src/compiler/glsl/ir.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/compiler/glsl/ir.h b/src/compiler/glsl/ir.h
index 0c319ea..6e0dc0b 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