History log of /external/mesa3d/src/glsl/builtin_variables.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
1256a5dcc86014d48bdc6fd10ea5a2fa11241667 24-Mar-2012 Dave Airlie <airlied@redhat.com> glsl: add support for ARB_blend_func_extended (v3)

This adds index support to the GLSL compiler.

I'm not 100% sure of my approach here, esp without how output ordering
happens wrt location, index pairs, in the "mark" function.

Since current hw doesn't ever have a location > 0 with an index > 0,
we don't have to work out if the output ordering the hw requires is
location, index, location, index or location, location, index, index.
But we have no hw to know, so punt on it for now.

v2: index requires layout - catch and error
setup explicit index properly.

v3: drop idx_offset stuff, assume index follow location

Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/glsl/builtin_variables.cpp
177ccd246f8c2a411b9f97c45c9d7a4f6c9e7721 09-Mar-2012 Eric Anholt <eric@anholt.net> glsl: Update builtin variables for GLSL 1.40.

Mostly this is a matter of removing variables that have been moved to
the compatibility profile. There's one addition: gl_InstanceID is
present in the core now.

This fixes the new piglit tests for GLSL 1.40 builtin variables.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/glsl/builtin_variables.cpp
c5ff9a8b9e3cafb3764e620add2900656c59606b 08-Mar-2012 Eric Anholt <eric@anholt.net> glsl: Hook up the current GLSL 1.30 types and builtins for 1.40.

This gets a basic #version 140 shader compiling.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/glsl/builtin_variables.cpp
1e6a2c10590bc6b4112ec2e54e1de7d8f9fd349d 29-Feb-2012 Ian Romanick <ian.d.romanick@intel.com> glsl: Make gl_InstanceID available with GL_ARB_draw_instanced extension

Originally ARB_draw_instanced only specified that ARB decorated name.
Since no vendor actually implemented that behavior and some apps use
the undecorated name, the extension now specifies that both names are
available.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Marek Olšák <maraeo@gmail.com>
/external/mesa3d/src/glsl/builtin_variables.cpp
919c53e87a1f6f5322bc1f1486bb3e6b954b00d5 08-Nov-2011 Eric Anholt <eric@anholt.net> mesa: Make gl_VertexID be a system value like gl_InstanceID.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/glsl/builtin_variables.cpp
44fc3c6c1c1072ee4ba2ad3b68ccb81086d71156 08-Nov-2011 Eric Anholt <eric@anholt.net> glsl: Move builtin_variables.h into .cpp.

This used to be script-generated, but now it's just a bunch of static
variables in a .h file for no good reason.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/glsl/builtin_variables.cpp
ab5c2622b6484df19db7e729f0e434a24dce2d10 08-Nov-2011 Eric Anholt <eric@anholt.net> glsl: Move ir_variable.cpp to builtin_variables.cpp.

It's only about builtins, not variables in general.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/glsl/builtin_variables.cpp