diff options
author | Jason Ekstrand <[email protected]> | 2016-08-09 15:45:04 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2016-08-19 03:11:29 -0700 |
commit | 5e2dd7a381b198b40f695f3ab9f0761787470fa7 (patch) | |
tree | 42b3fe1a0ee0a9c61ff3ff897754944dfb52b3c8 /src/mesa/drivers | |
parent | 802f0f85969ff6b4d9805dae2a4d886570ba585c (diff) |
i965/blorp/gen8: Move viewport setup to after wm state
This matches gen6 and gen7.
Signed-off-by: Jason Ekstrand <[email protected]>
Reviewed-by: Topi Pohjolainen <[email protected]>
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r-- | src/mesa/drivers/dri/i965/gen8_blorp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/gen8_blorp.c b/src/mesa/drivers/dri/i965/gen8_blorp.c index 50859237308..2e90438fb3d 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); |