• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; Test: SpvParserTest_EmitFunctions_Function_EntryPoint_Vertex.spvasm
2; SPIR-V
3; Version: 1.0
4; Generator: Khronos SPIR-V Tools Assembler; 0
5; Bound: 11
6; Schema: 0
7OpCapability Shader
8OpMemoryModel Logical Simple
9OpEntryPoint Vertex %main "main" %gl_Position
10OpName %main "main"
11OpDecorate %gl_Position BuiltIn Position
12%float = OpTypeFloat 32
13%v4float = OpTypeVector %float 4
14%_ptr_Output_v4float = OpTypePointer Output %v4float
15%gl_Position = OpVariable %_ptr_Output_v4float Output
16%void = OpTypeVoid
17%7 = OpTypeFunction %void
18%uint = OpTypeInt 32 0
19%int = OpTypeInt 32 1
20%main = OpFunction %void None %7
21%10 = OpLabel
22OpReturn
23OpFunctionEnd
24
25