glsl: Add texelFetch(*samplerBuffer) entrypoints to GLSL 1.40.
authorEric Anholt <eric@anholt.net>
Mon, 26 Mar 2012 21:04:48 +0000 (14:04 -0700)
committerEric Anholt <eric@anholt.net>
Mon, 9 Apr 2012 21:34:27 +0000 (14:34 -0700)
commitbb430ced7fb2aa26007637a0907d886716e8ddd6
tree4d0e1754c561d52f1f038d815c8bb6848c4dc359
parent659855252107debc47dbac8ec7985e1024d7ab5c
glsl: Add texelFetch(*samplerBuffer) entrypoints to GLSL 1.40.

Fix texelFetch(sampler2DRect) and textureSize(samplerBuffer)
generation to not reference a LOD at the same time because it's easier
than not fixing it.

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