• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1spv.1.4.image.frag
2// Module Version 10400
3// Generated by (magic number): 8000a
4// Id's are bound by 104
5
6                              Capability Shader
7                              Capability StorageImageMultisample
8               1:             ExtInstImport  "GLSL.std.450"
9                              MemoryModel Logical GLSL450
10                              EntryPoint Fragment 4  "main" 26 30 40 52 64 77 89 100 103
11                              ExecutionMode 4 OriginUpperLeft
12                              Source GLSL 450
13                              Name 4  "main"
14                              Name 9  "v"
15                              Name 15  "iv"
16                              Name 21  "uv"
17                              Name 26  "i2D"
18                              Name 30  "ic2D"
19                              Name 40  "ii2D"
20                              Name 52  "ui2D"
21                              Name 64  "i2DMS"
22                              Name 77  "ii2DMS"
23                              Name 89  "ui2DMS"
24                              Name 100  "fragData"
25                              Name 103  "value"
26                              Decorate 26(i2D) DescriptorSet 0
27                              Decorate 26(i2D) Binding 1
28                              Decorate 30(ic2D) Flat
29                              Decorate 30(ic2D) Location 0
30                              Decorate 40(ii2D) DescriptorSet 0
31                              Decorate 40(ii2D) Binding 12
32                              Decorate 52(ui2D) DescriptorSet 0
33                              Decorate 52(ui2D) Binding 12
34                              Decorate 64(i2DMS) DescriptorSet 0
35                              Decorate 64(i2DMS) Binding 9
36                              Decorate 77(ii2DMS) DescriptorSet 0
37                              Decorate 77(ii2DMS) Binding 13
38                              Decorate 89(ui2DMS) DescriptorSet 0
39                              Decorate 89(ui2DMS) Binding 13
40                              Decorate 100(fragData) Location 0
41                              Decorate 103(value) Flat
42                              Decorate 103(value) Location 1
43               2:             TypeVoid
44               3:             TypeFunction 2
45               6:             TypeFloat 32
46               7:             TypeVector 6(float) 4
47               8:             TypePointer Function 7(fvec4)
48              10:    6(float) Constant 0
49              11:    7(fvec4) ConstantComposite 10 10 10 10
50              12:             TypeInt 32 1
51              13:             TypeVector 12(int) 4
52              14:             TypePointer Function 13(ivec4)
53              16:     12(int) Constant 0
54              17:   13(ivec4) ConstantComposite 16 16 16 16
55              18:             TypeInt 32 0
56              19:             TypeVector 18(int) 4
57              20:             TypePointer Function 19(ivec4)
58              22:     18(int) Constant 0
59              23:   19(ivec4) ConstantComposite 22 22 22 22
60              24:             TypeImage 6(float) 2D nonsampled format:Rgba32f
61              25:             TypePointer UniformConstant 24
62         26(i2D):     25(ptr) Variable UniformConstant
63              28:             TypeVector 12(int) 2
64              29:             TypePointer Input 28(ivec2)
65        30(ic2D):     29(ptr) Variable Input
66              38:             TypeImage 12(int) 2D nonsampled format:R32i
67              39:             TypePointer UniformConstant 38
68        40(ii2D):     39(ptr) Variable UniformConstant
69              50:             TypeImage 18(int) 2D nonsampled format:R32ui
70              51:             TypePointer UniformConstant 50
71        52(ui2D):     51(ptr) Variable UniformConstant
72              62:             TypeImage 6(float) 2D multi-sampled nonsampled format:Rgba32f
73              63:             TypePointer UniformConstant 62
74       64(i2DMS):     63(ptr) Variable UniformConstant
75              67:     12(int) Constant 1
76              73:     12(int) Constant 2
77              75:             TypeImage 12(int) 2D multi-sampled nonsampled format:R32i
78              76:             TypePointer UniformConstant 75
79      77(ii2DMS):     76(ptr) Variable UniformConstant
80              87:             TypeImage 18(int) 2D multi-sampled nonsampled format:R32ui
81              88:             TypePointer UniformConstant 87
82      89(ui2DMS):     88(ptr) Variable UniformConstant
83              99:             TypePointer Output 7(fvec4)
84   100(fragData):     99(ptr) Variable Output
85             102:             TypePointer Input 18(int)
86      103(value):    102(ptr) Variable Input
87         4(main):           2 Function None 3
88               5:             Label
89            9(v):      8(ptr) Variable Function
90          15(iv):     14(ptr) Variable Function
91          21(uv):     20(ptr) Variable Function
92                              Store 9(v) 11
93                              Store 15(iv) 17
94                              Store 21(uv) 23
95              27:          24 Load 26(i2D)
96              31:   28(ivec2) Load 30(ic2D)
97              32:    7(fvec4) ImageRead 27 31
98              33:    7(fvec4) Load 9(v)
99              34:    7(fvec4) FAdd 33 32
100                              Store 9(v) 34
101              35:          24 Load 26(i2D)
102              36:   28(ivec2) Load 30(ic2D)
103              37:    7(fvec4) Load 9(v)
104                              ImageWrite 35 36 37
105              41:          38 Load 40(ii2D)
106              42:   28(ivec2) Load 30(ic2D)
107              43:   13(ivec4) ImageRead 41 42 SignExtend
108              44:    7(fvec4) ConvertSToF 43
109              45:    7(fvec4) Load 9(v)
110              46:    7(fvec4) FAdd 45 44
111                              Store 9(v) 46
112              47:          38 Load 40(ii2D)
113              48:   28(ivec2) Load 30(ic2D)
114              49:   13(ivec4) Load 15(iv)
115                              ImageWrite 47 48 49 SignExtend
116              53:          50 Load 52(ui2D)
117              54:   28(ivec2) Load 30(ic2D)
118              55:   19(ivec4) ImageRead 53 54 ZeroExtend
119              56:    7(fvec4) ConvertUToF 55
120              57:    7(fvec4) Load 9(v)
121              58:    7(fvec4) FAdd 57 56
122                              Store 9(v) 58
123              59:          50 Load 52(ui2D)
124              60:   28(ivec2) Load 30(ic2D)
125              61:   19(ivec4) Load 21(uv)
126                              ImageWrite 59 60 61 ZeroExtend
127              65:          62 Load 64(i2DMS)
128              66:   28(ivec2) Load 30(ic2D)
129              68:    7(fvec4) ImageRead 65 66 Sample 67
130              69:    7(fvec4) Load 9(v)
131              70:    7(fvec4) FAdd 69 68
132                              Store 9(v) 70
133              71:          62 Load 64(i2DMS)
134              72:   28(ivec2) Load 30(ic2D)
135              74:    7(fvec4) Load 9(v)
136                              ImageWrite 71 72 74 Sample 73
137              78:          75 Load 77(ii2DMS)
138              79:   28(ivec2) Load 30(ic2D)
139              80:   13(ivec4) ImageRead 78 79 Sample SignExtend 67
140              81:    7(fvec4) ConvertSToF 80
141              82:    7(fvec4) Load 9(v)
142              83:    7(fvec4) FAdd 82 81
143                              Store 9(v) 83
144              84:          75 Load 77(ii2DMS)
145              85:   28(ivec2) Load 30(ic2D)
146              86:   13(ivec4) Load 15(iv)
147                              ImageWrite 84 85 86 Sample SignExtend 73
148              90:          87 Load 89(ui2DMS)
149              91:   28(ivec2) Load 30(ic2D)
150              92:   19(ivec4) ImageRead 90 91 Sample ZeroExtend 67
151              93:    7(fvec4) ConvertUToF 92
152              94:    7(fvec4) Load 9(v)
153              95:    7(fvec4) FAdd 94 93
154                              Store 9(v) 95
155              96:          87 Load 89(ui2DMS)
156              97:   28(ivec2) Load 30(ic2D)
157              98:   19(ivec4) Load 21(uv)
158                              ImageWrite 96 97 98 Sample ZeroExtend 73
159             101:    7(fvec4) Load 9(v)
160                              Store 100(fragData) 101
161                              Return
162                              FunctionEnd
163