mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 19:58:09 +02:00
anv/blorp: Select pipeline based on BLORP_BATCH_USE_COMPUTE
Reworks: * Let blorp_clear handle DEBUG_BLOCS * Old subject was: "Use compute blorp for vkCmdFillBuffer with INTEL_DEBUG=blocs" * Old subject was: "anv/blorp: Support params.cs_prog_data being set" Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11564>
This commit is contained in:
parent
7599533658
commit
15a6018d06
1 changed files with 4 additions and 1 deletions
|
|
@ -303,7 +303,10 @@ genX(blorp_exec)(struct blorp_batch *batch,
|
|||
|
||||
genX(cmd_buffer_apply_pipe_flushes)(cmd_buffer);
|
||||
|
||||
genX(flush_pipeline_select_3d)(cmd_buffer);
|
||||
if (batch->flags & BLORP_BATCH_USE_COMPUTE)
|
||||
genX(flush_pipeline_select_gpgpu)(cmd_buffer);
|
||||
else
|
||||
genX(flush_pipeline_select_3d)(cmd_buffer);
|
||||
|
||||
genX(cmd_buffer_emit_gfx7_depth_flush)(cmd_buffer);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue