mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 19:40:10 +01:00
aco/gfx12: increase maximum smem offset
fossil-db (gfx1201): Totals from 55 (0.07% of 79377) affected shaders: Instrs: 3203775 -> 3200809 (-0.09%) CodeSize: 16817140 -> 16813440 (-0.02%); split: -0.04%, +0.02% Latency: 17838315 -> 17829658 (-0.05%) InvThroughput: 3352905 -> 3351689 (-0.04%) SClause: 57377 -> 57273 (-0.18%) Copies: 231006 -> 230941 (-0.03%) SALU: 436900 -> 435234 (-0.38%) Signed-off-by: Rhys Perry <pendingchaos02@gmail.com> Reviewed-by: Georg Lehmann <dadschoorse@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34730>
This commit is contained in:
parent
c26851b80b
commit
02d193f058
1 changed files with 3 additions and 1 deletions
|
|
@ -180,7 +180,9 @@ init_program(Program* program, Stage stage, const struct aco_shader_info* info,
|
|||
program->dev.scratch_global_offset_max = 4095;
|
||||
}
|
||||
|
||||
if (program->gfx_level >= GFX8)
|
||||
if (program->gfx_level >= GFX12)
|
||||
program->dev.smem_offset_max = 0x7fffff;
|
||||
else if (program->gfx_level >= GFX8)
|
||||
program->dev.smem_offset_max = 0xfffff;
|
||||
else if (program->gfx_level >= GFX7)
|
||||
program->dev.smem_offset_max = 0xffffffff;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue