diff options
author | Eric Anholt <[email protected]> | 2010-08-05 17:00:12 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2010-08-06 00:51:42 -0700 |
commit | c234d0b25f622a7bdd3c40bc72fdbd59d8494c7c (patch) | |
tree | 4fd283b320db75af56053dd5d8bad3894fa7f306 /src/mesa/program/prog_parameter.h | |
parent | 199c441239762eec86b3cb4b558aef486907a8b6 (diff) |
ir_to_mesa: Add support for sampler arrays.
Support for samplers in general is still incomplete -- anything in a
uniform struct will still be broken. But that doesn't appear to be
any different from master.
Fixes:
glsl-fs-uniform-sampler-array.shader_test
Diffstat (limited to 'src/mesa/program/prog_parameter.h')
-rw-r--r-- | src/mesa/program/prog_parameter.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/program/prog_parameter.h b/src/mesa/program/prog_parameter.h index cc3378ae201..1860f312879 100644 --- a/src/mesa/program/prog_parameter.h +++ b/src/mesa/program/prog_parameter.h @@ -142,7 +142,7 @@ _mesa_use_uniform(struct gl_program_parameter_list *paramList, extern GLint _mesa_add_sampler(struct gl_program_parameter_list *paramList, - const char *name, GLenum datatype); + const char *name, GLenum datatype, int array_length); extern GLint _mesa_add_varying(struct gl_program_parameter_list *paramList, |