summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2006-04-06 13:57:40 +0000
committerKeith Whitwell <keith@tungstengraphics.com>2006-04-06 13:57:40 +0000
commit994769a5622a27e39cf9fc7c1db0ab0bd977909e (patch)
treef37a00579f78ecc42cb8f0ccb657e9af3daa9e88
parent2a1702398d75df8cedccdfc0e81c0e417b16c9db (diff)
UsesKill flag
-rw-r--r--src/mesa/shader/arbfragparse.c1
-rw-r--r--src/mesa/shader/arbprogparse.h2
2 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/shader/arbfragparse.c b/src/mesa/shader/arbfragparse.c
index 237c348ba3..9c5edd69e6 100644
--- a/src/mesa/shader/arbfragparse.c
+++ b/src/mesa/shader/arbfragparse.c
@@ -220,6 +220,7 @@ _mesa_parse_arb_fragment_program(GLcontext * ctx, GLenum target,
}
program->Parameters = ap.Parameters;
program->FogOption = ap.FogOption;
+ program->UsesKill = ap.UsesKill;
#if DEBUG_FP
_mesa_debug_fp_inst(ap.Base.NumInstructions, ap.FPInstructions);
diff --git a/src/mesa/shader/arbprogparse.h b/src/mesa/shader/arbprogparse.h
index ececfafa8f..947c22e767 100644
--- a/src/mesa/shader/arbprogparse.h
+++ b/src/mesa/shader/arbprogparse.h
@@ -65,6 +65,8 @@ struct arb_program
GLuint NumAluInstructions;
GLuint NumTexInstructions;
GLuint NumTexIndirections;
+
+ GLboolean UsesKill;
};