aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/mesa/program/sampler.h
diff options
context:
space:
mode:
Diffstat (limited to 'mesalib/src/mesa/program/sampler.h')
-rw-r--r--mesalib/src/mesa/program/sampler.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/mesalib/src/mesa/program/sampler.h b/mesalib/src/mesa/program/sampler.h
index 22467e990..8b7c3b63e 100644
--- a/mesalib/src/mesa/program/sampler.h
+++ b/mesalib/src/mesa/program/sampler.h
@@ -27,3 +27,6 @@ int
_mesa_get_sampler_uniform_value(class ir_dereference *sampler,
struct gl_shader_program *shader_program,
const struct gl_program *prog);
+
+class ir_rvalue *
+_mesa_get_sampler_array_nonconst_index(class ir_dereference *sampler);