git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@31212 e7fa87d3-cd2b-0410-9028-fcbf551c1848
147 lines
7.2 KiB
Plaintext
147 lines
7.2 KiB
Plaintext
spv.150.geom
|
|
|
|
|
|
|
|
Linked geometry stage:
|
|
|
|
|
|
|
|
// Module Version 99
|
|
// Generated by (magic number): 51a00bb
|
|
// Id's are bound by 72
|
|
|
|
Source GLSL 150
|
|
1: ExtInstImport "GLSL.std.450"
|
|
MemoryModel Logical GLSL450
|
|
EntryPoint Geometry 4
|
|
ExecutionMode 4 InputTrianglesAdjacency
|
|
ExecutionMode 4 Invocations 0
|
|
ExecutionMode 4 OutputTriangleStrip
|
|
ExecutionMode 4 OutputVertices 30
|
|
Name 4 "main"
|
|
Name 9 "fromVertex"
|
|
MemberName 9(fromVertex) 0 "color"
|
|
Name 11 ""
|
|
Name 14 "fromVertex"
|
|
MemberName 14(fromVertex) 0 "color"
|
|
Name 19 "fromV"
|
|
Name 28 "gl_PerVertex"
|
|
MemberName 28(gl_PerVertex) 0 "gl_Position"
|
|
MemberName 28(gl_PerVertex) 1 "gl_PointSize"
|
|
MemberName 28(gl_PerVertex) 2 "gl_ClipDistance"
|
|
Name 30 ""
|
|
Name 31 "gl_PerVertex"
|
|
MemberName 31(gl_PerVertex) 0 "gl_Position"
|
|
MemberName 31(gl_PerVertex) 1 "gl_PointSize"
|
|
MemberName 31(gl_PerVertex) 2 "gl_ClipDistance"
|
|
Name 34 "gl_in"
|
|
Name 48 "gl_PrimitiveID"
|
|
Name 50 "gl_PrimitiveIDIn"
|
|
Name 52 "gl_Layer"
|
|
Name 69 "toFragment"
|
|
MemberName 69(toFragment) 0 "color"
|
|
Name 71 "toF"
|
|
Decorate 9(fromVertex) Block
|
|
Decorate 9(fromVertex) Stream 3
|
|
Decorate 11 Stream 3
|
|
Decorate 14(fromVertex) Block
|
|
Decorate 28(gl_PerVertex) Block
|
|
Decorate 28(gl_PerVertex) Stream 0
|
|
Decorate 30 Stream 0
|
|
Decorate 31(gl_PerVertex) Block
|
|
Decorate 48(gl_PrimitiveID) Stream 0
|
|
Decorate 48(gl_PrimitiveID) BuiltIn PrimitiveId
|
|
Decorate 50(gl_PrimitiveIDIn) BuiltIn PrimitiveId
|
|
Decorate 52(gl_Layer) Stream 0
|
|
Decorate 52(gl_Layer) BuiltIn Layer
|
|
Decorate 69(toFragment) Block
|
|
Decorate 69(toFragment) Stream 3
|
|
Decorate 71(toF) Stream 3
|
|
Decorate 71(toF) NoStaticUse
|
|
2: TypeVoid
|
|
3: TypeFunction 2
|
|
7: TypeFloat 32
|
|
8: TypeVector 7(float) 3
|
|
9(fromVertex): TypeStruct 8(fvec3)
|
|
10: TypePointer Output 9(fromVertex)
|
|
11: 10(ptr) Variable Output
|
|
12: TypeInt 32 1
|
|
13: 12(int) Constant 0
|
|
14(fromVertex): TypeStruct 8(fvec3)
|
|
15: TypeInt 32 0
|
|
16: 15(int) Constant 6
|
|
17: TypeArray 14(fromVertex) 16
|
|
18: TypePointer Input 17
|
|
19(fromV): 18(ptr) Variable Input
|
|
20: TypePointer Input 8(fvec3)
|
|
23: TypePointer Output 8(fvec3)
|
|
25: TypeVector 7(float) 4
|
|
26: 15(int) Constant 1
|
|
27: TypeArray 7(float) 26
|
|
28(gl_PerVertex): TypeStruct 25(fvec4) 7(float) 27
|
|
29: TypePointer Output 28(gl_PerVertex)
|
|
30: 29(ptr) Variable Output
|
|
31(gl_PerVertex): TypeStruct 25(fvec4) 7(float) 27
|
|
32: TypeArray 31(gl_PerVertex) 16
|
|
33: TypePointer Input 32
|
|
34(gl_in): 33(ptr) Variable Input
|
|
35: TypePointer Input 25(fvec4)
|
|
38: TypePointer Output 25(fvec4)
|
|
40: 12(int) Constant 1
|
|
41: 12(int) Constant 3
|
|
42: TypePointer Input 7(float)
|
|
45: TypePointer Output 7(float)
|
|
47: TypePointer Output 12(int)
|
|
48(gl_PrimitiveID): 47(ptr) Variable Output
|
|
49: TypePointer Input 12(int)
|
|
50(gl_PrimitiveIDIn): 49(ptr) Variable Input
|
|
52(gl_Layer): 47(ptr) Variable Output
|
|
53: 12(int) Constant 2
|
|
54: 7(float) Constant 1073741824
|
|
69(toFragment): TypeStruct 8(fvec3)
|
|
70: TypePointer Output 69(toFragment)
|
|
71(toF): 70(ptr) Variable Output
|
|
4(main): 2 Function None 3
|
|
5: Label
|
|
21: 20(ptr) AccessChain 19(fromV) 13 13
|
|
22: 8(fvec3) Load 21
|
|
24: 23(ptr) AccessChain 11 13
|
|
Store 24 22
|
|
36: 35(ptr) AccessChain 34(gl_in) 13 13
|
|
37: 25(fvec4) Load 36
|
|
39: 38(ptr) AccessChain 30 13
|
|
Store 39 37
|
|
43: 42(ptr) AccessChain 34(gl_in) 41 40
|
|
44: 7(float) Load 43
|
|
46: 45(ptr) AccessChain 30 40
|
|
Store 46 44
|
|
51: 12(int) Load 50(gl_PrimitiveIDIn)
|
|
Store 48(gl_PrimitiveID) 51
|
|
Store 52(gl_Layer) 53
|
|
EmitVertex
|
|
55: 20(ptr) AccessChain 19(fromV) 13 13
|
|
56: 8(fvec3) Load 55
|
|
57: 8(fvec3) VectorTimesScalar 54 56
|
|
58: 23(ptr) AccessChain 11 13
|
|
Store 58 57
|
|
59: 35(ptr) AccessChain 34(gl_in) 13 13
|
|
60: 25(fvec4) Load 59
|
|
61: 25(fvec4) VectorTimesScalar 54 60
|
|
62: 38(ptr) AccessChain 30 13
|
|
Store 62 61
|
|
63: 42(ptr) AccessChain 34(gl_in) 41 40
|
|
64: 7(float) Load 63
|
|
65: 7(float) FMul 54 64
|
|
66: 45(ptr) AccessChain 30 40
|
|
Store 66 65
|
|
67: 12(int) Load 50(gl_PrimitiveIDIn)
|
|
68: 12(int) IAdd 67 40
|
|
Store 48(gl_PrimitiveID) 68
|
|
Store 52(gl_Layer) 41
|
|
EmitVertex
|
|
EndPrimitive
|
|
Branch 6
|
|
6: Label
|
|
Return
|
|
FunctionEnd
|