mesa: Use SATURATE
[mesa.git] / src / mesa / main / state.h
index 5814c659a31e6f2242358a4c35d183baf68fdf77..fd2877814dd3a2c282c7058e749b1289d4a7f318 100644 (file)
@@ -28,6 +28,9 @@
 
 #include "mtypes.h"
 
+extern void
+_mesa_update_allow_draw_out_of_order(struct gl_context *ctx);
+
 extern void
 _mesa_update_state(struct gl_context *ctx);
 
@@ -39,11 +42,22 @@ _mesa_update_state_locked(struct gl_context *ctx);
 
 
 extern void
-_mesa_set_varying_vp_inputs(struct gl_context *ctx, GLbitfield varying_inputs);
+_mesa_set_vp_override(struct gl_context *ctx, GLboolean flag);
 
 
+/**
+ * Update ctx->VertexProgram._VPMode.
+ */
 extern void
-_mesa_set_vp_override(struct gl_context *ctx, GLboolean flag);
+_mesa_update_vertex_processing_mode(struct gl_context *ctx);
+
+
+/**
+ * Set the _DrawVAO and the net enabled arrays.
+ */
+void
+_mesa_set_draw_vao(struct gl_context *ctx, struct gl_vertex_array_object *vao,
+                   GLbitfield filter);
 
 
 static inline bool