[Mesa-dev] [PATCH 22/32] i965/blorp/gen8: Move viewport setup to after wm state
Jason Ekstrand
jason at jlekstrand.net
Thu Aug 11 21:15:19 UTC 2016
This matches gen6 and gen7.
---
src/mesa/drivers/dri/i965/gen8_blorp.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/mesa/drivers/dri/i965/gen8_blorp.c b/src/mesa/drivers/dri/i965/gen8_blorp.c
index 5085923..2e90438 100644
--- a/src/mesa/drivers/dri/i965/gen8_blorp.c
+++ b/src/mesa/drivers/dri/i965/gen8_blorp.c
@@ -509,7 +509,6 @@ gen8_blorp_exec(struct brw_context *brw, const struct brw_blorp_params *params)
brw_upload_state_base_address(brw);
- gen7_blorp_emit_cc_viewport(brw);
gen7_l3_state.emit(brw);
gen7_blorp_emit_urb_config(brw, params);
@@ -564,6 +563,8 @@ gen8_blorp_exec(struct brw_context *brw, const struct brw_blorp_params *params)
gen8_blorp_emit_wm_state(brw);
+ gen7_blorp_emit_cc_viewport(brw);
+
gen8_blorp_emit_depth_disable(brw);
gen7_blorp_emit_clear_params(brw, params);
gen6_blorp_emit_drawing_rectangle(brw, params);
--
2.5.0.400.gff86faf
More information about the mesa-dev
mailing list