r600: always export a position from vertex shader
[mesa.git] / src / gallium / include / state_tracker / st_api.h
index 91c5529a1f5ed371c9603b57922858a0358f9943..9f3d2a12cb4f8443cb209f7cd174fff747b7bc53 100644 (file)
@@ -158,6 +158,7 @@ enum st_context_resource_type {
  * Flush flags.
  */
 #define ST_FLUSH_FRONT                    (1 << 0)
+#define ST_FLUSH_END_OF_FRAME             (1 << 1)
 
 /**
  * Value to st_manager->get_param function.
@@ -269,6 +270,8 @@ struct st_context_attribs
    struct st_config_options options;
 };
 
+struct st_context_iface;
+
 /**
  * Represent a windowing system drawable.
  *
@@ -313,7 +316,8 @@ struct st_framebuffer_iface
     *
     * @att is one of the front buffer attachments.
     */
-   boolean (*flush_front)(struct st_framebuffer_iface *stfbi,
+   boolean (*flush_front)(struct st_context_iface *stctx,
+                          struct st_framebuffer_iface *stfbi,
                           enum st_attachment_type statt);
 
    /**