1spv.1.4.texture.frag
2// Module Version 10400
3// Generated by (magic number): 8000a
4// Id's are bound by 79
5
6                              Capability Shader
7               1:             ExtInstImport  "GLSL.std.450"
8                              MemoryModel Logical GLSL450
9                              EntryPoint Fragment 4  "main" 15 19 28 40 51 54 76 78
10                              ExecutionMode 4 OriginUpperLeft
11                              Source GLSL 450
12                              Name 4  "main"
13                              Name 9  "color"
14                              Name 15  "texSampler2D"
15                              Name 19  "coords2D"
16                              Name 28  "itexSampler2D"
17                              Name 40  "utexSampler2D"
18                              Name 51  "iCoords2D"
19                              Name 54  "iLod"
20                              Name 76  "t"
21                              Name 78  "color"
22                              Decorate 15(texSampler2D) DescriptorSet 0
23                              Decorate 15(texSampler2D) Binding 0
24                              Decorate 19(coords2D) Location 1
25                              Decorate 28(itexSampler2D) DescriptorSet 0
26                              Decorate 28(itexSampler2D) Binding 1
27                              Decorate 40(utexSampler2D) DescriptorSet 0
28                              Decorate 40(utexSampler2D) Binding 2
29                              Decorate 51(iCoords2D) Flat
30                              Decorate 51(iCoords2D) Location 2
31                              Decorate 54(iLod) Flat
32                              Decorate 54(iLod) Location 3
33                              Decorate 76(t) Location 0
34                              Decorate 78(color) Location 0
35               2:             TypeVoid
36               3:             TypeFunction 2
37               6:             TypeFloat 32
38               7:             TypeVector 6(float) 4
39               8:             TypePointer Function 7(fvec4)
40              10:    6(float) Constant 0
41              11:    7(fvec4) ConstantComposite 10 10 10 10
42              12:             TypeImage 6(float) 2D sampled format:Unknown
43              13:             TypeSampledImage 12
44              14:             TypePointer UniformConstant 13
4515(texSampler2D):     14(ptr) Variable UniformConstant
46              17:             TypeVector 6(float) 2
47              18:             TypePointer Input 17(fvec2)
48    19(coords2D):     18(ptr) Variable Input
49              24:             TypeInt 32 1
50              25:             TypeImage 24(int) 2D sampled format:Unknown
51              26:             TypeSampledImage 25
52              27:             TypePointer UniformConstant 26
5328(itexSampler2D):     27(ptr) Variable UniformConstant
54              31:             TypeVector 24(int) 4
55              36:             TypeInt 32 0
56              37:             TypeImage 36(int) 2D sampled format:Unknown
57              38:             TypeSampledImage 37
58              39:             TypePointer UniformConstant 38
5940(utexSampler2D):     39(ptr) Variable UniformConstant
60              43:             TypeVector 36(int) 4
61              49:             TypeVector 24(int) 2
62              50:             TypePointer Input 49(ivec2)
63   51(iCoords2D):     50(ptr) Variable Input
64              53:             TypePointer Input 24(int)
65        54(iLod):     53(ptr) Variable Input
66           76(t):     18(ptr) Variable Input
67              77:             TypePointer Output 7(fvec4)
68       78(color):     77(ptr) Variable Output
69         4(main):           2 Function None 3
70               5:             Label
71        9(color):      8(ptr) Variable Function
72                              Store 9(color) 11
73              16:          13 Load 15(texSampler2D)
74              20:   17(fvec2) Load 19(coords2D)
75              21:    7(fvec4) ImageSampleImplicitLod 16 20
76              22:    7(fvec4) Load 9(color)
77              23:    7(fvec4) FAdd 22 21
78                              Store 9(color) 23
79              29:          26 Load 28(itexSampler2D)
80              30:   17(fvec2) Load 19(coords2D)
81              32:   31(ivec4) ImageSampleImplicitLod 29 30 SignExtend
82              33:    7(fvec4) ConvertSToF 32
83              34:    7(fvec4) Load 9(color)
84              35:    7(fvec4) FAdd 34 33
85                              Store 9(color) 35
86              41:          38 Load 40(utexSampler2D)
87              42:   17(fvec2) Load 19(coords2D)
88              44:   43(ivec4) ImageSampleImplicitLod 41 42 ZeroExtend
89              45:    7(fvec4) ConvertUToF 44
90              46:    7(fvec4) Load 9(color)
91              47:    7(fvec4) FAdd 46 45
92                              Store 9(color) 47
93              48:          13 Load 15(texSampler2D)
94              52:   49(ivec2) Load 51(iCoords2D)
95              55:     24(int) Load 54(iLod)
96              56:          12 Image 48
97              57:    7(fvec4) ImageFetch 56 52 Lod 55
98              58:    7(fvec4) Load 9(color)
99              59:    7(fvec4) FAdd 58 57
100                              Store 9(color) 59
101              60:          26 Load 28(itexSampler2D)
102              61:   49(ivec2) Load 51(iCoords2D)
103              62:     24(int) Load 54(iLod)
104              63:          25 Image 60
105              64:   31(ivec4) ImageFetch 63 61 Lod SignExtend 62
106              65:    7(fvec4) ConvertSToF 64
107              66:    7(fvec4) Load 9(color)
108              67:    7(fvec4) FAdd 66 65
109                              Store 9(color) 67
110              68:          38 Load 40(utexSampler2D)
111              69:   49(ivec2) Load 51(iCoords2D)
112              70:     24(int) Load 54(iLod)
113              71:          37 Image 68
114              72:   43(ivec4) ImageFetch 71 69 Lod ZeroExtend 70
115              73:    7(fvec4) ConvertUToF 72
116              74:    7(fvec4) Load 9(color)
117              75:    7(fvec4) FAdd 74 73
118                              Store 9(color) 75
119                              Return
120                              FunctionEnd
121