i965/blorp: Prepare to switch from compute pipeline
authorTopi Pohjolainen <topi.pohjolainen@intel.com>
Fri, 15 Apr 2016 07:43:05 +0000 (10:43 +0300)
committerTopi Pohjolainen <topi.pohjolainen@intel.com>
Thu, 21 Apr 2016 07:20:03 +0000 (10:20 +0300)
Signed-off-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_blorp.cpp

index 618949c72a89e229fd8c465d60c4a831fb3983de..5f0083c102903b90b84abf144b2a2be60e30901f 100644 (file)
@@ -227,6 +227,8 @@ brw_blorp_exec(struct brw_context *brw, const brw_blorp_params *params)
     */
    brw_emit_mi_flush(brw);
 
+   brw_select_pipeline(brw, BRW_RENDER_PIPELINE);
+
 retry:
    intel_batchbuffer_require_space(brw, estimated_max_batch_usage, RENDER_RING);
    intel_batchbuffer_save_state(brw);