• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 10(bufInst) Binding 0
30                              Decorate 26(gl_GlobalInvocationID) BuiltIn GlobalInvocationId
31                              Decorate 33(gl_LocalInvocationID) BuiltIn LocalInvocationId
32                              Decorate 59(destTex) DescriptorSet 0
33                              Decorate 59(destTex) Binding 0
34                              Decorate 59(destTex) NonReadable
35               2:             TypeVoid
36               3:             TypeFunction 2
37               6:             TypeFloat 32
38               7:             TypeFloat 64
39      8(bufName):             TypeStruct 6(float) 7(float64_t)
40               9:             TypePointer Uniform 8(bufName)
41     10(bufInst):      9(ptr) Variable Uniform
42              11:             TypeInt 32 1
43              12:     11(int) Constant 1
44              13:7(float64_t) Constant 1413754136 1074340347
45              14:             TypePointer Uniform 7(float64_t)
46              16:     11(int) Constant 0
47              17:    6(float) Constant 1095307129
48              18:             TypePointer Uniform 6(float)
49              20:             TypeVector 11(int) 2
50              21:             TypePointer Function 20(ivec2)
51              23:             TypeInt 32 0
52              24:             TypeVector 23(int) 3
53              25:             TypePointer Input 24(ivec3)
5426(gl_GlobalInvocationID):     25(ptr) Variable Input
55              27:             TypeVector 23(int) 2
56              31:             TypePointer Function 7(float64_t)
5733(gl_LocalInvocationID):     25(ptr) Variable Input
58              37:     11(int) Constant 8
59              40:             TypeVector 6(float) 2
60              42:    6(float) Constant 1090519040
61              47:             TypeVector 7(float64_t) 4
62              48:             TypePointer Function 47(f64vec4)
63              50:7(float64_t) Constant 2576980378 1071225241
64              51:7(float64_t) Constant 2576980378 1070176665
65              52:7(float64_t) Constant 858993459 1070805811
66              53: 47(f64vec4) ConstantComposite 50 51 52 50
67              55:7(float64_t) Constant 0 1072693248
68              56:7(float64_t) Constant 3229815407 1074340298
69              57:             TypeImage 6(float) 2D nonsampled format:Unknown
70              58:             TypePointer UniformConstant 57
71     59(destTex):     58(ptr) Variable UniformConstant
72         4(main):           2 Function None 3
73               5:             Label
74    22(storePos):     21(ptr) Variable Function
75   32(localCoef):     31(ptr) Variable Function
76          49(aa):     48(ptr) Variable Function
77  54(globalCoef):     31(ptr) Variable Function
78              15:     14(ptr) AccessChain 10(bufInst) 12
79                              Store 15 13
80              19:     18(ptr) AccessChain 10(bufInst) 16
81                              Store 19 17
82              28:   24(ivec3) Load 26(gl_GlobalInvocationID)
83              29:   27(ivec2) VectorShuffle 28 28 0 1
84              30:   20(ivec2) Bitcast 29
85                              Store 22(storePos) 30
86              34:   24(ivec3) Load 33(gl_LocalInvocationID)
87              35:   27(ivec2) VectorShuffle 34 34 0 1
88              36:   20(ivec2) Bitcast 35
89              38:   20(ivec2) CompositeConstruct 37 37
90              39:   20(ivec2) ISub 36 38
91              41:   40(fvec2) ConvertSToF 39
92              43:   40(fvec2) CompositeConstruct 42 42
93              44:   40(fvec2) FDiv 41 43
94              45:    6(float) ExtInst 1(GLSL.std.450) 66(Length) 44
95              46:7(float64_t) FConvert 45
96                              Store 32(localCoef) 46
97                              Store 49(aa) 53
98                              Store 54(globalCoef) 55
99                              Return
100                              FunctionEnd
101