Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion src/asahi/compiler/agx_compile.c
Original file line number Diff line number Diff line change
Expand Up @@ -14442,7 +14442,13 @@ agx_compile_function_nir_attempt(nir_shader *nir, nir_function_impl *impl,

if (likely(!(agx_compiler_debug & AGX_DBG_NOSCHED))) {
AGX_PASS(ctx, agx_pressure_schedule);
AGX_PASS(ctx, agx_ilp_schedule);
/* AGX2 runs the ILP schedule on compute shaders only. On G13 and G14
* its fragment sample batching breaks the gpubench-gl render.postfx
* bloom output, so AGX2 graphics shaders keep the pressure order.
*/
if (agx_isa_is_agx3(ctx->key->dev.encoding) ||
mesa_shader_stage_is_compute(ctx->stage))
AGX_PASS(ctx, agx_ilp_schedule);
}

AGX_PASS(ctx, agx3_order_fragment_device_loads);
Expand Down