| ; Test: SpvParserMemoryTest_EmitStatement_AccessChain_Struct.spvasm |
| ; Generator: Khronos SPIR-V Tools Assembler; 0 |
| OpMemoryModel Logical Simple |
| OpEntryPoint Fragment %100 "main" |
| OpExecutionMode %100 OriginUpperLeft |
| OpMemberName %_struct_3 1 "age" |
| %5 = OpTypeFunction %void |
| %float_42 = OpConstant %float 42 |
| %_struct_3 = OpTypeStruct %float %float |
| %_ptr_Private_float = OpTypePointer Private %float |
| %_ptr_Private__struct_3 = OpTypePointer Private %_struct_3 |
| %uint_1 = OpConstant %uint 1 |
| %myvar = OpVariable %_ptr_Private__struct_3 Private |
| %100 = OpFunction %void None %5 |
| %2 = OpAccessChain %_ptr_Private_float %myvar %uint_1 |