glsl: Add textureSize(*samplerBuffer) support.
authorEric Anholt <eric@anholt.net>
Thu, 12 Apr 2012 23:28:37 +0000 (16:28 -0700)
committerEric Anholt <eric@anholt.net>
Mon, 16 Apr 2012 18:28:18 +0000 (11:28 -0700)
commitd91c8edd851839799d8338ecc127ea004d76fcab
tree63a0541eff51fb304fc62676b538de94149ca966
parent9a01e09ee57a875ccff58316c81395c3f1094aa6
glsl: Add textureSize(*samplerBuffer) support.

Fixes the corresponding new tests in piglit.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/glsl/builtins/profiles/140.frag
src/glsl/builtins/profiles/140.vert
src/glsl/builtins/tools/texture_builtins.py