diff options
author | Kenneth Graunke <[email protected]> | 2017-05-10 12:01:41 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2017-05-11 16:53:28 -0700 |
commit | b361af6bbe2a9a55dffd9783317ffd2538886cfd (patch) | |
tree | f422edab32079dd5c9bcd010b1b34fe0d1308e2b /src/mesa/drivers | |
parent | f790d6e0b48ca35291f50aeb7462130723d62870 (diff) |
i965: Drop brw_context::viewport_transform_enable.
This was used by the meta fast clear code. Now that we've switched
back to BLORP, it's always true.
We might want it back when we add a RECTLIST extension to GL, but
that's someday in the future...
Reviewed-by: Kristian H. Kristensen <[email protected]>
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_context.c | 1 | ||||
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_context.h | 1 | ||||
-rw-r--r-- | src/mesa/drivers/dri/i965/genX_state_upload.c | 2 |
3 files changed, 1 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_context.c b/src/mesa/drivers/dri/i965/brw_context.c index 1247d0355f6..5055dd76a84 100644 --- a/src/mesa/drivers/dri/i965/brw_context.c +++ b/src/mesa/drivers/dri/i965/brw_context.c @@ -1126,7 +1126,6 @@ brwCreateContext(gl_api api, brw->prim_restart.in_progress = false; brw->prim_restart.enable_cut_index = false; brw->gs.enabled = false; - brw->sf.viewport_transform_enable = true; brw->clip.viewport_count = 1; brw->predicate.state = BRW_PREDICATE_STATE_RENDER; diff --git a/src/mesa/drivers/dri/i965/brw_context.h b/src/mesa/drivers/dri/i965/brw_context.h index 100bd74f214..1fac63225f8 100644 --- a/src/mesa/drivers/dri/i965/brw_context.h +++ b/src/mesa/drivers/dri/i965/brw_context.h @@ -1061,7 +1061,6 @@ struct brw_context uint32_t prog_offset; uint32_t state_offset; uint32_t vp_offset; - bool viewport_transform_enable; } sf; struct { diff --git a/src/mesa/drivers/dri/i965/genX_state_upload.c b/src/mesa/drivers/dri/i965/genX_state_upload.c index b949d5b448d..bc7f068d5bb 100644 --- a/src/mesa/drivers/dri/i965/genX_state_upload.c +++ b/src/mesa/drivers/dri/i965/genX_state_upload.c @@ -1345,7 +1345,7 @@ genX(upload_sf)(struct brw_context *brw) brw_batch_emit(brw, GENX(3DSTATE_SF), sf) { sf.StatisticsEnable = true; - sf.ViewportTransformEnable = brw->sf.viewport_transform_enable; + sf.ViewportTransformEnable = true; #if GEN_GEN == 7 /* _NEW_BUFFERS */ |