summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2017-10-13 00:31:27 -0700
committerKenneth Graunke <[email protected]>2017-10-13 11:16:41 -0700
commitd22bc4ba528b6e0e3f9ba08cfd0cc0ce980d1e58 (patch)
treefa9e07fcf13ca04a324f94e68531497de775f629 /src/mesa
parent9b753e8ca35cf8fa19a9520c3670b6bc736cc84b (diff)
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 <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/dri/i965/brw_context.h3
-rw-r--r--src/mesa/drivers/dri/i965/genX_state_upload.c1
2 files changed, 0 insertions, 4 deletions
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 =