Module: Mesa
Branch: main
Commit: 73e85c669117ffed977979ebdc8696cd46f4897e
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=73e85c669117ffed977979ebdc8696cd46f4897e

Author: Georg Lehmann <[email protected]>
Date:   Tue Oct  3 11:31:14 2023 +0200

aco: assume new generations are unsupported by clrx

clrx hasn't seen any changes since 2021. I guess the only reson to keep it is
GFX6 support.

Reviewed-by: Rhys Perry <[email protected]>
Reviewed-by: Timur Kristóf <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25522>

---

 src/amd/compiler/aco_print_asm.cpp | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/src/amd/compiler/aco_print_asm.cpp 
b/src/amd/compiler/aco_print_asm.cpp
index 226d56785cd..3c6fac96cfc 100644
--- a/src/amd/compiler/aco_print_asm.cpp
+++ b/src/amd/compiler/aco_print_asm.cpp
@@ -148,9 +148,7 @@ to_clrx_device_name(amd_gfx_level gfx_level, radeon_family 
family)
       case CHIP_NAVI12: return "gfx1011";
       default: return nullptr;
       }
-   case GFX10_3:
-   case GFX11: return nullptr;
-   default: unreachable("Invalid chip class!"); return nullptr;
+   default: return nullptr;
    }
 }
 

Reply via email to