summaryrefslogtreecommitdiff
path: root/src/intel/vulkan/genX_blorp_exec.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/intel/vulkan/genX_blorp_exec.c')
-rw-r--r--src/intel/vulkan/genX_blorp_exec.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/intel/vulkan/genX_blorp_exec.c b/src/intel/vulkan/genX_blorp_exec.c
index c573e890946..2e918e217cb 100644
--- a/src/intel/vulkan/genX_blorp_exec.c
+++ b/src/intel/vulkan/genX_blorp_exec.c
@@ -244,7 +244,10 @@ genX(blorp_exec)(struct blorp_batch *batch,
genX(cmd_buffer_apply_pipe_flushes)(cmd_buffer);
- genX(flush_pipeline_select_3d)(cmd_buffer);
+ if (params->compute_program)
+ genX(flush_pipeline_select_gpgpu)(cmd_buffer);
+ else
+ genX(flush_pipeline_select_3d)(cmd_buffer);
genX(cmd_buffer_emit_gen7_depth_flush)(cmd_buffer);