summaryrefslogtreecommitdiff
path: root/mesa/shader
diff options
context:
space:
mode:
authorLuc Verhaegen <libv@skynet.be>2010-03-13 04:52:25 +0100
committerLuc Verhaegen <libv@skynet.be>2010-03-13 04:52:25 +0100
commit6c5f2b79233343b5b0a2443a70e0aa13c5cb15ae (patch)
tree43909577a684e6587ff6c4c43263052affcddc84 /mesa/shader
parentde485ad9f1d983e0e9233a8d622cb3532ce9a31e (diff)
DRI SDK headers from mesa 7.7.0.
Diffstat (limited to 'mesa/shader')
-rw-r--r--mesa/shader/prog_instruction.h1
-rw-r--r--mesa/shader/programopt.h7
2 files changed, 7 insertions, 1 deletions
diff --git a/mesa/shader/prog_instruction.h b/mesa/shader/prog_instruction.h
index 39a221e..1c687bc 100644
--- a/mesa/shader/prog_instruction.h
+++ b/mesa/shader/prog_instruction.h
@@ -121,7 +121,6 @@
/*@{*/
#define SATURATE_OFF 0
#define SATURATE_ZERO_ONE 1
-#define SATURATE_PLUS_MINUS_ONE 2
/*@}*/
diff --git a/mesa/shader/programopt.h b/mesa/shader/programopt.h
index 96acaf9..21fac07 100644
--- a/mesa/shader/programopt.h
+++ b/mesa/shader/programopt.h
@@ -42,4 +42,11 @@ _mesa_count_texture_instructions(struct gl_program *prog);
extern void
_mesa_remove_output_reads(struct gl_program *prog, gl_register_file type);
+extern void
+_mesa_nop_fragment_program(GLcontext *ctx, struct gl_fragment_program *prog);
+
+extern void
+_mesa_nop_vertex_program(GLcontext *ctx, struct gl_vertex_program *prog);
+
+
#endif /* PROGRAMOPT_H */