From: Kenneth Graunke Date: Fri, 13 Oct 2017 07:31:27 +0000 (-0700) Subject: i965: Delete dead brw_context fields. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d22bc4ba528b6e0e3f9ba08cfd0cc0ce980d1e58;p=mesa.git 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 --- 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 =