From f2a346eb40e5d2fe80c426e8b90aa8f522a85cbe Mon Sep 17 00:00:00 2001 From: Rhys Perry Date: Fri, 29 Apr 2022 17:21:01 +0100 Subject: [PATCH] aco: don't accept med3 opcodes in get_minmax_info() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit I don't think the presence of med3 here breaks anything, but it shouldn't be here anyway. Signed-off-by: Rhys Perry Reviewed-by: Daniel Schürmann Part-of: --- src/amd/compiler/aco_optimizer.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/amd/compiler/aco_optimizer.cpp b/src/amd/compiler/aco_optimizer.cpp index ef5403d9987..15e3571a1e7 100644 --- a/src/amd/compiler/aco_optimizer.cpp +++ b/src/amd/compiler/aco_optimizer.cpp @@ -2788,7 +2788,6 @@ get_minmax_info(aco_opcode op, aco_opcode* min, aco_opcode* max, aco_opcode* min #define MINMAX(type, gfx9) \ case aco_opcode::v_min_##type: \ case aco_opcode::v_max_##type: \ - case aco_opcode::v_med3_##type: \ *min = aco_opcode::v_min_##type; \ *max = aco_opcode::v_max_##type; \ *med3 = aco_opcode::v_med3_##type; \