From: Marek Olšák Date: Wed, 4 May 2022 00:32:27 +0000 (-0400) Subject: ac: don't align VGPRs to 8 or 16 for gfx11 X-Git-Tag: upstream/22.3.5~9325 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=931098d44db22c197344631d8fb40b13fa3b5b79;p=platform%2Fupstream%2Fmesa.git ac: don't align VGPRs to 8 or 16 for gfx11 Acked-by: Pierre-Eric Pelloux-Prayer Part-of: --- diff --git a/src/amd/common/ac_binary.c b/src/amd/common/ac_binary.c index b5b941a..e07bd55 100644 --- a/src/amd/common/ac_binary.c +++ b/src/amd/common/ac_binary.c @@ -124,7 +124,7 @@ void ac_parse_shader_binary_config(const char *data, size_t nbytes, unsigned wav * * For shader-db stats, set num_vgprs that the hw actually uses. */ - if (info->chip_class >= GFX10_3) { + if (info->chip_class == GFX10_3) { conf->num_vgprs = align(conf->num_vgprs, wave_size == 32 ? 16 : 8); }