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:
parent
cfc5c2abfd
commit
d36119716d
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue