| ; SPIR-V |
| ; Version: 1.3 |
| ; Generator: Google Tint Compiler; 1 |
| ; Bound: 18 |
| ; Schema: 0 |
| OpCapability Shader |
| OpMemoryModel Logical GLSL450 |
| OpEntryPoint GLCompute %unused_entry_point "unused_entry_point" |
| OpExecutionMode %unused_entry_point LocalSize 1 1 1 |
| OpName %f "f" |
| OpMemberName %S 0 "m" |
| OpMemberName %S 1 "n" |
| OpName %S "S" |
| OpName %a "a" |
| OpName %unused_entry_point "unused_entry_point" |
| OpMemberDecorate %S 0 Offset 0 |
| OpMemberDecorate %S 1 Offset 4 |
| %uint = OpTypeInt 32 0 |
| %3 = OpTypeFunction %uint |
| %int = OpTypeInt 32 1 |
| %S = OpTypeStruct %int %uint |
| %_ptr_Function_S = OpTypePointer Function %S |
| %9 = OpConstantNull %S |
| %_ptr_Function_uint = OpTypePointer Function %uint |
| %uint_1 = OpConstant %uint 1 |
| %void = OpTypeVoid |
| %16 = OpTypeFunction %void |
| %f = OpFunction %uint None %3 |
| %4 = OpLabel |
| %a = OpVariable %_ptr_Function_S Function |
| OpStore %a %9 |
| %10 = OpAccessChain %_ptr_Function_uint %a %uint_1 |
| %13 = OpLoad %uint %10 None |
| OpReturnValue %13 |
| OpFunctionEnd |
| %unused_entry_point = OpFunction %void None %16 |
| %17 = OpLabel |
| OpReturn |
| OpFunctionEnd |