mesa: add missing size check for assignment optimization
[mesa.git] / src / mesa / shader / programopt.h
index efaf29b9374864b8b2db0549e4a67535876184ec..11572e64f5a26f8889aa063e956d6afe1a96dfac 100644 (file)
@@ -1,8 +1,8 @@
 /*
  * Mesa 3-D graphics library
- * Version:  6.5.2
+ * Version:  6.5.3
  *
- * Copyright (C) 1999-2006  Brian Paul   All Rights Reserved.
+ * Copyright (C) 1999-2007  Brian Paul   All Rights Reserved.
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the "Software"),
@@ -33,5 +33,13 @@ _mesa_insert_mvp_code(GLcontext *ctx, struct gl_vertex_program *vprog);
 extern void
 _mesa_append_fog_code(GLcontext *ctx, struct gl_fragment_program *fprog);
 
+extern void
+_mesa_count_texture_indirections(struct gl_program *prog);
+
+extern void
+_mesa_count_texture_instructions(struct gl_program *prog);
+
+extern void
+_mesa_remove_output_reads(struct gl_program *prog, enum register_file type);
 
 #endif /* PROGRAMOPT_H */