blob: 49ff1b85b5c9490c3b6966de59111b06cc05d2cf [file] [log] [blame]
spv.400.tesc
Warning, version 400 is not yet complete; most version-specific features are present, but some are missing.
Linked tessellation control stage:
// Module Version 99
// Generated by (magic number): 51a00bb
// Id's are bound by 91
Source GLSL 400
SourceExtension "GL_ARB_separate_shader_objects"
Capability Tessellation
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint TessellationControl 4 "main"
ExecutionMode 4 OutputVertices 4
Name 4 "main"
Name 13 "a"
Name 18 "p"
Name 20 "gl_PerVertex"
MemberName 20(gl_PerVertex) 0 "gl_Position"
MemberName 20(gl_PerVertex) 1 "gl_PointSize"
MemberName 20(gl_PerVertex) 2 "gl_ClipDistance"
Name 24 "gl_in"
Name 31 "ps"
Name 35 "cd"
Name 39 "pvi"
Name 41 "gl_PatchVerticesIn"
Name 43 "pid"
Name 44 "gl_PrimitiveID"
Name 46 "iid"
Name 47 "gl_InvocationID"
Name 49 "gl_PerVertex"
MemberName 49(gl_PerVertex) 0 "gl_Position"
MemberName 49(gl_PerVertex) 1 "gl_PointSize"
MemberName 49(gl_PerVertex) 2 "gl_ClipDistance"
Name 53 "gl_out"
Name 64 "gl_TessLevelOuter"
Name 71 "gl_TessLevelInner"
Name 76 "outa"
Name 77 "patchOut"
Name 81 "inb"
Name 82 "ind"
Name 85 "ivla"
Name 86 "ivlb"
Name 89 "ovla"
Name 90 "ovlb"
Decorate 20(gl_PerVertex) Block
Decorate 41(gl_PatchVerticesIn) BuiltIn PatchVertices
Decorate 44(gl_PrimitiveID) BuiltIn PrimitiveId
Decorate 47(gl_InvocationID) BuiltIn InvocationId
MemberDecorate 49(gl_PerVertex) 0 BuiltIn Position
MemberDecorate 49(gl_PerVertex) 1 BuiltIn PointSize
MemberDecorate 49(gl_PerVertex) 2 BuiltIn ClipDistance
Decorate 49(gl_PerVertex) Block
Decorate 64(gl_TessLevelOuter) Patch
Decorate 64(gl_TessLevelOuter) BuiltIn TessLevelOuter
Decorate 71(gl_TessLevelInner) Patch
Decorate 71(gl_TessLevelInner) BuiltIn TessLevelInner
Decorate 76(outa) NoStaticUse
Decorate 77(patchOut) Patch
Decorate 77(patchOut) NoStaticUse
Decorate 81(inb) NoStaticUse
Decorate 82(ind) NoStaticUse
Decorate 85(ivla) Location 3
Decorate 85(ivla) NoStaticUse
Decorate 86(ivlb) Location 4
Decorate 86(ivlb) NoStaticUse
Decorate 89(ovla) Location 3
Decorate 89(ovla) NoStaticUse
Decorate 90(ovlb) Location 4
Decorate 90(ovlb) NoStaticUse
2: TypeVoid
3: TypeFunction 2
7: TypeInt 32 0
8: 7(int) Constant 1
9: 7(int) Constant 1023
10: 7(int) Constant 0
11: TypeInt 32 1
12: TypePointer Function 11(int)
14: 11(int) Constant 5392
15: TypeFloat 32
16: TypeVector 15(float) 4
17: TypePointer Function 16(fvec4)
19: TypeArray 15(float) 8
20(gl_PerVertex): TypeStruct 16(fvec4) 15(float) 19
21: 7(int) Constant 32
22: TypeArray 20(gl_PerVertex) 21
23: TypePointer Input 22
24(gl_in): 23(ptr) Variable Input
25: 11(int) Constant 1
26: 11(int) Constant 0
27: TypePointer Input 16(fvec4)
30: TypePointer Function 15(float)
32: TypePointer Input 15(float)
36: 11(int) Constant 2
40: TypePointer Input 11(int)
41(gl_PatchVerticesIn): 40(ptr) Variable Input
44(gl_PrimitiveID): 40(ptr) Variable Input
47(gl_InvocationID): 40(ptr) Variable Input
49(gl_PerVertex): TypeStruct 16(fvec4) 15(float) 19
50: 7(int) Constant 4
51: TypeArray 49(gl_PerVertex) 50
52: TypePointer Output 51
53(gl_out): 52(ptr) Variable Output
55: TypePointer Output 16(fvec4)
58: TypePointer Output 15(float)
62: TypeArray 15(float) 50
63: TypePointer Output 62
64(gl_TessLevelOuter): 63(ptr) Variable Output
65: 11(int) Constant 3
66: 15(float) Constant 1078774989
68: 7(int) Constant 2
69: TypeArray 15(float) 68
70: TypePointer Output 69
71(gl_TessLevelInner): 70(ptr) Variable Output
72: 15(float) Constant 1067869798
74: TypeArray 11(int) 50
75: TypePointer PrivateGlobal 74
76(outa): 75(ptr) Variable PrivateGlobal
77(patchOut): 55(ptr) Variable Output
78: TypeVector 15(float) 2
79: TypeArray 78(fvec2) 21
80: TypePointer Input 79
81(inb): 80(ptr) Variable Input
82(ind): 80(ptr) Variable Input
83: TypeArray 16(fvec4) 21
84: TypePointer Input 83
85(ivla): 84(ptr) Variable Input
86(ivlb): 84(ptr) Variable Input
87: TypeArray 16(fvec4) 50
88: TypePointer Output 87
89(ovla): 88(ptr) Variable Output
90(ovlb): 88(ptr) Variable Output
4(main): 2 Function None 3
5: Label
13(a): 12(ptr) Variable Function
18(p): 17(ptr) Variable Function
31(ps): 30(ptr) Variable Function
35(cd): 30(ptr) Variable Function
39(pvi): 12(ptr) Variable Function
43(pid): 12(ptr) Variable Function
46(iid): 12(ptr) Variable Function
MemoryBarrier 8 9
ControlBarrier 8 8 10
Store 13(a) 14
28: 27(ptr) AccessChain 24(gl_in) 25 26
29: 16(fvec4) Load 28
Store 18(p) 29
33: 32(ptr) AccessChain 24(gl_in) 25 25
34: 15(float) Load 33
Store 31(ps) 34
37: 32(ptr) AccessChain 24(gl_in) 25 36 36
38: 15(float) Load 37
Store 35(cd) 38
42: 11(int) Load 41(gl_PatchVerticesIn)
Store 39(pvi) 42
45: 11(int) Load 44(gl_PrimitiveID)
Store 43(pid) 45
48: 11(int) Load 47(gl_InvocationID)
Store 46(iid) 48
54: 16(fvec4) Load 18(p)
56: 55(ptr) AccessChain 53(gl_out) 25 26
Store 56 54
57: 15(float) Load 31(ps)
59: 58(ptr) AccessChain 53(gl_out) 25 25
Store 59 57
60: 15(float) Load 35(cd)
61: 58(ptr) AccessChain 53(gl_out) 25 36 25
Store 61 60
67: 58(ptr) AccessChain 64(gl_TessLevelOuter) 65
Store 67 66
73: 58(ptr) AccessChain 71(gl_TessLevelInner) 25
Store 73 72
Branch 6
6: Label
Return
FunctionEnd