i965: Delete dead brw_context fields.
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 13 Oct 2017 07:31:27 +0000 (00:31 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Fri, 13 Oct 2017 18:16:41 +0000 (11:16 -0700)
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 <chris@chris-wilson.co.uk>
src/mesa/drivers/dri/i965/brw_context.h
src/mesa/drivers/dri/i965/genX_state_upload.c

index 272197f1e2fadfd5167d08fcf59132911294bda5..72d7b8a62d4520d77de6f4d2f985305213dc8078 100644 (file)
@@ -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;
index 2327a1bed199b066de63326bf149e51f1d602b57..8c9117558eb097dd3b38018c9a73d69c5e6181d9 100644 (file)
@@ -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 =