summaryrefslogtreecommitdiff
path: root/src/intel/vulkan/genX_blorp_exec.c
diff options
context:
space:
mode:
authorJordan Justen <jordan.l.justen@intel.com>2019-01-03 02:00:23 -0800
committerJordan Justen <jordan.l.justen@intel.com>2019-01-04 11:38:36 -0800
commitc74499b63679917ada54dc9028be4c2f54b652aa (patch)
tree513dbb03bb8c2b4c36873908b2165cdfa70ca792 /src/intel/vulkan/genX_blorp_exec.c
parentb9af49abbed7e8850bc11e1f8f2c54109d75e23f (diff)
anv/blorp: Support params.compute_program being setcs-blorp
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
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);