i965: Warning fixes from the i965-streaming merge.
authorEric Anholt <eric@anholt.net>
Fri, 11 Jun 2010 07:53:05 +0000 (00:53 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 11 Jun 2010 19:09:26 +0000 (12:09 -0700)
src/mesa/drivers/dri/i965/brw_curbe.c
src/mesa/drivers/dri/i965/brw_wm_surface_state.c

index e6d9ac8ebbc6875401b8a64a28852931c985aedd..6c0b79f7241c36121ad3932def084ef3d6b9bff4 100644 (file)
@@ -182,8 +182,6 @@ static void prepare_constant_buffer(struct brw_context *brw)
    GLcontext *ctx = &brw->intel.ctx;
    const struct brw_vertex_program *vp =
       brw_vertex_program_const(brw->vertex_program);
-   const struct brw_fragment_program *fp =
-      brw_fragment_program_const(brw->fragment_program);
    const GLuint sz = brw->curbe.total_size;
    const GLuint bufsz = sz * 16 * sizeof(GLfloat);
    GLfloat *buf;
index 05aa9233dcc22b2f5803c88fb1ef83eb045fe37c..25b7e46dfc9d79c119fa6123f21383bb04b114ba 100644 (file)
@@ -338,15 +338,6 @@ const struct brw_tracked_state brw_wm_constants = {
    .prepare = prepare_wm_constants,
 };
 
-/**
- * Update the surface state for a WM constant buffer.
- * The constant buffer will be (re)allocated here if needed.
- */
-static void
-prepare_wm_constant_surface(GLcontext *ctx)
-{
-}
-
 /**
  * Updates surface / buffer for fragment shader constant buffer, if
  * one is required.