summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/programopt.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-09-28 15:26:12 -0600
committerBrian Paul <[email protected]>2009-09-29 10:38:02 -0600
commitc7aee65bb96df3f8e8421b5125dca84c028e9073 (patch)
tree184164f37a1ed629157cef22717e2345728ed229 /src/mesa/shader/programopt.h
parentbaddcbc5225e12052b3bc8c07a8b65243d76574d (diff)
mesa: added _mesa_nop_vertex/fragment_program()
For debug/test purposes.
Diffstat (limited to 'src/mesa/shader/programopt.h')
-rw-r--r--src/mesa/shader/programopt.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mesa/shader/programopt.h b/src/mesa/shader/programopt.h
index 96acaf9566c..21fac07849a 100644
--- a/src/mesa/shader/programopt.h
+++ b/src/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 */