mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 21:50:12 +01:00
radv: make RADV_FORCE_FAMILY case-insensitive
So I don't have to update my scripts each time I switch between
before/after cfc5c2abfd.
Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13926>
This commit is contained in:
parent
694731ac13
commit
f67b09e37c
1 changed files with 3 additions and 2 deletions
|
|
@ -26,6 +26,7 @@
|
|||
*/
|
||||
#include "radv_null_winsys_public.h"
|
||||
|
||||
#include "util/u_string.h"
|
||||
#include "radv_null_bo.h"
|
||||
#include "radv_null_cs.h"
|
||||
|
||||
|
|
@ -78,10 +79,10 @@ radv_null_winsys_query_info(struct radeon_winsys *rws, struct radeon_info *info)
|
|||
info->family = CHIP_UNKNOWN;
|
||||
|
||||
for (i = CHIP_TAHITI; i < CHIP_LAST; i++) {
|
||||
if (!strcmp(family, ac_get_family_name(i))) {
|
||||
if (!strcasecmp(family, ac_get_family_name(i))) {
|
||||
/* Override family and chip_class. */
|
||||
info->family = i;
|
||||
info->name = family;
|
||||
info->name = ac_get_family_name(i);
|
||||
|
||||
if (i >= CHIP_SIENNA_CICHLID)
|
||||
info->chip_class = GFX10_3;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue