radv/winsys: report the real family name instead of OVERRIDDEN

When RADV_FORCE_FAMILY is used, this helps pre-compiling shaders to
make sure cache entries will match real hardware.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13812>
This commit is contained in:
Samuel Pitoiset 2021-11-16 08:57:44 +01:00 committed by Marge Bot
parent cfc5c2abfd
commit d36119716d
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ radv_null_winsys_query_info(struct radeon_winsys *rws, struct radeon_info *info)
if (!strcmp(family, ac_get_family_name(i))) {
/* Override family and chip_class. */
info->family = i;
info->name = "OVERRIDDEN";
info->name = family;
if (i >= CHIP_SIENNA_CICHLID)
info->chip_class = GFX10_3;