1spv.double.comp
2// Module Version 10000
3// Generated by (magic number): 80007
4// Id's are bound by 60
5
6                              Capability Shader
7                              Capability Float64
8               1:             ExtInstImport  "GLSL.std.450"
9                              MemoryModel Logical GLSL450
10                              EntryPoint GLCompute 4  "main" 26 33
11                              ExecutionMode 4 LocalSize 1 1 1
12                              Source GLSL 430
13                              Name 4  "main"
14                              Name 8  "bufName"
15                              MemberName 8(bufName) 0  "f"
16                              MemberName 8(bufName) 1  "d"
17                              Name 10  "bufInst"
18                              Name 22  "storePos"
19                              Name 26  "gl_GlobalInvocationID"
20                              Name 32  "localCoef"
21                              Name 33  "gl_LocalInvocationID"
22                              Name 49  "aa"
23                              Name 54  "globalCoef"
24                              Name 59  "destTex"
25                              MemberDecorate 8(bufName) 0 Offset 0
26                              MemberDecorate 8(bufName) 1 Offset 8
27                              Decorate 8(bufName) BufferBlock
28                              Decorate 10(bufInst) DescriptorSet 0
29                              Decorate 26(gl_GlobalInvocationID) BuiltIn GlobalInvocationId
30                              Decorate 33(gl_LocalInvocationID) BuiltIn LocalInvocationId
31                              Decorate 59(destTex) DescriptorSet 0
32                              Decorate 59(destTex) NonReadable
33               2:             TypeVoid
34               3:             TypeFunction 2
35               6:             TypeFloat 32
36               7:             TypeFloat 64
37      8(bufName):             TypeStruct 6(float) 7(float64_t)
38               9:             TypePointer Uniform 8(bufName)
39     10(bufInst):      9(ptr) Variable Uniform
40              11:             TypeInt 32 1
41              12:     11(int) Constant 1
42              13:7(float64_t) Constant 1413754136 1074340347
43              14:             TypePointer Uniform 7(float64_t)
44              16:     11(int) Constant 0
45              17:    6(float) Constant 1095307129
46              18:             TypePointer Uniform 6(float)
47              20:             TypeVector 11(int) 2
48              21:             TypePointer Function 20(ivec2)
49              23:             TypeInt 32 0
50              24:             TypeVector 23(int) 3
51              25:             TypePointer Input 24(ivec3)
5226(gl_GlobalInvocationID):     25(ptr) Variable Input
53              27:             TypeVector 23(int) 2
54              31:             TypePointer Function 7(float64_t)
5533(gl_LocalInvocationID):     25(ptr) Variable Input
56              37:     11(int) Constant 8
57              40:             TypeVector 6(float) 2
58              42:    6(float) Constant 1090519040
59              47:             TypeVector 7(float64_t) 4
60              48:             TypePointer Function 47(f64vec4)
61              50:7(float64_t) Constant 2576980378 1071225241
62              51:7(float64_t) Constant 2576980378 1070176665
63              52:7(float64_t) Constant 858993459 1070805811
64              53: 47(f64vec4) ConstantComposite 50 51 52 50
65              55:7(float64_t) Constant 0 1072693248
66              56:7(float64_t) Constant 3229815407 1074340298
67              57:             TypeImage 6(float) 2D nonsampled format:Unknown
68              58:             TypePointer UniformConstant 57
69     59(destTex):     58(ptr) Variable UniformConstant
70         4(main):           2 Function None 3
71               5:             Label
72    22(storePos):     21(ptr) Variable Function
73   32(localCoef):     31(ptr) Variable Function
74          49(aa):     48(ptr) Variable Function
75  54(globalCoef):     31(ptr) Variable Function
76              15:     14(ptr) AccessChain 10(bufInst) 12
77                              Store 15 13
78              19:     18(ptr) AccessChain 10(bufInst) 16
79                              Store 19 17
80              28:   24(ivec3) Load 26(gl_GlobalInvocationID)
81              29:   27(ivec2) VectorShuffle 28 28 0 1
82              30:   20(ivec2) Bitcast 29
83                              Store 22(storePos) 30
84              34:   24(ivec3) Load 33(gl_LocalInvocationID)
85              35:   27(ivec2) VectorShuffle 34 34 0 1
86              36:   20(ivec2) Bitcast 35
87              38:   20(ivec2) CompositeConstruct 37 37
88              39:   20(ivec2) ISub 36 38
89              41:   40(fvec2) ConvertSToF 39
90              43:   40(fvec2) CompositeConstruct 42 42
91              44:   40(fvec2) FDiv 41 43
92              45:    6(float) ExtInst 1(GLSL.std.450) 66(Length) 44
93              46:7(float64_t) FConvert 45
94                              Store 32(localCoef) 46
95                              Store 49(aa) 53
96                              Store 54(globalCoef) 55
97                              Return
98                              FunctionEnd
99