From d22bc4ba528b6e0e3f9ba08cfd0cc0ce980d1e58 Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Fri, 13 Oct 2017 00:31:27 -0700 Subject: i965: Delete dead brw_context fields. fast_clear_op is leftover from the meta-fast-clear days. No idea what the other thing was for, but it isn't used now. Reviewed-by: Chris Wilson --- src/mesa/drivers/dri/i965/brw_context.h | 3 --- src/mesa/drivers/dri/i965/genX_state_upload.c | 1 - 2 files changed, 4 deletions(-) (limited to 'src/mesa/drivers') diff --git a/src/mesa/drivers/dri/i965/brw_context.h b/src/mesa/drivers/dri/i965/brw_context.h index 272197f1e2f..72d7b8a62d4 100644 --- a/src/mesa/drivers/dri/i965/brw_context.h +++ b/src/mesa/drivers/dri/i965/brw_context.h @@ -1041,14 +1041,11 @@ struct brw_context struct { struct brw_stage_state base; - GLuint render_surf; - /** * Buffer object used in place of multisampled null render targets on * Gen6. See brw_emit_null_surface_state(). */ struct brw_bo *multisampled_null_render_target_bo; - uint32_t fast_clear_op; float offset_clamp; } wm; diff --git a/src/mesa/drivers/dri/i965/genX_state_upload.c b/src/mesa/drivers/dri/i965/genX_state_upload.c index 2327a1bed19..8c9117558eb 100644 --- a/src/mesa/drivers/dri/i965/genX_state_upload.c +++ b/src/mesa/drivers/dri/i965/genX_state_upload.c @@ -3876,7 +3876,6 @@ genX(upload_ps)(struct brw_context *brw) else ps.PositionXYOffsetSelect = POSOFFSET_NONE; - ps.RenderTargetFastClearEnable = brw->wm.fast_clear_op; ps._8PixelDispatchEnable = prog_data->dispatch_8; ps._16PixelDispatchEnable = prog_data->dispatch_16; ps.DispatchGRFStartRegisterForConstantSetupData0 = -- cgit v1.2.3