aco: Initialize vcmpx field in get_cmp_info.
authorTimur Kristóf <timur.kristof@gmail.com>
Sat, 6 May 2023 16:00:00 +0000 (18:00 +0200)
committerMarge Bot <emma+marge@anholt.net>
Wed, 10 May 2023 12:41:25 +0000 (12:41 +0000)
Fixes: 578d0a19341a5df2be555e19396a20c81d79c7a9
Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Georg Lehmann <dadschoorse@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22885>

src/amd/compiler/aco_ir.cpp

index 6c9e64f..1543657 100644 (file)
@@ -782,6 +782,7 @@ get_cmp_info(aco_opcode op, CmpInfo* info)
    info->swapped = aco_opcode::num_opcodes;
    info->inverse = aco_opcode::num_opcodes;
    info->f32 = aco_opcode::num_opcodes;
+   info->vcmpx = aco_opcode::num_opcodes;
    switch (op) {
       // clang-format off
 #define CMP2(ord, unord, ord_swap, unord_swap, sz)                                                 \