From 74669c0552d7a376a3e8cec71b2393171625ec4e Mon Sep 17 00:00:00 2001 From: Anees Iqbal Date: Tue, 17 Nov 2026 12:28:34 -0800 Subject: [PATCH] Re-bless the golden hash table at 53f4a44df7 The engine inventory, the golden hash table and the air_input printouts gain the rows of the two fixtures that landed since the last bless (vector_word_phases, pad_simd_shape): 6 golden rows, 6 inventory rows, two printouts. Additions only: no existing cell or fingerprint moved. Blessed on the M3 by job m3-max-42118 at 53f4a44df7. --- .../tests/air_input/pad_simd_shape.txt | 98 ++++++ .../tests/air_input/vector_word_phases.txt | 291 ++++++++++++++++++ crates/metal2vulkan/tests/golden_hashes.tsv | 6 + .../public_fixture_expectations_engine.tsv | 6 + 4 files changed, 401 insertions(+) create mode 100644 crates/metal2vulkan/tests/air_input/pad_simd_shape.txt create mode 100644 crates/metal2vulkan/tests/air_input/vector_word_phases.txt diff --git a/crates/metal2vulkan/tests/air_input/pad_simd_shape.txt b/crates/metal2vulkan/tests/air_input/pad_simd_shape.txt new file mode 100644 index 000000000..01de7385c --- /dev/null +++ b/crates/metal2vulkan/tests/air_input/pad_simd_shape.txt @@ -0,0 +1,98 @@ +target triple = "air64_v28-apple-macosx26.0.0" +source_filename = "-" +; datalayout DataLayout { endian: Little, pointers: {0: PointerSpec { size_bits: 64, abi_bits: 64, pref_bits: 64, index_bits: 64 }}, ints: {1: AlignSpec { abi_bits: 8, pref_bits: 8 }, 8: AlignSpec { abi_bits: 8, pref_bits: 8 }, 16: AlignSpec { abi_bits: 16, pref_bits: 16 }, 32: AlignSpec { abi_bits: 32, pref_bits: 32 }, 64: AlignSpec { abi_bits: 64, pref_bits: 64 }}, floats: {16: AlignSpec { abi_bits: 16, pref_bits: 16 }, 32: AlignSpec { abi_bits: 32, pref_bits: 32 }, 64: AlignSpec { abi_bits: 64, pref_bits: 64 }, 128: AlignSpec { abi_bits: 128, pref_bits: 128 }}, vectors: {16: AlignSpec { abi_bits: 16, pref_bits: 16 }, 24: AlignSpec { abi_bits: 32, pref_bits: 32 }, 32: AlignSpec { abi_bits: 32, pref_bits: 32 }, 48: AlignSpec { abi_bits: 64, pref_bits: 64 }, 64: AlignSpec { abi_bits: 64, pref_bits: 64 }, 96: AlignSpec { abi_bits: 128, pref_bits: 128 }, 128: AlignSpec { abi_bits: 128, pref_bits: 128 }, 192: AlignSpec { abi_bits: 256, pref_bits: 256 }, 256: AlignSpec { abi_bits: 256, pref_bits: 256 }, 512: AlignSpec { abi_bits: 512, pref_bits: 512 }, 1024: AlignSpec { abi_bits: 1024, pref_bits: 1024 }}, aggregate: AlignSpec { abi_bits: 0, pref_bits: 64 }, native_ints: [8, 16, 32], stack_align_bits: None, alloca_space: 0, program_space: 0, globals_space: 0, mangling: None, fn_ptr_align: None, non_integral: [] } +%t4 = type void (ptr addrspace(1), i32, i32, i32, i32) +%t5 = type i32 (i32) +%t7 = type [2 x i32] +c4 = %t7 [27, 2] + +define %t4 @f0 "simd_shape" convergent "approx-func-fp-math"="true" "frame-pointer"="all" "min-legal-vector-width"="0" "no-builtins"="" "no-infs-fp-math"="true" "no-nans-fp-math"="true" "no-signed-zeros-fp-math"="true" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "unsafe-fp-math"="true" %a0( Mod nocapture "air-buffer-no-alias"="" ) { +bb0: + %i0 = shl i32 %a1, i32 2 + %i1 = zext %i0 to i64 + %i2 = getelementptr inbounds i32, %a0, %i1 + store %a3, %i2, align 4 + %i4 = getelementptr inbounds i32, %i2, i64 1 + store %a4, %i4, align 4 + %i6 = tail call i32 @f1 [air Group(Group { scope: Simdgroup, op: Sum, ty: Some(NumTy { elem: I32, lanes: 1 }), sign: Some(Unsigned) })](i32 1) convergent + %i7 = getelementptr inbounds i32, %i2, i64 2 + store %i6, %i7, align 4 + %i9 = getelementptr inbounds i32, %i2, i64 3 + store %a2, %i9, align 4 + ret void +} + +declare %t5 @f1 "air.simd_sum.u.i32" convergent +!md0 = !"SDK Version" +!md1 = !"wchar_size" +!md2 = !"frame-pointer" +!md3 = !"air.max_device_buffers" +!md4 = !"air.max_constant_buffers" +!md5 = !"air.max_threadgroup_buffers" +!md6 = !"air.max_textures" +!md7 = !"air.max_read_write_textures" +!md8 = !"air.max_samplers" +!md9 = !"air.buffer" +!md10 = !"air.location_index" +!md11 = !"air.read_write" +!md12 = !"air.address_space" +!md13 = !"air.arg_type_size" +!md14 = !"air.arg_type_align_size" +!md15 = !"air.arg_type_name" +!md16 = !"uint" +!md17 = !"air.arg_name" +!md18 = !"out" +!md19 = !"air.thread_position_in_grid" +!md20 = !"t" +!md21 = !"air.thread_index_in_threadgroup" +!md22 = !"i" +!md23 = !"air.simdgroup_index_in_threadgroup" +!md24 = !"sg" +!md25 = !"air.thread_index_in_simdgroup" +!md26 = !"lane" +!md27 = !"air.compile.denorms_disable" +!md28 = !"air.compile.fast_math_enable" +!md29 = !"air.compile.framebuffer_fetch_enable" +!md30 = !"Apple metal version 32023.922 (metalfe-32023.922.4)" +!md31 = !"Metal" +!md32 = i32 2 +!md33 = %t7 c4 +!md34 = i32 1 +!md35 = i32 4 +!md36 = i32 7 +!md37 = i32 31 +!md38 = i32 128 +!md39 = i32 8 +!md40 = i32 16 +!md41 = ptr addrspace(0) @f0 +!md42 = i32 0 +!md43 = i32 3 +!md44 = !{!md32, !md0, !md33} +!md45 = !{!md34, !md1, !md35} +!md46 = !{!md36, !md2, !md32} +!md47 = !{!md36, !md3, !md37} +!md48 = !{!md36, !md4, !md37} +!md49 = !{!md36, !md5, !md37} +!md50 = !{!md36, !md6, !md38} +!md51 = !{!md36, !md7, !md39} +!md52 = !{!md36, !md8, !md40} +!md53 = !{} +!md54 = !{!md42, !md9, !md10, !md42, !md34, !md11, !md12, !md34, !md13, !md35, !md14, !md35, !md15, !md16, !md17, !md18} +!md55 = !{!md34, !md19, !md15, !md16, !md17, !md20} +!md56 = !{!md32, !md21, !md15, !md16, !md17, !md22} +!md57 = !{!md43, !md23, !md15, !md16, !md17, !md24} +!md58 = !{!md35, !md25, !md15, !md16, !md17, !md26} +!md59 = !{!md54, !md55, !md56, !md57, !md58} +!md60 = !{!md41, !md53, !md59} +!md61 = !{!md27} +!md62 = !{!md28} +!md63 = !{!md29} +!md64 = !{!md30} +!md65 = !{!md32, !md39, !md42} +!md66 = !{!md31, !md35, !md42, !md42} +!"llvm.module.flags" = !{!md44, !md45, !md46, !md47, !md48, !md49, !md50, !md51, !md52} +!"air.kernel" = !{!md60} +!"air.compile_options" = !{!md61, !md62, !md63} +!"llvm.ident" = !{!md64} +!"air.version" = !{!md65} +!"air.language_version" = !{!md66} diff --git a/crates/metal2vulkan/tests/air_input/vector_word_phases.txt b/crates/metal2vulkan/tests/air_input/vector_word_phases.txt new file mode 100644 index 000000000..cae10081e --- /dev/null +++ b/crates/metal2vulkan/tests/air_input/vector_word_phases.txt @@ -0,0 +1,291 @@ +target triple = "air64_v28-apple-macosx26.0.0" +source_filename = "-" +; datalayout DataLayout { endian: Little, pointers: {0: PointerSpec { size_bits: 64, abi_bits: 64, pref_bits: 64, index_bits: 64 }}, ints: {1: AlignSpec { abi_bits: 8, pref_bits: 8 }, 8: AlignSpec { abi_bits: 8, pref_bits: 8 }, 16: AlignSpec { abi_bits: 16, pref_bits: 16 }, 32: AlignSpec { abi_bits: 32, pref_bits: 32 }, 64: AlignSpec { abi_bits: 64, pref_bits: 64 }}, floats: {16: AlignSpec { abi_bits: 16, pref_bits: 16 }, 32: AlignSpec { abi_bits: 32, pref_bits: 32 }, 64: AlignSpec { abi_bits: 64, pref_bits: 64 }, 128: AlignSpec { abi_bits: 128, pref_bits: 128 }}, vectors: {16: AlignSpec { abi_bits: 16, pref_bits: 16 }, 24: AlignSpec { abi_bits: 32, pref_bits: 32 }, 32: AlignSpec { abi_bits: 32, pref_bits: 32 }, 48: AlignSpec { abi_bits: 64, pref_bits: 64 }, 64: AlignSpec { abi_bits: 64, pref_bits: 64 }, 96: AlignSpec { abi_bits: 128, pref_bits: 128 }, 128: AlignSpec { abi_bits: 128, pref_bits: 128 }, 192: AlignSpec { abi_bits: 256, pref_bits: 256 }, 256: AlignSpec { abi_bits: 256, pref_bits: 256 }, 512: AlignSpec { abi_bits: 512, pref_bits: 512 }, 1024: AlignSpec { abi_bits: 1024, pref_bits: 1024 }}, aggregate: AlignSpec { abi_bits: 0, pref_bits: 64 }, native_ints: [8, 16, 32], stack_align_bits: None, alloca_space: 0, program_space: 0, globals_space: 0, mangling: None, fn_ptr_align: None, non_integral: [] } +%t4 = type void (ptr addrspace(1), ptr addrspace(1), i32) +%t6 = type [2 x i32] +c4 = %t6 [27, 2] +c46 = <4 x i32> [2155872255, 2155872255, 2155872255, 2155872255] + +define %t4 @f0 "vwp_words" memory(ModRef, NoModRef, NoModRef) "approx-func-fp-math"="true" "frame-pointer"="all" "min-legal-vector-width"="0" "no-builtins"="" "no-infs-fp-math"="true" "no-nans-fp-math"="true" "no-signed-zeros-fp-math"="true" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "unsafe-fp-math"="true" %a0( Ref nocapture "air-buffer-no-alias"="" ) %a1( nocapture "air-buffer-no-alias"="" ) { +bb0: + %i0 = and i32 %a2, i32 3 + %i1 = lshr i32 %a2, i32 2 + %i2 = zext %i0 to i64 + %i3 = getelementptr inbounds i32, %a0, %i2 + %i4 = bitcast %i3 to ptr addrspace(1) + %i5 = zext %i1 to i64 + %i6 = getelementptr inbounds <4 x i32>, %i4, %i5 + %i7 = load <4 x i32>, %i6, align 16 + %i8 = getelementptr inbounds i32, %a0, i64 256 + %i9 = getelementptr inbounds i32, %i8, %i2 + %i10 = bitcast %i9 to ptr addrspace(1) + %i11 = getelementptr inbounds <4 x float>, %i10, %i5 + %i12 = load <4 x float>, %i11, align 16 + %i13 = fneg reassoc nnan ninf nsz arcp contract afn <4 x float> %i12 + %i14 = bitcast %i13 to <4 x i32> + %i15 = extractelement %i7, i64 0 + %i16 = shl i32 %a2, i32 2 + %i17 = zext %i16 to i64 + %i18 = getelementptr inbounds i32, %a1, %i17 + store %i15, %i18, align 4 + %i20 = extractelement %i7, i64 1 + %i21 = or i32 %i16, i32 1 + %i22 = zext %i21 to i64 + %i23 = getelementptr inbounds i32, %a1, %i22 + store %i20, %i23, align 4 + %i25 = extractelement %i7, i64 2 + %i26 = or i32 %i16, i32 2 + %i27 = zext %i26 to i64 + %i28 = getelementptr inbounds i32, %a1, %i27 + store %i25, %i28, align 4 + %i30 = extractelement %i7, i64 3 + %i31 = or i32 %i16, i32 3 + %i32 = zext %i31 to i64 + %i33 = getelementptr inbounds i32, %a1, %i32 + store %i30, %i33, align 4 + %i35 = extractelement %i14, i64 0 + %i36 = add i32 %i16, i32 256 + %i37 = zext %i36 to i64 + %i38 = getelementptr inbounds i32, %a1, %i37 + store %i35, %i38, align 4 + %i40 = extractelement %i14, i64 1 + %i41 = add i32 %i16, i32 257 + %i42 = zext %i41 to i64 + %i43 = getelementptr inbounds i32, %a1, %i42 + store %i40, %i43, align 4 + %i45 = extractelement %i14, i64 2 + %i46 = add i32 %i16, i32 258 + %i47 = zext %i46 to i64 + %i48 = getelementptr inbounds i32, %a1, %i47 + store %i45, %i48, align 4 + %i50 = extractelement %i14, i64 3 + %i51 = add i32 %i16, i32 259 + %i52 = zext %i51 to i64 + %i53 = getelementptr inbounds i32, %a1, %i52 + store %i50, %i53, align 4 + %i55 = add i32 %i16, i32 512 + %i56 = zext %i55 to i64 + %i57 = getelementptr inbounds i32, %a0, %i56 + %i58 = load i32, %i57, align 4 + %i59 = insertelement <4 x i32> undef, %i58, i64 0 + %i60 = add i32 %i16, i32 513 + %i61 = zext %i60 to i64 + %i62 = getelementptr inbounds i32, %a0, %i61 + %i63 = load i32, %i62, align 4 + %i64 = insertelement %i59, %i63, i64 1 + %i65 = add i32 %i16, i32 514 + %i66 = zext %i65 to i64 + %i67 = getelementptr inbounds i32, %a0, %i66 + %i68 = load i32, %i67, align 4 + %i69 = insertelement %i64, %i68, i64 2 + %i70 = add i32 %i16, i32 515 + %i71 = zext %i70 to i64 + %i72 = getelementptr inbounds i32, %a0, %i71 + %i73 = load i32, %i72, align 4 + %i74 = insertelement %i69, %i73, i64 3 + %i75 = getelementptr inbounds i32, %a1, i64 512 + %i76 = mul nuw nsw i32 %i0, i32 65 + %i77 = zext %i76 to i64 + %i78 = getelementptr inbounds i32, %i75, %i77 + %i79 = bitcast %i78 to ptr addrspace(1) + %i80 = getelementptr inbounds <4 x i32>, %i79, %i5 + store %i74, %i80, align 16 + %i82 = add i32 %i16, i32 768 + %i83 = zext %i82 to i64 + %i84 = getelementptr inbounds i32, %a0, %i83 + %i85 = load i32, %i84, align 4 + %i86 = insertelement <4 x i32> undef, %i85, i64 0 + %i87 = add i32 %i16, i32 769 + %i88 = zext %i87 to i64 + %i89 = getelementptr inbounds i32, %a0, %i88 + %i90 = load i32, %i89, align 4 + %i91 = insertelement %i86, %i90, i64 1 + %i92 = add i32 %i16, i32 770 + %i93 = zext %i92 to i64 + %i94 = getelementptr inbounds i32, %a0, %i93 + %i95 = load i32, %i94, align 4 + %i96 = insertelement %i91, %i95, i64 2 + %i97 = add i32 %i16, i32 771 + %i98 = zext %i97 to i64 + %i99 = getelementptr inbounds i32, %a0, %i98 + %i100 = load i32, %i99, align 4 + %i101 = insertelement %i96, %i100, i64 3 + %i102 = bitcast %i101 to <4 x float> + %i103 = fneg reassoc nnan ninf nsz arcp contract afn <4 x float> %i102 + %i104 = getelementptr inbounds i32, %a1, i64 772 + %i105 = getelementptr inbounds i32, %i104, %i77 + %i106 = bitcast %i105 to ptr addrspace(1) + %i107 = getelementptr inbounds <4 x float>, %i106, %i5 + store %i103, %i107, align 16 + %i109 = add i32 %i16, i32 1024 + %i110 = zext %i109 to i64 + %i111 = getelementptr inbounds i32, %a0, %i110 + %i112 = load i32, %i111, align 4 + %i113 = insertelement <4 x i32> undef, %i112, i64 0 + %i114 = add i32 %i16, i32 1025 + %i115 = zext %i114 to i64 + %i116 = getelementptr inbounds i32, %a0, %i115 + %i117 = load i32, %i116, align 4 + %i118 = insertelement %i113, %i117, i64 1 + %i119 = add i32 %i16, i32 1026 + %i120 = zext %i119 to i64 + %i121 = getelementptr inbounds i32, %a0, %i120 + %i122 = load i32, %i121, align 4 + %i123 = insertelement %i118, %i122, i64 2 + %i124 = add i32 %i16, i32 1027 + %i125 = zext %i124 to i64 + %i126 = getelementptr inbounds i32, %a0, %i125 + %i127 = load i32, %i126, align 4 + %i128 = insertelement %i123, %i127, i64 3 + %i129 = getelementptr inbounds i32, %a1, i64 1032 + %i130 = getelementptr inbounds i32, %i129, %i77 + %i131 = bitcast %i130 to ptr addrspace(1) + %i132 = getelementptr inbounds <4 x i32>, %i131, %i5 + %i133 = load <4 x i32>, %i132, align 16 + %i134 = xor <4 x i32> %i133, %i128 + store %i134, %i132, align 16 + %i136 = add i32 %i16, i32 1280 + %i137 = zext %i136 to i64 + %i138 = getelementptr inbounds i32, %a0, %i137 + %i139 = load i32, %i138, align 4 + %i140 = insertelement <4 x i32> undef, %i139, i64 0 + %i141 = add i32 %i16, i32 1281 + %i142 = zext %i141 to i64 + %i143 = getelementptr inbounds i32, %a0, %i142 + %i144 = load i32, %i143, align 4 + %i145 = insertelement %i140, %i144, i64 1 + %i146 = add i32 %i16, i32 1282 + %i147 = zext %i146 to i64 + %i148 = getelementptr inbounds i32, %a0, %i147 + %i149 = load i32, %i148, align 4 + %i150 = insertelement %i145, %i149, i64 2 + %i151 = add i32 %i16, i32 1283 + %i152 = zext %i151 to i64 + %i153 = getelementptr inbounds i32, %a0, %i152 + %i154 = load i32, %i153, align 4 + %i155 = insertelement %i150, %i154, i64 3 + %i156 = getelementptr inbounds i32, %a1, i64 1292 + %i157 = getelementptr inbounds i32, %i156, %i77 + %i158 = bitcast %i157 to ptr addrspace(1) + %i159 = getelementptr inbounds <4 x float>, %i158, %i5 + %i160 = load <4 x float>, %i159, align 16 + %i161 = fneg reassoc nnan ninf nsz arcp contract afn <4 x float> %i160 + %i162 = bitcast %i161 to <4 x i32> + %i163 = and <4 x i32> %i155, <4 x i32> c46 + %i164 = xor <4 x i32> %i163, %i162 + %i165 = bitcast %i159 to ptr addrspace(1) + store %i164, %i165, align 16 + ret void +} + +define %t4 @f1 "vwp_vec16" memory(ModRef, NoModRef, NoModRef) "approx-func-fp-math"="true" "frame-pointer"="all" "min-legal-vector-width"="0" "no-builtins"="" "no-infs-fp-math"="true" "no-nans-fp-math"="true" "no-signed-zeros-fp-math"="true" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "unsafe-fp-math"="true" %a0( Ref nocapture "air-buffer-no-alias"="" ) %a1( nocapture "air-buffer-no-alias"="" ) { +bb0: + %i0 = zext %a2 to i64 + %i1 = getelementptr inbounds <4 x float>, %a0, %i0 + %i2 = load <4 x float>, %i1, align 16 + %i3 = fneg reassoc nnan ninf nsz arcp contract afn <4 x float> %i2 + %i4 = getelementptr inbounds <4 x float>, %a1, %i0 + store %i3, %i4, align 16 + %i6 = add i32 %a2, i32 64 + %i7 = zext %i6 to i64 + %i8 = getelementptr inbounds <4 x float>, %a1, %i7 + %i9 = bitcast %i8 to ptr addrspace(1) + %i10 = load <4 x i32>, %i9, align 16 + %i11 = getelementptr inbounds <4 x float>, %a0, %i7 + %i12 = bitcast %i11 to ptr addrspace(1) + %i13 = load <4 x i32>, %i12, align 16 + %i14 = and <4 x i32> %i13, <4 x i32> c46 + %i15 = xor <4 x i32> %i14, %i10 + store %i15, %i9, align 16 + %i17 = add i32 %a2, i32 128 + %i18 = zext %i17 to i64 + %i19 = getelementptr inbounds <4 x float>, %a0, %i18 + %i20 = bitcast %i19 to ptr addrspace(1) + %i21 = load <4 x i32>, %i20, align 16 + %i22 = getelementptr inbounds <4 x float>, %a1, %i18 + %i23 = bitcast %i22 to ptr addrspace(1) + store %i21, %i23, align 16 + ret void +} +!md0 = !"SDK Version" +!md1 = !"wchar_size" +!md2 = !"frame-pointer" +!md3 = !"air.max_device_buffers" +!md4 = !"air.max_constant_buffers" +!md5 = !"air.max_threadgroup_buffers" +!md6 = !"air.max_textures" +!md7 = !"air.max_read_write_textures" +!md8 = !"air.max_samplers" +!md9 = !"air.buffer" +!md10 = !"air.location_index" +!md11 = !"air.read" +!md12 = !"air.address_space" +!md13 = !"air.arg_type_size" +!md14 = !"air.arg_type_align_size" +!md15 = !"air.arg_type_name" +!md16 = !"uint" +!md17 = !"air.arg_name" +!md18 = !"src" +!md19 = !"air.read_write" +!md20 = !"dst" +!md21 = !"air.thread_position_in_grid" +!md22 = !"t" +!md23 = !"float4" +!md24 = !"a" +!md25 = !"b" +!md26 = !"air.compile.denorms_disable" +!md27 = !"air.compile.fast_math_enable" +!md28 = !"air.compile.framebuffer_fetch_enable" +!md29 = !"Apple metal version 32023.922 (metalfe-32023.922.4)" +!md30 = !"Metal" +!md31 = !"omnipotent char" +!md32 = !"Simple C++ TBAA" +!md33 = !"air-alias-scope-arg(0)" +!md34 = !"air-alias-scope-arg(1)" +!md35 = i32 2 +!md36 = %t6 c4 +!md37 = i32 1 +!md38 = i32 4 +!md39 = i32 7 +!md40 = i32 31 +!md41 = i32 128 +!md42 = i32 8 +!md43 = i32 16 +!md44 = ptr addrspace(0) @f0 +!md45 = i32 0 +!md46 = ptr addrspace(0) @f1 +!md47 = i64 0 +!md48 = !{!md35, !md0, !md36} +!md49 = !{!md37, !md1, !md38} +!md50 = !{!md39, !md2, !md35} +!md51 = !{!md39, !md3, !md40} +!md52 = !{!md39, !md4, !md40} +!md53 = !{!md39, !md5, !md40} +!md54 = !{!md39, !md6, !md41} +!md55 = !{!md39, !md7, !md42} +!md56 = !{!md39, !md8, !md43} +!md57 = !{} +!md58 = !{!md45, !md9, !md10, !md45, !md37, !md11, !md12, !md37, !md13, !md38, !md14, !md38, !md15, !md16, !md17, !md18} +!md59 = !{!md37, !md9, !md10, !md37, !md37, !md19, !md12, !md37, !md13, !md38, !md14, !md38, !md15, !md16, !md17, !md20} +!md60 = !{!md35, !md21, !md15, !md16, !md17, !md22} +!md61 = !{!md58, !md59, !md60} +!md62 = !{!md44, !md57, !md61} +!md63 = !{!md45, !md9, !md10, !md45, !md37, !md11, !md12, !md37, !md13, !md43, !md14, !md43, !md15, !md23, !md17, !md24} +!md64 = !{!md37, !md9, !md10, !md37, !md37, !md19, !md12, !md37, !md13, !md43, !md14, !md43, !md15, !md23, !md17, !md25} +!md65 = !{!md63, !md64, !md60} +!md66 = !{!md46, !md57, !md65} +!md67 = !{!md26} +!md68 = !{!md27} +!md69 = !{!md28} +!md70 = !{!md29} +!md71 = !{!md35, !md42, !md45} +!md72 = !{!md30, !md38, !md45, !md45} +!md73 = !{!md32} +!md74 = !{!md31, !md73, !md47} +!md75 = !{!md74, !md74, !md47} +!"llvm.module.flags" = !{!md48, !md49, !md50, !md51, !md52, !md53, !md54, !md55, !md56} +!"air.kernel" = !{!md62, !md66} +!"air.compile_options" = !{!md67, !md68, !md69} +!"llvm.ident" = !{!md70} +!"air.version" = !{!md71} +!"air.language_version" = !{!md72} diff --git a/crates/metal2vulkan/tests/golden_hashes.tsv b/crates/metal2vulkan/tests/golden_hashes.tsv index ac5dc7a22..887c68998 100644 --- a/crates/metal2vulkan/tests/golden_hashes.tsv +++ b/crates/metal2vulkan/tests/golden_hashes.tsv @@ -1953,6 +1953,8 @@ engine/ob3_vertex_input.air.ll 50f342eae6a89f6a ob3_vertex_input 3017862a53aa7de engine/ob3_vertex_input.ll 0da28d3895817b16 ob3_vertex_input 3017862a53aa7dee 3017862a53aa7dee 3017862a53aa7dee 3017862a53aa7dee 3017862a53aa7dee 3017862a53aa7dee 3017862a53aa7dee 3017862a53aa7dee c1fb997a4ab94cd8 3017862a53aa7dee 3017862a53aa7dee 3017862a53aa7dee 3017862a53aa7dee 3017862a53aa7dee 3017862a53aa7dee 3017862a53aa7dee Unsupported{StageStoresAndAtomics; AnyOf[[Feature(VertexPipelineStoresAndAtomics)]]} 3017862a53aa7dee Unsupported{StageStoresAndAtomics; AnyOf[[Feature(VertexPipelineStoresAndAtomics)]]} engine/overlapping_slots.air.ll d052fe34623d1e16 overlapping_slots a550a3ff698430ea a550a3ff698430ea a550a3ff698430ea a550a3ff698430ea a550a3ff698430ea a550a3ff698430ea a550a3ff698430ea a550a3ff698430ea a550a3ff698430ea a550a3ff698430ea a550a3ff698430ea 53a7d45f149bdaab 53a7d45f149bdaab a550a3ff698430ea a550a3ff698430ea a550a3ff698430ea NeedsInput{StorageTextureFormat { slot: SlotRef { stage: Kernel, class: Texture, index: 1 } }} 53a7d45f149bdaab NeedsInput{StorageTextureFormat { slot: SlotRef { stage: Kernel, class: Texture, index: 1 } }} engine/overlapping_slots.ll fa757ffeceee13ae overlapping_slots a550a3ff698430ea a550a3ff698430ea a550a3ff698430ea a550a3ff698430ea a550a3ff698430ea a550a3ff698430ea a550a3ff698430ea a550a3ff698430ea a550a3ff698430ea a550a3ff698430ea a550a3ff698430ea 53a7d45f149bdaab 53a7d45f149bdaab a550a3ff698430ea a550a3ff698430ea a550a3ff698430ea NeedsInput{StorageTextureFormat { slot: SlotRef { stage: Kernel, class: Texture, index: 1 } }} 53a7d45f149bdaab NeedsInput{StorageTextureFormat { slot: SlotRef { stage: Kernel, class: Texture, index: 1 } }} +engine/pad_simd_shape.air.ll 225bdcb705dfd128 simd_shape f406525726475615 f406525726475615 f406525726475615 f406525726475615 2da4a0a1943cb753 2da4a0a1943cb753 f406525726475615 f406525726475615 d747ce1640c607b6 f406525726475615 2da4a0a1943cb753 2da4a0a1943cb753 f406525726475615 fa119462ec258086 f406525726475615 f406525726475615 2da4a0a1943cb753 2da4a0a1943cb753 2da4a0a1943cb753 +engine/pad_simd_shape.ll 41adb3ac19b4017f simd_shape f406525726475615 f406525726475615 f406525726475615 f406525726475615 2da4a0a1943cb753 2da4a0a1943cb753 f406525726475615 f406525726475615 d747ce1640c607b6 f406525726475615 2da4a0a1943cb753 2da4a0a1943cb753 f406525726475615 fa119462ec258086 f406525726475615 f406525726475615 2da4a0a1943cb753 2da4a0a1943cb753 2da4a0a1943cb753 engine/pdc_compare_clamp.air.ll 6ce06b60b694604a pdc_argument f13811832ec0aabd f13811832ec0aabd f13811832ec0aabd f13811832ec0aabd f13811832ec0aabd f13811832ec0aabd b5fb815dcdef507f b5fb815dcdef507f b5fb815dcdef507f b5fb815dcdef507f f13811832ec0aabd fd6065718de4ce72 f13811832ec0aabd b0aa03e9f8aa5f91 b5fb815dcdef507f b5fb815dcdef507f fd6065718de4ce72 fd6065718de4ce72 Unsupported{ArgumentBufferTextures; AnyOf[[Feature(RuntimeDescriptorArray), Feature(DescriptorBindingPartiallyBound), Feature(ShaderSampledImageArrayNonUniformIndexing), Feature(DescriptorBindingSampledImageUpdateAfterBind)]]} engine/pdc_compare_clamp.air.ll 6ce06b60b694604a pdc_constexpr c1654b675b3f47b3 c1654b675b3f47b3 c1654b675b3f47b3 c1654b675b3f47b3 c1654b675b3f47b3 c1654b675b3f47b3 44ac2fa16a8c6c75 44ac2fa16a8c6c75 44ac2fa16a8c6c75 44ac2fa16a8c6c75 c1654b675b3f47b3 15718676904b605b c1654b675b3f47b3 15718676904b605b 44ac2fa16a8c6c75 44ac2fa16a8c6c75 15718676904b605b 15718676904b605b 15718676904b605b engine/pdc_compare_clamp.air.ll 6ce06b60b694604a pdc_slot 3792cc8659124a25 3792cc8659124a25 3792cc8659124a25 3792cc8659124a25 3792cc8659124a25 3792cc8659124a25 e0810d6759e83d6f e0810d6759e83d6f e0810d6759e83d6f e0810d6759e83d6f 3792cc8659124a25 e75a6648f5eb470d 3792cc8659124a25 e75a6648f5eb470d e0810d6759e83d6f e0810d6759e83d6f e75a6648f5eb470d e75a6648f5eb470d e75a6648f5eb470d @@ -3085,6 +3087,10 @@ engine/unv_runtime_levels.air.ll a38c4149697919e4 unv_rlvl2d e3ac1b7c31e053dc e3 engine/unv_runtime_levels.air.ll a38c4149697919e4 unv_rpos2d 1d89edac610a32be 1d89edac610a32be 1d89edac610a32be 1d89edac610a32be 1d89edac610a32be 1d89edac610a32be 1d89edac610a32be 1d89edac610a32be 46374d53d40ba99e 1d89edac610a32be 1d89edac610a32be 70d1424a957176ce 70d1424a957176ce 1d89edac610a32be 1d89edac610a32be 1d89edac610a32be 70d1424a957176ce 70d1424a957176ce 70d1424a957176ce engine/unv_runtime_levels.ll 62b9e4a266ccd8fb unv_rlvl2d e3ac1b7c31e053dc e3ac1b7c31e053dc e3ac1b7c31e053dc e3ac1b7c31e053dc e3ac1b7c31e053dc e3ac1b7c31e053dc 80c2c5ac9a09a6ac 80c2c5ac9a09a6ac 4844921a83556eb1 80c2c5ac9a09a6ac e3ac1b7c31e053dc b49742a9fa206bdf ee594eb3da2faa13 58edb09052e6d163 80c2c5ac9a09a6ac 80c2c5ac9a09a6ac b49742a9fa206bdf b49742a9fa206bdf Unsupported{ArgumentBufferTextures; AnyOf[[Feature(RuntimeDescriptorArray), Feature(DescriptorBindingPartiallyBound), Feature(ShaderSampledImageArrayNonUniformIndexing), Feature(DescriptorBindingSampledImageUpdateAfterBind)]]} engine/unv_runtime_levels.ll 62b9e4a266ccd8fb unv_rpos2d 1d89edac610a32be 1d89edac610a32be 1d89edac610a32be 1d89edac610a32be 1d89edac610a32be 1d89edac610a32be 1d89edac610a32be 1d89edac610a32be 46374d53d40ba99e 1d89edac610a32be 1d89edac610a32be 70d1424a957176ce 70d1424a957176ce 1d89edac610a32be 1d89edac610a32be 1d89edac610a32be 70d1424a957176ce 70d1424a957176ce 70d1424a957176ce +engine/vector_word_phases.air.ll cc155fb303ba06a1 vwp_vec16 08287bd43c79f922 08287bd43c79f922 08287bd43c79f922 08287bd43c79f922 08287bd43c79f922 08287bd43c79f922 08287bd43c79f922 08287bd43c79f922 729167f6c247e9d6 08287bd43c79f922 08287bd43c79f922 08287bd43c79f922 08287bd43c79f922 08287bd43c79f922 08287bd43c79f922 08287bd43c79f922 08287bd43c79f922 08287bd43c79f922 08287bd43c79f922 +engine/vector_word_phases.air.ll cc155fb303ba06a1 vwp_words 1a73454f9ac22d7c 1a73454f9ac22d7c 1a73454f9ac22d7c 1a73454f9ac22d7c 1a73454f9ac22d7c 1a73454f9ac22d7c 1a73454f9ac22d7c 1a73454f9ac22d7c 16a117b3480b7f5b 1a73454f9ac22d7c 1a73454f9ac22d7c 1a73454f9ac22d7c 1a73454f9ac22d7c 1a73454f9ac22d7c 1a73454f9ac22d7c 1a73454f9ac22d7c 1a73454f9ac22d7c 1a73454f9ac22d7c 1a73454f9ac22d7c +engine/vector_word_phases.ll 12c99dea13dd9063 vwp_vec16 08287bd43c79f922 08287bd43c79f922 08287bd43c79f922 08287bd43c79f922 08287bd43c79f922 08287bd43c79f922 08287bd43c79f922 08287bd43c79f922 729167f6c247e9d6 08287bd43c79f922 08287bd43c79f922 08287bd43c79f922 08287bd43c79f922 08287bd43c79f922 08287bd43c79f922 08287bd43c79f922 08287bd43c79f922 08287bd43c79f922 08287bd43c79f922 +engine/vector_word_phases.ll 12c99dea13dd9063 vwp_words 1a73454f9ac22d7c 1a73454f9ac22d7c 1a73454f9ac22d7c 1a73454f9ac22d7c 1a73454f9ac22d7c 1a73454f9ac22d7c 1a73454f9ac22d7c 1a73454f9ac22d7c 16a117b3480b7f5b 1a73454f9ac22d7c 1a73454f9ac22d7c 1a73454f9ac22d7c 1a73454f9ac22d7c 1a73454f9ac22d7c 1a73454f9ac22d7c 1a73454f9ac22d7c 1a73454f9ac22d7c 1a73454f9ac22d7c 1a73454f9ac22d7c engine/vertex_amplification.air.ll a7a2471d9977fee7 amp_fragment 3a57d5430a13c927 3a57d5430a13c927 3a57d5430a13c927 3a57d5430a13c927 3a57d5430a13c927 3a57d5430a13c927 3a57d5430a13c927 3a57d5430a13c927 3a57d5430a13c927 3a57d5430a13c927 3a57d5430a13c927 3a57d5430a13c927 3a57d5430a13c927 3a57d5430a13c927 3a57d5430a13c927 3a57d5430a13c927 ab426ca4e7084ea6 ab426ca4e7084ea6 ab426ca4e7084ea6 engine/vertex_amplification.air.ll a7a2471d9977fee7 amp_fragment_layer a5fae224c7dcd66a a5fae224c7dcd66a a5fae224c7dcd66a a5fae224c7dcd66a a5fae224c7dcd66a a5fae224c7dcd66a a5fae224c7dcd66a a5fae224c7dcd66a a5fae224c7dcd66a a5fae224c7dcd66a a5fae224c7dcd66a d3d34d6b3d455bd1 b000f630727e67f2 a5fae224c7dcd66a a5fae224c7dcd66a a5fae224c7dcd66a d3d34d6b3d455bd1 d3d34d6b3d455bd1 d3d34d6b3d455bd1 engine/vertex_amplification.air.ll a7a2471d9977fee7 amp_post_tessellation 8ece398fded8f10e 8ece398fded8f10e 8ece398fded8f10e 8ece398fded8f10e 8ece398fded8f10e 8ece398fded8f10e 8ece398fded8f10e 8ece398fded8f10e 8ece398fded8f10e 8ece398fded8f10e 8ece398fded8f10e 8ece398fded8f10e 8ece398fded8f10e 8ece398fded8f10e 8ece398fded8f10e 8ece398fded8f10e 46ab3435b8145bd6 46ab3435b8145bd6 46ab3435b8145bd6 diff --git a/crates/metal2vulkan/tests/public_fixture_expectations_engine.tsv b/crates/metal2vulkan/tests/public_fixture_expectations_engine.tsv index df65708e3..4a6a4c57d 100644 --- a/crates/metal2vulkan/tests/public_fixture_expectations_engine.tsv +++ b/crates/metal2vulkan/tests/public_fixture_expectations_engine.tsv @@ -2078,6 +2078,8 @@ engine/ob3_vertex_input.air.ll ob3_vertex_input ok ok ok ok ok ok ok ok ok ok ok engine/ob3_vertex_input.ll ob3_vertex_input ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok Unsupported{StageStoresAndAtomics; AnyOf[[Feature(VertexPipelineStoresAndAtomics)]]} ok Unsupported{StageStoresAndAtomics; AnyOf[[Feature(VertexPipelineStoresAndAtomics)]]} engine/overlapping_slots.air.ll overlapping_slots ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok NeedsInput{StorageTextureFormat { slot: SlotRef { stage: Kernel, class: Texture, index: 1 } }} ok NeedsInput{StorageTextureFormat { slot: SlotRef { stage: Kernel, class: Texture, index: 1 } }} engine/overlapping_slots.ll overlapping_slots ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok NeedsInput{StorageTextureFormat { slot: SlotRef { stage: Kernel, class: Texture, index: 1 } }} ok NeedsInput{StorageTextureFormat { slot: SlotRef { stage: Kernel, class: Texture, index: 1 } }} +engine/pad_simd_shape.air.ll simd_shape ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok +engine/pad_simd_shape.ll simd_shape ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok engine/pdc_compare_clamp.air.ll pdc_vertex ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok engine/pdc_compare_clamp.air.ll pdc_slot ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok engine/pdc_compare_clamp.air.ll pdc_constexpr ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok @@ -3204,6 +3206,10 @@ engine/unv_runtime_levels.air.ll unv_rlvl2d ok ok ok ok ok ok ok ok ok ok ok ok engine/unv_runtime_levels.air.ll unv_rpos2d ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok engine/unv_runtime_levels.ll unv_rlvl2d ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok Unsupported{ArgumentBufferTextures; AnyOf[[Feature(RuntimeDescriptorArray), Feature(DescriptorBindingPartiallyBound), Feature(ShaderSampledImageArrayNonUniformIndexing), Feature(DescriptorBindingSampledImageUpdateAfterBind)]]} engine/unv_runtime_levels.ll unv_rpos2d ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok +engine/vector_word_phases.air.ll vwp_words ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok +engine/vector_word_phases.air.ll vwp_vec16 ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok +engine/vector_word_phases.ll vwp_words ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok +engine/vector_word_phases.ll vwp_vec16 ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok engine/vertex_amplification.air.ll amp_vertex ok ok ok ok ok ok ok ok ok ok ok Unsupported{LayeredRendering; AnyOf[[Feature(GeometryShader)]]} ok ok ok ok ok ok ok engine/vertex_amplification.air.ll amp_vertex_store ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok Unsupported{StageStoresAndAtomics; AnyOf[[Feature(VertexPipelineStoresAndAtomics)]]} ok Unsupported{StageStoresAndAtomics; AnyOf[[Feature(VertexPipelineStoresAndAtomics)]]} engine/vertex_amplification.air.ll amp_vertex_layer ok ok ok ok ok ok ok ok ok ok ok Unsupported{LayeredRendering; AnyOf[[Feature(GeometryShader)]]} ok ok ok ok Unsupported{LayeredRendering; AnyOf[[Feature(GeometryShader)]]} Unsupported{LayeredRendering; AnyOf[[Feature(GeometryShader)]]} Unsupported{LayeredRendering; AnyOf[[Feature(GeometryShader)]]}