diff options
author | Marek Olšák <[email protected]> | 2019-09-12 19:39:02 -0400 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2019-09-18 14:39:06 -0400 |
commit | ca43006fd2e9af1db9fe7e6dc2fc89502df7f596 (patch) | |
tree | 2d5ae2a915b0c81e4f0e9c9b3e48bcea93050c36 /src/gallium/drivers/radeonsi/si_shader.c | |
parent | deab3a23f6c35720248144637058697f46b2fa34 (diff) |
ac: move ac_get_max_wave64_per_simd into radeon_info
Reviewed-by: Timothy Arceri <[email protected]>
Reviewed-by: Samuel Pitoiset <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_shader.c')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_shader.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/si_shader.c b/src/gallium/drivers/radeonsi/si_shader.c index cbe393d03c7..de1ad16a34b 100644 --- a/src/gallium/drivers/radeonsi/si_shader.c +++ b/src/gallium/drivers/radeonsi/si_shader.c @@ -5420,7 +5420,7 @@ static void si_calculate_max_simd_waves(struct si_shader *shader) unsigned lds_per_wave = 0; unsigned max_simd_waves; - max_simd_waves = ac_get_max_wave64_per_simd(sscreen->info.family); + max_simd_waves = sscreen->info.max_wave64_per_simd; /* Compute LDS usage for PS. */ switch (shader->selector->type) { |