diff options
author | Eric Anholt <[email protected]> | 2011-10-22 09:40:38 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2011-10-29 12:16:09 -0700 |
commit | eaf4d3e6e2493a6e0b20d1205a5fb33ce500c9c2 (patch) | |
tree | a6fe16cfc19b87e88be5238a5bea04bdcd3c411d /src/mesa/drivers/dri/i965/brw_misc_state.c | |
parent | 3d851ae48865ac6a20a615e6e06d913c2265cda5 (diff) |
i965: Remove the validated BO list, now that it's unused.
Reviewed-by: Kenneth Graunke <[email protected]>
Acked-by: Paul Berry <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_misc_state.c')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_misc_state.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_misc_state.c b/src/mesa/drivers/dri/i965/brw_misc_state.c index 2e6780be772..fb1d3e11162 100644 --- a/src/mesa/drivers/dri/i965/brw_misc_state.c +++ b/src/mesa/drivers/dri/i965/brw_misc_state.c @@ -196,22 +196,6 @@ const struct brw_tracked_state brw_psp_urb_cbs = { .emit = upload_psp_urb_cbs, }; -static void prepare_depthbuffer(struct brw_context *brw) -{ - struct intel_context *intel = &brw->intel; - struct gl_context *ctx = &intel->ctx; - struct gl_framebuffer *fb = ctx->DrawBuffer; - struct intel_renderbuffer *drb = intel_get_renderbuffer(fb, BUFFER_DEPTH); - struct intel_renderbuffer *srb = intel_get_renderbuffer(fb, BUFFER_STENCIL); - - if (drb) - brw_add_validated_bo(brw, drb->region->bo); - if (drb && drb->hiz_region) - brw_add_validated_bo(brw, drb->hiz_region->bo); - if (srb) - brw_add_validated_bo(brw, srb->region->bo); -} - static void emit_depthbuffer(struct brw_context *brw) { struct intel_context *intel = &brw->intel; @@ -436,7 +420,6 @@ const struct brw_tracked_state brw_depthbuffer = { .brw = BRW_NEW_BATCH, .cache = 0, }, - .prepare = prepare_depthbuffer, .emit = emit_depthbuffer, }; |