mesa/gallium: automatically lower alpha-testing
[mesa.git] / src / mesa / state_tracker / st_context.h
index 1142e0f71bd32d4e882d27b80ca7883be5c7d3ca..99f43828f445b7962498299f549e365bd017ca58 100644 (file)
@@ -147,6 +147,8 @@ struct st_context
    boolean needs_rgb_dst_alpha_override;
    boolean can_bind_const_buffer_as_vertex;
    boolean has_signed_vertex_buffer_offset;
+   boolean lower_flatshade;
+   boolean lower_alpha_test;
 
    /**
     * If a shader can be created when we get its source.
@@ -233,7 +235,7 @@ struct st_context
    struct st_common_program *gp;  /**< Currently bound geometry program */
    struct st_common_program *tcp; /**< Currently bound tess control program */
    struct st_common_program *tep; /**< Currently bound tess eval program */
-   struct st_compute_program *cp;   /**< Currently bound compute program */
+   struct st_common_program *cp;   /**< Currently bound compute program */
 
    struct st_vp_variant *vp_variant;