OSDN Git Service

st/mesa: add ARB_blend_func_extended support to state tracker.
authorDave Airlie <airlied@redhat.com>
Sat, 24 Mar 2012 13:36:17 +0000 (13:36 +0000)
committerDave Airlie <airlied@redhat.com>
Fri, 13 Apr 2012 16:19:02 +0000 (17:19 +0100)
commita21df965075f6fa1bf27039490ad65b9f78548e6
tree027d63e731f575f24279fcc22c4dddbb1ba97514
parent0d29fb017bce0968240ae875af4b3702c2cd46ef
st/mesa: add ARB_blend_func_extended support to state tracker.

This adds the blend mode mapping, it also uses the var->index in the
glsl to tgsi convertor - this is the other half of my using 4 in the GLSL
compiler.

Signed-off-by: Dave Airlie <airlied@redhat.com>
src/mesa/state_tracker/st_atom_blend.c
src/mesa/state_tracker/st_extensions.c
src/mesa/state_tracker/st_glsl_to_tgsi.cpp