From c74499b63679917ada54dc9028be4c2f54b652aa Mon Sep 17 00:00:00 2001 From: Jordan Justen Date: Thu, 3 Jan 2019 02:00:23 -0800 Subject: anv/blorp: Support params.compute_program being set Signed-off-by: Jordan Justen --- src/intel/vulkan/genX_blorp_exec.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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); -- cgit v1.2.3