OSDN Git Service

glsl: Remove texture built-ins with 'bias' from 1.30 VS profile.
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 26 Oct 2011 20:12:18 +0000 (13:12 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Fri, 11 Nov 2011 06:51:19 +0000 (22:51 -0800)
commit2eb43bbb77f42b461632a622647874c22d7b9a5a
treef52795e60765f759043394be557598fc45a986f5
parent51b1d412ec5d0699d182b895daacb3b78da328ad
glsl: Remove texture built-ins with 'bias' from 1.30 VS profile.

From the GLSL 1.30 spec, section 8.7 "Texture Lookup Functions":
"In all functions below, the bias parameter is optional for fragment
 shaders.  The bias parameter is not accepted in a vertex shader."

This was a cut and paste mistake.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Paul Berry <stereotype441@gmail.com>
src/glsl/builtins/profiles/130.vert