diff options
author | Jordan Justen <[email protected]> | 2016-03-10 17:16:58 -0800 |
---|---|---|
committer | Jordan Justen <[email protected]> | 2016-03-12 12:43:46 -0800 |
commit | 1b126305ded36f6b416ada08e29ff84faeafef99 (patch) | |
tree | 8371ec62ffa92660c5429627103931e28bfc0718 /src/intel/vulkan/gen7_cmd_buffer.c | |
parent | 41af9b2e517dd0c17e519490ca915b96f6898390 (diff) |
anv/genX: Add flush_pipeline_select_gpgpu
Signed-off-by: Jordan Justen <[email protected]>
Diffstat (limited to 'src/intel/vulkan/gen7_cmd_buffer.c')
-rw-r--r-- | src/intel/vulkan/gen7_cmd_buffer.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/intel/vulkan/gen7_cmd_buffer.c b/src/intel/vulkan/gen7_cmd_buffer.c index 56f03268133..dbf05d06d0f 100644 --- a/src/intel/vulkan/gen7_cmd_buffer.c +++ b/src/intel/vulkan/gen7_cmd_buffer.c @@ -365,11 +365,7 @@ genX(cmd_buffer_flush_compute_state)(struct anv_cmd_buffer *cmd_buffer) bool needs_slm = cs_prog_data->base.total_shared > 0; genX(cmd_buffer_config_l3)(cmd_buffer, needs_slm); - if (cmd_buffer->state.current_pipeline != GPGPU) { - anv_batch_emit(&cmd_buffer->batch, GENX(PIPELINE_SELECT), - .PipelineSelection = GPGPU); - cmd_buffer->state.current_pipeline = GPGPU; - } + genX(flush_pipeline_select_gpgpu)(cmd_buffer); if (cmd_buffer->state.compute_dirty & ANV_CMD_DIRTY_PIPELINE) anv_batch_emit_batch(&cmd_buffer->batch, &pipeline->batch); |