blob: 946d2d1060191198b2717659f195b100b6cc4392 [file] [log] [blame]
; Test: SpvParserTest_EmitFunctions_Function_EntryPoint_Vertex.spvasm
; SPIR-V
; Version: 1.0
; Generator: Khronos SPIR-V Tools Assembler; 0
; Bound: 11
; Schema: 0
OpCapability Shader
OpMemoryModel Logical Simple
OpEntryPoint Vertex %main "main" %gl_Position
OpName %main "main"
OpDecorate %gl_Position BuiltIn Position
%float = OpTypeFloat 32
%v4float = OpTypeVector %float 4
%_ptr_Output_v4float = OpTypePointer Output %v4float
%gl_Position = OpVariable %_ptr_Output_v4float Output
%void = OpTypeVoid
%7 = OpTypeFunction %void
%uint = OpTypeInt 32 0
%int = OpTypeInt 32 1
%main = OpFunction %void None %7
%10 = OpLabel
OpReturn
OpFunctionEnd