Running main() from ../../SOURCE/master/src/gtest/src/gtest_main.cc Note: Google Test filter = nir_opt_algebraic_pattern_test.b2i16_vec2_uge_uge [==========] Running 1 test from 1 test suite. [----------] Global test environment set-up. [----------] 1 test from nir_opt_algebraic_pattern_test [ RUN ] nir_opt_algebraic_pattern_test.b2i16_vec2_uge_uge ../../SOURCE/master/src/compiler/nir/tests/nir_algebraic_pattern_test.cpp:581: Failure Expected equality of these values: result Which is: UNSUPPORTED expected_result Which is: PASS Shader from the failed test: shader: MESA_SHADER_COMPUTE name: ('b2i16', ('vec2', ('uge', 'a@16', '#b(is_not_zero)'), ('uge', 'c@16', '#d(is_not_zero)'))) -> ('umin', 1, ('usub_sat', ('vec2', 'a', 'c'), ('iadd', ('vec2', 'b', 'd'), -1))) workgroup_size: 1, 1, 1 max_subgroup_size: 128 min_subgroup_size: 1 decl_function main () (entrypoint) impl main { block b0: // preds: 16 %0 = load_const (0xffff = -1 = 65535) // 0xd0d0 = -38.500000 16 %1 = load_const (0xffff = -1 = 65535) // 0xd0d0 = -38.500000 1 %2 = uge %0 (0xffff), %1 (0xffff) // 0xd0 16 %3 = load_const (0xffff = -1 = 65535) // 0xd0d0 = -38.500000 16 %4 = load_const (0xffff = -1 = 65535) // 0xd0d0 = -38.500000 1 %5 = uge %3 (0xffff), %4 (0xffff) // 0xd0 1x2 %6 = vec2 %2, %5 // (0xd0, 0xd0) 16x2 %7 = b2i16 %6 // (0xd0d0, 0xd0d0) = (-38.500000, -38.500000) 16 %8 = load_const (0x0001) // 0xd0d0 = -38.500000 16x2 %9 = vec2 %0 (0xffff), %3 (0xffff) // (0xd0d0, 0xd0d0) = (-38.500000, -38.500000) 16x2 %10 = vec2 %1 (0xffff), %4 (0xffff) // (0xd0d0, 0xd0d0) = (-38.500000, -38.500000) 16 %11 = load_const (0xffff = -1 = 65535) // 0xd0d0 = -38.500000 16x2 %12 = iadd %10, %11 (0xffff).xx // (0xd0d0, 0xd0d0) = (-38.500000, -38.500000) 16x2 %13 = usub_sat %9, %12 // (0xd0d0, 0xd0d0) = (-38.500000, -38.500000) 16x2 %14 = umin %8 (0x1).xx, %13 // (0xd0d0, 0xd0d0) = (-38.500000, -38.500000) @unit_test_assert_eq (%7, %14) // succs: b1 block b1: } [ FAILED ] nir_opt_algebraic_pattern_test.b2i16_vec2_uge_uge (0 ms) [----------] 1 test from nir_opt_algebraic_pattern_test (0 ms total) [----------] Global test environment tear-down [==========] 1 test from 1 test suite ran. (0 ms total) [ PASSED ] 0 tests. [ FAILED ] 1 test, listed below: [ FAILED ] nir_opt_algebraic_pattern_test.b2i16_vec2_uge_uge 1 FAILED TEST