Commit 9248ba77 authored by Danylo Piliaiev's avatar Danylo Piliaiev 🇺🇦
Browse files

anv: Emit compute batch when changing from compute to 3d pipeline

Without doing this there is a geometry flickering in games which
use compute shaders - something goes wrong with binding tables
if there is MEDIA_INTERFACE_DESCRIPTOR_LOAD before 3d pipeline.


Signed-off-by: Danylo Piliaiev's avatarDanylo Piliaiev <>
parent 11f219a5
Pipeline #29645 passed with stages
in 13 minutes and 7 seconds
......@@ -3954,6 +3954,13 @@ genX(flush_pipeline_select)(struct anv_cmd_buffer *cmd_buffer,
anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_CC_STATE_POINTERS), t);
if (pipeline != GPGPU) {
struct anv_pipeline *compute_pipeline =
if (compute_pipeline)
anv_batch_emit_batch(&cmd_buffer->batch, &compute_pipeline->batch);
/* From "BXML » GT » MI » vol1a GPU Overview » [Instruction]
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment