• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; SPIR-V
2; Version: 1.0
3; Generator: Khronos Glslang Reference Front End; 10
4; Bound: 28
5; Schema: 0
6OpCapability Shader
7%1 = OpExtInstImport "GLSL.std.450"
8OpMemoryModel Logical GLSL450
9OpEntryPoint Vertex %4 "main" %13 %17
10OpSource GLSL 450
11OpName %4 "main"
12OpName %11 "gl_PerVertex"
13OpMemberName %11 0 "gl_Position"
14OpMemberName %11 1 "gl_PointSize"
15OpMemberName %11 2 "gl_ClipDistance"
16OpMemberName %11 3 "gl_CullDistance"
17OpName %13 ""
18OpName %17 "_ua_position"
19OpMemberDecorate %11 0 BuiltIn Position
20OpMemberDecorate %11 1 BuiltIn PointSize
21OpMemberDecorate %11 2 BuiltIn ClipDistance
22OpMemberDecorate %11 3 BuiltIn CullDistance
23OpDecorate %11 Block
24OpDecorate %17 Location 0
25%2 = OpTypeVoid
26%3 = OpTypeFunction %2
27%6 = OpTypeFloat 32
28%7 = OpTypeVector %6 4
29%8 = OpTypeInt 32 0
30%9 = OpConstant %8 1
31%10 = OpTypeArray %6 %9
32%11 = OpTypeStruct %7 %6 %10 %10
33%12 = OpTypePointer Output %11
34%13 = OpVariable %12 Output
35%14 = OpTypeInt 32 1
36%15 = OpConstant %14 0
37%16 = OpTypePointer Input %7
38%17 = OpVariable %16 Input
39%19 = OpTypePointer Output %7
40%4 = OpFunction %2 None %3
41%5 = OpLabel
42%18 = OpLoad %7 %17
43%20 = OpAccessChain %19 %13 %15
44OpStore %20 %18
45OpReturn
46OpFunctionEnd
47