iris_batch_maybe_flush(batch, 1500);
// XXX: actually do brw_cache_flush_for_*
+ // XXX: CS stall is really expensive
iris_emit_pipe_control_flush(batch,
PIPE_CONTROL_DEPTH_CACHE_FLUSH |
PIPE_CONTROL_RENDER_TARGET_FLUSH |
iris_binder_reserve_3d(batch, ice->shaders.prog);
ice->vtbl.upload_render_state(ice, batch, info);
+ // XXX: ice->state.dirty = 0ull;
+
// XXX: don't flush always
- iris_batch_flush(batch);
+ //iris_batch_flush(batch);
}
old_prog_datas[i] = get_vue_prog_data(ice, i);
}
+ // XXX: dirty bits...
iris_update_compiled_vs(ice);
iris_update_compiled_tcs(ice);
iris_update_compiled_tes(ice);