git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@31531 e7fa87d3-cd2b-0410-9028-fcbf551c1848
178 lines
9.3 KiB
Plaintext
178 lines
9.3 KiB
Plaintext
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 89
|
|
|
|
Source GLSL 400
|
|
SourceExtension "GL_ARB_separate_shader_objects"
|
|
1: ExtInstImport "GLSL.std.450"
|
|
MemoryModel Logical GLSL450
|
|
EntryPoint TessellationControl 4
|
|
ExecutionMode 4 OutputVertices 4
|
|
Name 4 "main"
|
|
Name 9 "a"
|
|
Name 14 "p"
|
|
Name 18 "gl_PerVertex"
|
|
MemberName 18(gl_PerVertex) 0 "gl_Position"
|
|
MemberName 18(gl_PerVertex) 1 "gl_PointSize"
|
|
MemberName 18(gl_PerVertex) 2 "gl_ClipDistance"
|
|
Name 22 "gl_in"
|
|
Name 29 "ps"
|
|
Name 33 "cd"
|
|
Name 37 "pvi"
|
|
Name 39 "gl_PatchVerticesIn"
|
|
Name 41 "pid"
|
|
Name 42 "gl_PrimitiveID"
|
|
Name 44 "iid"
|
|
Name 45 "gl_InvocationID"
|
|
Name 47 "gl_PerVertex"
|
|
MemberName 47(gl_PerVertex) 0 "gl_Position"
|
|
MemberName 47(gl_PerVertex) 1 "gl_PointSize"
|
|
MemberName 47(gl_PerVertex) 2 "gl_ClipDistance"
|
|
Name 51 "gl_out"
|
|
Name 62 "gl_TessLevelOuter"
|
|
Name 69 "gl_TessLevelInner"
|
|
Name 74 "outa"
|
|
Name 75 "patchOut"
|
|
Name 79 "inb"
|
|
Name 80 "ind"
|
|
Name 83 "ivla"
|
|
Name 84 "ivlb"
|
|
Name 87 "ovla"
|
|
Name 88 "ovlb"
|
|
Decorate 18(gl_PerVertex) Block
|
|
Decorate 39(gl_PatchVerticesIn) BuiltIn PatchVertices
|
|
Decorate 42(gl_PrimitiveID) BuiltIn PrimitiveId
|
|
Decorate 45(gl_InvocationID) BuiltIn InvocationId
|
|
MemberDecorate 47(gl_PerVertex) 0 BuiltIn Position
|
|
MemberDecorate 47(gl_PerVertex) 1 BuiltIn PointSize
|
|
MemberDecorate 47(gl_PerVertex) 2 BuiltIn ClipDistance
|
|
Decorate 47(gl_PerVertex) Block
|
|
Decorate 62(gl_TessLevelOuter) Patch
|
|
Decorate 62(gl_TessLevelOuter) BuiltIn TessLevelOuter
|
|
Decorate 69(gl_TessLevelInner) Patch
|
|
Decorate 69(gl_TessLevelInner) BuiltIn TessLevelInner
|
|
Decorate 74(outa) NoStaticUse
|
|
Decorate 75(patchOut) Patch
|
|
Decorate 75(patchOut) NoStaticUse
|
|
Decorate 79(inb) NoStaticUse
|
|
Decorate 80(ind) NoStaticUse
|
|
Decorate 83(ivla) Location 3
|
|
Decorate 83(ivla) NoStaticUse
|
|
Decorate 84(ivlb) Location 4
|
|
Decorate 84(ivlb) NoStaticUse
|
|
Decorate 87(ovla) Location 3
|
|
Decorate 87(ovla) NoStaticUse
|
|
Decorate 88(ovlb) Location 4
|
|
Decorate 88(ovlb) NoStaticUse
|
|
2: TypeVoid
|
|
3: TypeFunction 2
|
|
7: TypeInt 32 1
|
|
8: TypePointer Function 7(int)
|
|
10: 7(int) Constant 5392
|
|
11: TypeFloat 32
|
|
12: TypeVector 11(float) 4
|
|
13: TypePointer Function 12(fvec4)
|
|
15: TypeInt 32 0
|
|
16: 15(int) Constant 1
|
|
17: TypeArray 11(float) 16
|
|
18(gl_PerVertex): TypeStruct 12(fvec4) 11(float) 17
|
|
19: 15(int) Constant 32
|
|
20: TypeArray 18(gl_PerVertex) 19
|
|
21: TypePointer Input 20
|
|
22(gl_in): 21(ptr) Variable Input
|
|
23: 7(int) Constant 1
|
|
24: 7(int) Constant 0
|
|
25: TypePointer Input 12(fvec4)
|
|
28: TypePointer Function 11(float)
|
|
30: TypePointer Input 11(float)
|
|
34: 7(int) Constant 2
|
|
38: TypePointer Input 7(int)
|
|
39(gl_PatchVerticesIn): 38(ptr) Variable Input
|
|
42(gl_PrimitiveID): 38(ptr) Variable Input
|
|
45(gl_InvocationID): 38(ptr) Variable Input
|
|
47(gl_PerVertex): TypeStruct 12(fvec4) 11(float) 17
|
|
48: 15(int) Constant 4
|
|
49: TypeArray 47(gl_PerVertex) 48
|
|
50: TypePointer Output 49
|
|
51(gl_out): 50(ptr) Variable Output
|
|
53: TypePointer Output 12(fvec4)
|
|
56: TypePointer Output 11(float)
|
|
60: TypeArray 11(float) 48
|
|
61: TypePointer Output 60
|
|
62(gl_TessLevelOuter): 61(ptr) Variable Output
|
|
63: 7(int) Constant 3
|
|
64: 11(float) Constant 1078774989
|
|
66: 15(int) Constant 2
|
|
67: TypeArray 11(float) 66
|
|
68: TypePointer Output 67
|
|
69(gl_TessLevelInner): 68(ptr) Variable Output
|
|
70: 11(float) Constant 1067869798
|
|
72: TypeArray 7(int) 48
|
|
73: TypePointer PrivateGlobal 72
|
|
74(outa): 73(ptr) Variable PrivateGlobal
|
|
75(patchOut): 53(ptr) Variable Output
|
|
76: TypeVector 11(float) 2
|
|
77: TypeArray 76(fvec2) 19
|
|
78: TypePointer Input 77
|
|
79(inb): 78(ptr) Variable Input
|
|
80(ind): 78(ptr) Variable Input
|
|
81: TypeArray 12(fvec4) 19
|
|
82: TypePointer Input 81
|
|
83(ivla): 82(ptr) Variable Input
|
|
84(ivlb): 82(ptr) Variable Input
|
|
85: TypeArray 12(fvec4) 48
|
|
86: TypePointer Output 85
|
|
87(ovla): 86(ptr) Variable Output
|
|
88(ovlb): 86(ptr) Variable Output
|
|
4(main): 2 Function None 3
|
|
5: Label
|
|
9(a): 8(ptr) Variable Function
|
|
14(p): 13(ptr) Variable Function
|
|
29(ps): 28(ptr) Variable Function
|
|
33(cd): 28(ptr) Variable Function
|
|
37(pvi): 8(ptr) Variable Function
|
|
41(pid): 8(ptr) Variable Function
|
|
44(iid): 8(ptr) Variable Function
|
|
MemoryBarrier Device Relaxed SequentiallyConsistent Acquire Release UniformMemory SubgroupMemory WorkgroupLocalMemory WorkgroupGlobalMemory AtomicCounterMemory ImageMemory
|
|
ControlBarrier Device
|
|
Store 9(a) 10
|
|
26: 25(ptr) AccessChain 22(gl_in) 23 24
|
|
27: 12(fvec4) Load 26
|
|
Store 14(p) 27
|
|
31: 30(ptr) AccessChain 22(gl_in) 23 23
|
|
32: 11(float) Load 31
|
|
Store 29(ps) 32
|
|
35: 30(ptr) AccessChain 22(gl_in) 23 34 34
|
|
36: 11(float) Load 35
|
|
Store 33(cd) 36
|
|
40: 7(int) Load 39(gl_PatchVerticesIn)
|
|
Store 37(pvi) 40
|
|
43: 7(int) Load 42(gl_PrimitiveID)
|
|
Store 41(pid) 43
|
|
46: 7(int) Load 45(gl_InvocationID)
|
|
Store 44(iid) 46
|
|
52: 12(fvec4) Load 14(p)
|
|
54: 53(ptr) AccessChain 51(gl_out) 23 24
|
|
Store 54 52
|
|
55: 11(float) Load 29(ps)
|
|
57: 56(ptr) AccessChain 51(gl_out) 23 23
|
|
Store 57 55
|
|
58: 11(float) Load 33(cd)
|
|
59: 56(ptr) AccessChain 51(gl_out) 23 34 23
|
|
Store 59 58
|
|
65: 56(ptr) AccessChain 62(gl_TessLevelOuter) 63
|
|
Store 65 64
|
|
71: 56(ptr) AccessChain 69(gl_TessLevelInner) 23
|
|
Store 71 70
|
|
Branch 6
|
|
6: Label
|
|
Return
|
|
FunctionEnd
|