i965: Warning fixes from the i965-streaming merge.

This commit is contained in:
Eric Anholt 2010-06-11 00:53:05 -07:00
parent 53bd9796a1
commit 34c82804ed
2 changed files with 0 additions and 11 deletions

View 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;

View 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.