| ; SPIR-V | |
| ; Version: 1.3 | |
| ; Generator: Google Tint Compiler; 1 | |
| ; Bound: 98 | |
| ; Schema: 0 | |
| OpCapability Shader | |
| OpCapability VulkanMemoryModel | |
| OpCapability VulkanMemoryModelDeviceScope | |
| OpCapability CooperativeMatrixKHR | |
| OpCapability Int8 | |
| OpExtension "SPV_KHR_vulkan_memory_model" | |
| OpExtension "SPV_KHR_cooperative_matrix" | |
| %61 = OpExtInstImport "GLSL.std.450" | |
| OpMemoryModel Logical Vulkan | |
| OpEntryPoint GLCompute %main "main" | |
| OpExecutionMode %main LocalSize 64 1 1 | |
| OpMemberName %ibuffer_block_tint_explicit_layout 0 "inner" | |
| OpName %ibuffer_block_tint_explicit_layout "ibuffer_block_tint_explicit_layout" | |
| OpMemberName %ubuffer_block_tint_explicit_layout 0 "inner" | |
| OpName %ubuffer_block_tint_explicit_layout "ubuffer_block_tint_explicit_layout" | |
| OpName %main "main" | |
| OpDecorate %_runtimearr_int ArrayStride 4 | |
| OpMemberDecorate %ibuffer_block_tint_explicit_layout 0 Offset 0 | |
| OpDecorate %ibuffer_block_tint_explicit_layout Block | |
| OpDecorate %1 DescriptorSet 0 | |
| OpDecorate %1 Binding 0 | |
| OpDecorate %_runtimearr_uint ArrayStride 4 | |
| OpMemberDecorate %ubuffer_block_tint_explicit_layout 0 Offset 0 | |
| OpDecorate %ubuffer_block_tint_explicit_layout Block | |
| OpDecorate %6 DescriptorSet 0 | |
| OpDecorate %6 Binding 1 | |
| %int = OpTypeInt 32 1 | |
| %_runtimearr_int = OpTypeRuntimeArray %int | |
| %ibuffer_block_tint_explicit_layout = OpTypeStruct %_runtimearr_int | |
| %_ptr_StorageBuffer_ibuffer_block_tint_explicit_layout = OpTypePointer StorageBuffer %ibuffer_block_tint_explicit_layout | |
| %1 = OpVariable %_ptr_StorageBuffer_ibuffer_block_tint_explicit_layout StorageBuffer | |
| %uint = OpTypeInt 32 0 | |
| %_runtimearr_uint = OpTypeRuntimeArray %uint | |
| %ubuffer_block_tint_explicit_layout = OpTypeStruct %_runtimearr_uint | |
| %_ptr_StorageBuffer_ubuffer_block_tint_explicit_layout = OpTypePointer StorageBuffer %ubuffer_block_tint_explicit_layout | |
| %6 = OpVariable %_ptr_StorageBuffer_ubuffer_block_tint_explicit_layout StorageBuffer | |
| %void = OpTypeVoid | |
| %13 = OpTypeFunction %void | |
| %uint_3 = OpConstant %uint 3 | |
| %uint_8 = OpConstant %uint 8 | |
| %char = OpTypeInt 8 1 | |
| %uint_0 = OpConstant %uint 0 | |
| %16 = OpTypeCooperativeMatrixKHR %char %uint_3 %uint_8 %uint_8 %uint_0 | |
| %15 = OpConstantNull %16 | |
| %_ptr_StorageBuffer__runtimearr_int = OpTypePointer StorageBuffer %_runtimearr_int | |
| %int_0 = OpConstant %int 0 | |
| %int_64 = OpConstant %int 64 | |
| %uint_7 = OpConstant %uint 7 | |
| %uint_2 = OpConstant %uint 2 | |
| %bool = OpTypeBool | |
| %_ptr_StorageBuffer_int = OpTypePointer StorageBuffer %int | |
| %uchar = OpTypeInt 8 0 | |
| %uint_1 = OpConstant %uint 1 | |
| %42 = OpTypeCooperativeMatrixKHR %uchar %uint_3 %uint_8 %uint_8 %uint_1 | |
| %41 = OpConstantNull %42 | |
| %_ptr_StorageBuffer__runtimearr_uint = OpTypePointer StorageBuffer %_runtimearr_uint | |
| %_ptr_StorageBuffer_uint = OpTypePointer StorageBuffer %uint | |
| %int_n42 = OpConstant %int -42 | |
| %int_n128 = OpConstant %int -128 | |
| %int_127 = OpConstant %int 127 | |
| %uint_42 = OpConstant %uint 42 | |
| %uint_255 = OpConstant %uint 255 | |
| %main = OpFunction %void None %13 | |
| %14 = OpLabel | |
| %21 = OpAccessChain %_ptr_StorageBuffer__runtimearr_int %1 %uint_0 | |
| %23 = OpArrayLength %uint %1 0 | |
| %24 = OpBitcast %uint %int_0 | |
| %26 = OpBitcast %uint %int_64 | |
| %28 = OpIMul %uint %26 %uint_7 | |
| %30 = OpIAdd %uint %24 %28 | |
| %31 = OpIAdd %uint %30 %uint_2 | |
| %33 = OpULessThanEqual %bool %31 %23 | |
| %35 = OpSelect %uint %33 %24 %uint_0 | |
| %36 = OpSelect %uint %33 %26 %uint_2 | |
| %37 = OpAccessChain %_ptr_StorageBuffer__runtimearr_int %1 %uint_0 | |
| %38 = OpAccessChain %_ptr_StorageBuffer_int %37 %35 | |
| OpCooperativeMatrixStoreKHR %38 %15 %uint_0 %36 NonPrivatePointer | |
| %45 = OpAccessChain %_ptr_StorageBuffer__runtimearr_uint %6 %uint_0 | |
| %47 = OpArrayLength %uint %6 0 | |
| %48 = OpBitcast %uint %int_0 | |
| %49 = OpBitcast %uint %int_64 | |
| %50 = OpIMul %uint %49 %uint_7 | |
| %51 = OpIAdd %uint %48 %50 | |
| %52 = OpIAdd %uint %51 %uint_2 | |
| %53 = OpULessThanEqual %bool %52 %47 | |
| %54 = OpSelect %uint %53 %48 %uint_0 | |
| %55 = OpSelect %uint %53 %49 %uint_2 | |
| %56 = OpAccessChain %_ptr_StorageBuffer__runtimearr_uint %6 %uint_0 | |
| %57 = OpAccessChain %_ptr_StorageBuffer_uint %56 %54 | |
| OpCooperativeMatrixStoreKHR %57 %41 %uint_0 %55 NonPrivatePointer | |
| %60 = OpExtInst %int %61 SClamp %int_n42 %int_n128 %int_127 | |
| %65 = OpSConvert %char %60 | |
| %66 = OpCompositeConstruct %16 %65 | |
| %67 = OpAccessChain %_ptr_StorageBuffer__runtimearr_int %1 %uint_0 | |
| %68 = OpArrayLength %uint %1 0 | |
| %69 = OpBitcast %uint %int_0 | |
| %70 = OpBitcast %uint %int_64 | |
| %71 = OpIMul %uint %70 %uint_7 | |
| %72 = OpIAdd %uint %69 %71 | |
| %73 = OpIAdd %uint %72 %uint_2 | |
| %74 = OpULessThanEqual %bool %73 %68 | |
| %75 = OpSelect %uint %74 %69 %uint_0 | |
| %76 = OpSelect %uint %74 %70 %uint_2 | |
| %77 = OpAccessChain %_ptr_StorageBuffer__runtimearr_int %1 %uint_0 | |
| %78 = OpAccessChain %_ptr_StorageBuffer_int %77 %75 | |
| OpCooperativeMatrixStoreKHR %78 %66 %uint_0 %76 NonPrivatePointer | |
| %80 = OpExtInst %uint %61 UClamp %uint_42 %uint_0 %uint_255 | |
| %83 = OpUConvert %uchar %80 | |
| %84 = OpCompositeConstruct %42 %83 | |
| %85 = OpAccessChain %_ptr_StorageBuffer__runtimearr_uint %6 %uint_0 | |
| %86 = OpArrayLength %uint %6 0 | |
| %87 = OpBitcast %uint %int_0 | |
| %88 = OpBitcast %uint %int_64 | |
| %89 = OpIMul %uint %88 %uint_7 | |
| %90 = OpIAdd %uint %87 %89 | |
| %91 = OpIAdd %uint %90 %uint_2 | |
| %92 = OpULessThanEqual %bool %91 %86 | |
| %93 = OpSelect %uint %92 %87 %uint_0 | |
| %94 = OpSelect %uint %92 %88 %uint_2 | |
| %95 = OpAccessChain %_ptr_StorageBuffer__runtimearr_uint %6 %uint_0 | |
| %96 = OpAccessChain %_ptr_StorageBuffer_uint %95 %93 | |
| OpCooperativeMatrixStoreKHR %96 %84 %uint_0 %94 NonPrivatePointer | |
| OpReturn | |
| OpFunctionEnd |