Module: Mesa Branch: main Commit: 0cb1b12ec074a369e25790e1aea42af488bbd82d URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0cb1b12ec074a369e25790e1aea42af488bbd82d
Author: Samuel Pitoiset <[email protected]> Date: Thu May 5 15:31:52 2022 +0200 aco: recognize GFX11 in few places Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Rhys Perry <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16369> --- src/amd/compiler/aco_print_asm.cpp | 2 +- src/amd/compiler/tests/helpers.cpp | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/amd/compiler/aco_print_asm.cpp b/src/amd/compiler/aco_print_asm.cpp index 7c2141ce828..8cbd77cd7ac 100644 --- a/src/amd/compiler/aco_print_asm.cpp +++ b/src/amd/compiler/aco_print_asm.cpp @@ -147,7 +147,7 @@ to_clrx_device_name(chip_class cc, radeon_family family) default: return nullptr; } case GFX10_3: - return nullptr; + case GFX11: return nullptr; default: unreachable("Invalid chip class!"); return nullptr; } } diff --git a/src/amd/compiler/tests/helpers.cpp b/src/amd/compiler/tests/helpers.cpp index 567ee934659..c0b08fb5579 100644 --- a/src/amd/compiler/tests/helpers.cpp +++ b/src/amd/compiler/tests/helpers.cpp @@ -372,6 +372,9 @@ VkDevice get_vk_device(enum chip_class chip_class) case GFX10_3: family = CHIP_SIENNA_CICHLID; break; + case GFX11: + family = CHIP_GFX1100; + break; default: family = CHIP_UNKNOWN; break;
