| ; Test: SpvModuleScopeVarParserTest_VertexIndex_U32_Load_AccessChain.spvasm |
| ; Generator: Khronos SPIR-V Tools Assembler; 0 |
| OpMemoryModel Logical Simple |
| OpEntryPoint Vertex %3 "main" %gl_Position %gl_VertexIndex |
| OpDecorate %gl_Position BuiltIn Position |
| OpDecorate %gl_VertexIndex BuiltIn VertexIndex |
| %6 = OpTypeFunction %void |
| %_ptr_Input_uint = OpTypePointer Input %uint |
| %gl_VertexIndex = OpVariable %_ptr_Input_uint Input |
| %v4float = OpTypeVector %float 4 |
| %_ptr_Output_v4float = OpTypePointer Output %v4float |
| %gl_Position = OpVariable %_ptr_Output_v4float Output |
| %3 = OpFunction %void None %6 |
| %14 = OpAccessChain %_ptr_Input_uint %gl_VertexIndex |