summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/arbprogparse.c
diff options
context:
space:
mode:
authorLuca Barbieri <[email protected]>2010-01-20 22:38:39 -0800
committerBrian Paul <[email protected]>2010-01-21 09:41:28 -0700
commite59353f592ef587d34279f0735f06053e289a7b4 (patch)
treea7c79166431453e19a7dee0bb17c5e19d2a4146b /src/mesa/shader/arbprogparse.c
parent1ca22855119508457b2cbd9a0a3b840e47a61eff (diff)
mesa: support for GL_ARB_fragment_coord_conventions
Signed-off-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/shader/arbprogparse.c')
-rw-r--r--src/mesa/shader/arbprogparse.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/shader/arbprogparse.c b/src/mesa/shader/arbprogparse.c
index a09be71020e..3e22a8a3057 100644
--- a/src/mesa/shader/arbprogparse.c
+++ b/src/mesa/shader/arbprogparse.c
@@ -123,6 +123,8 @@ _mesa_parse_arb_fragment_program(GLcontext* ctx, GLenum target,
case OPTION_FOG_LINEAR: program->FogOption = GL_LINEAR; break;
default: program->FogOption = GL_NONE; break;
}
+ program->OriginUpperLeft = state.option.OriginUpperLeft;
+ program->PixelCenterInteger = state.option.PixelCenterInteger;
program->UsesKill = state.fragment.UsesKill;