mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-02 07:20:16 +01:00
aco: fix max_workgroup_count[0]
This is necessary for radeonsi. fossil-db (navi21): Totals from 292 (0.37% of 79395) affected shaders: Instrs: 305965 -> 306182 (+0.07%); split: -0.00%, +0.07% CodeSize: 1624816 -> 1627212 (+0.15%); split: -0.00%, +0.15% Latency: 5244652 -> 5243587 (-0.02%); split: -0.07%, +0.05% InvThroughput: 1221089 -> 1225285 (+0.34%); split: -0.04%, +0.38% Copies: 22712 -> 22702 (-0.04%) PreSGPRs: 10713 -> 10712 (-0.01%) PreVGPRs: 10918 -> 10920 (+0.02%) VALU: 178613 -> 178836 (+0.12%) SALU: 43490 -> 43493 (+0.01%); split: -0.02%, +0.03% Signed-off-by: Rhys Perry <pendingchaos02@gmail.com> Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32577>
This commit is contained in:
parent
e0b5179869
commit
87f2f77960
1 changed files with 1 additions and 1 deletions
|
|
@ -357,7 +357,7 @@ init_context(isel_context* ctx, nir_shader* shader)
|
|||
ctx->ub_config.min_subgroup_size = ctx->program->wave_size;
|
||||
ctx->ub_config.max_subgroup_size = ctx->program->wave_size;
|
||||
ctx->ub_config.max_workgroup_invocations = 2048;
|
||||
ctx->ub_config.max_workgroup_count[0] = 65535;
|
||||
ctx->ub_config.max_workgroup_count[0] = 4294967295;
|
||||
ctx->ub_config.max_workgroup_count[1] = 65535;
|
||||
ctx->ub_config.max_workgroup_count[2] = 65535;
|
||||
ctx->ub_config.max_workgroup_size[0] = 2048;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue