glsl: export accessor for builtin-uniform descriptors
authorRob Clark <robclark@freedesktop.org>
Fri, 29 Jan 2016 16:18:11 +0000 (11:18 -0500)
committerRob Clark <robclark@freedesktop.org>
Wed, 11 May 2016 16:20:12 +0000 (12:20 -0400)
commit0e5a369879e33085fbbd2dfce4e77799c4c95d30
tree091bdb6e0a3a80e204b6fdf2937e0ef64f934f76
parentdfbabc6bad775e1575ff4a97a3c871341cd57f77
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>
src/compiler/glsl/builtin_variables.cpp
src/compiler/glsl/ir.h