1spv.precise.tesc
2// Module Version 10000
3// Generated by (magic number): 80007
4// Id's are bound by 72
5
6                              Capability Tessellation
7               1:             ExtInstImport  "GLSL.std.450"
8                              MemoryModel Logical GLSL450
9                              EntryPoint TessellationControl 4  "main" 12 15 20 30 40 45
10                              ExecutionMode 4 OutputVertices 3
11                              Source ESSL 310
12                              SourceExtension  "GL_EXT_gpu_shader5"
13                              SourceExtension  "GL_EXT_shader_io_blocks"
14                              SourceExtension  "GL_EXT_tessellation_shader"
15                              Name 4  "main"
16                              Name 12  "in_te_position"
17                              Name 15  "gl_InvocationID"
18                              Name 20  "in_tc_position"
19                              Name 30  "gl_TessLevelInner"
20                              Name 40  "gl_TessLevelOuter"
21                              Name 45  "in_tc_tessParam"
22                              Decorate 12(in_te_position) Location 0
23                              Decorate 15(gl_InvocationID) BuiltIn InvocationId
24                              Decorate 20(in_tc_position) Location 0
25                              Decorate 30(gl_TessLevelInner) Patch
26                              Decorate 30(gl_TessLevelInner) BuiltIn TessLevelInner
27                              Decorate 40(gl_TessLevelOuter) Patch
28                              Decorate 40(gl_TessLevelOuter) BuiltIn TessLevelOuter
29                              Decorate 45(in_tc_tessParam) Location 1
30                              Decorate 52 NoContraction
31                              Decorate 53 NoContraction
32                              Decorate 54 NoContraction
33                              Decorate 60 NoContraction
34                              Decorate 61 NoContraction
35                              Decorate 62 NoContraction
36                              Decorate 68 NoContraction
37                              Decorate 69 NoContraction
38                              Decorate 70 NoContraction
39               2:             TypeVoid
40               3:             TypeFunction 2
41               6:             TypeFloat 32
42               7:             TypeVector 6(float) 2
43               8:             TypeInt 32 0
44               9:      8(int) Constant 3
45              10:             TypeArray 7(fvec2) 9
46              11:             TypePointer Output 10
4712(in_te_position):     11(ptr) Variable Output
48              13:             TypeInt 32 1
49              14:             TypePointer Input 13(int)
5015(gl_InvocationID):     14(ptr) Variable Input
51              17:      8(int) Constant 32
52              18:             TypeArray 7(fvec2) 17
53              19:             TypePointer Input 18
5420(in_tc_position):     19(ptr) Variable Input
55              22:             TypePointer Input 7(fvec2)
56              25:             TypePointer Output 7(fvec2)
57              27:      8(int) Constant 2
58              28:             TypeArray 6(float) 27
59              29:             TypePointer Output 28
6030(gl_TessLevelInner):     29(ptr) Variable Output
61              31:     13(int) Constant 0
62              32:    6(float) Constant 1084227584
63              33:             TypePointer Output 6(float)
64              35:     13(int) Constant 1
65              37:      8(int) Constant 4
66              38:             TypeArray 6(float) 37
67              39:             TypePointer Output 38
6840(gl_TessLevelOuter):     39(ptr) Variable Output
69              41:    6(float) Constant 1065353216
70              42:    6(float) Constant 1105985536
71              43:             TypeArray 6(float) 17
72              44:             TypePointer Input 43
7345(in_tc_tessParam):     44(ptr) Variable Input
74              46:             TypePointer Input 6(float)
75              49:     13(int) Constant 2
76         4(main):           2 Function None 3
77               5:             Label
78              16:     13(int) Load 15(gl_InvocationID)
79              21:     13(int) Load 15(gl_InvocationID)
80              23:     22(ptr) AccessChain 20(in_tc_position) 21
81              24:    7(fvec2) Load 23
82              26:     25(ptr) AccessChain 12(in_te_position) 16
83                              Store 26 24
84              34:     33(ptr) AccessChain 30(gl_TessLevelInner) 31
85                              Store 34 32
86              36:     33(ptr) AccessChain 30(gl_TessLevelInner) 35
87                              Store 36 32
88              47:     46(ptr) AccessChain 45(in_tc_tessParam) 35
89              48:    6(float) Load 47
90              50:     46(ptr) AccessChain 45(in_tc_tessParam) 49
91              51:    6(float) Load 50
92              52:    6(float) FAdd 48 51
93              53:    6(float) FMul 42 52
94              54:    6(float) FAdd 41 53
95              55:     33(ptr) AccessChain 40(gl_TessLevelOuter) 31
96                              Store 55 54
97              56:     46(ptr) AccessChain 45(in_tc_tessParam) 49
98              57:    6(float) Load 56
99              58:     46(ptr) AccessChain 45(in_tc_tessParam) 31
100              59:    6(float) Load 58
101              60:    6(float) FAdd 57 59
102              61:    6(float) FMul 42 60
103              62:    6(float) FAdd 41 61
104              63:     33(ptr) AccessChain 40(gl_TessLevelOuter) 35
105                              Store 63 62
106              64:     46(ptr) AccessChain 45(in_tc_tessParam) 31
107              65:    6(float) Load 64
108              66:     46(ptr) AccessChain 45(in_tc_tessParam) 35
109              67:    6(float) Load 66
110              68:    6(float) FAdd 65 67
111              69:    6(float) FMul 42 68
112              70:    6(float) FAdd 41 69
113              71:     33(ptr) AccessChain 40(gl_TessLevelOuter) 49
114                              Store 71 70
115                              Return
116                              FunctionEnd
117