gallium: Update calls to the simple shader functions
[mesa.git] / src / mesa / state_tracker / st_context.h
index 2d37086799d8d2f3f4e0987602eda98c77d3e709..f235c194b7470d464c6bb346d7c7a4d7d9b24358 100644 (file)
@@ -147,6 +147,7 @@ struct st_context
       struct st_fragment_program *program;  /**< bitmap tex/kil program */
       GLuint user_prog_sn;  /**< user fragment program serial no. */
       struct st_fragment_program *combined_prog;
+      struct pipe_shader_state vert_shader;
       void *vs;
       float vertices[4][3][4];  /**< vertex pos + color + texcoord */
       struct pipe_buffer *vbuf;
@@ -154,6 +155,8 @@ struct st_context
 
    /** for glClear */
    struct {
+      struct pipe_shader_state vert_shader;
+      struct pipe_shader_state frag_shader;
       void *vs;
       void *fs;
       float vertices[4][2][4];  /**< vertex pos + color */