| ; SPIR-V |
| ; Version: 1.3 |
| ; Generator: Google Tint Compiler; 1 |
| ; Bound: 22 |
| ; Schema: 0 |
| OpCapability Shader |
| OpMemoryModel Logical GLSL450 |
| OpEntryPoint GLCompute %unused_entry_point "unused_entry_point" |
| OpExecutionMode %unused_entry_point LocalSize 1 1 1 |
| OpName %arr "arr" |
| OpName %f "f" |
| OpName %v "v" |
| OpName %unused_entry_point "unused_entry_point" |
| OpDecorate %_arr_v2int_uint_2 ArrayStride 8 |
| %int = OpTypeInt 32 1 |
| %v2int = OpTypeVector %int 2 |
| %uint = OpTypeInt 32 0 |
| %uint_2 = OpConstant %uint 2 |
| %_arr_v2int_uint_2 = OpTypeArray %v2int %uint_2 |
| %_ptr_Private__arr_v2int_uint_2 = OpTypePointer Private %_arr_v2int_uint_2 |
| %int_1 = OpConstant %int 1 |
| %9 = OpConstantComposite %v2int %int_1 %int_1 |
| %int_2 = OpConstant %int 2 |
| %11 = OpConstantComposite %v2int %int_2 %int_2 |
| %8 = OpConstantComposite %_arr_v2int_uint_2 %9 %11 |
| %arr = OpVariable %_ptr_Private__arr_v2int_uint_2 Private %8 |
| %void = OpTypeVoid |
| %15 = OpTypeFunction %void |
| %_ptr_Function__arr_v2int_uint_2 = OpTypePointer Function %_arr_v2int_uint_2 |
| %f = OpFunction %void None %15 |
| %16 = OpLabel |
| %v = OpVariable %_ptr_Function__arr_v2int_uint_2 Function |
| %17 = OpLoad %_arr_v2int_uint_2 %arr None |
| OpStore %v %17 |
| OpReturn |
| OpFunctionEnd |
| %unused_entry_point = OpFunction %void None %15 |
| %21 = OpLabel |
| OpReturn |
| OpFunctionEnd |