• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1spv.test.frag
2// Module Version 10000
3// Generated by (magic number): 80007
4// Id's are bound by 55
5
6                              Capability Shader
7               1:             ExtInstImport  "GLSL.std.450"
8                              MemoryModel Logical GLSL450
9                              EntryPoint Fragment 4  "main" 20 22 37 43 46 49
10                              ExecutionMode 4 OriginUpperLeft
11                              Source GLSL 400
12                              Name 4  "main"
13                              Name 8  "blendscale"
14                              Name 12  "v"
15                              Name 16  "texSampler2D"
16                              Name 20  "t"
17                              Name 22  "scale"
18                              Name 29  "w"
19                              Name 33  "texSampler3D"
20                              Name 37  "coords"
21                              Name 43  "gl_FragColor"
22                              Name 46  "u"
23                              Name 49  "blend"
24                              Decorate 16(texSampler2D) DescriptorSet 0
25                              Decorate 16(texSampler2D) Binding 0
26                              Decorate 33(texSampler3D) DescriptorSet 0
27                              Decorate 33(texSampler3D) Binding 0
28                              Decorate 43(gl_FragColor) Location 0
29               2:             TypeVoid
30               3:             TypeFunction 2
31               6:             TypeFloat 32
32               7:             TypePointer Function 6(float)
33               9:    6(float) Constant 1071971828
34              10:             TypeVector 6(float) 4
35              11:             TypePointer Function 10(fvec4)
36              13:             TypeImage 6(float) 2D sampled format:Unknown
37              14:             TypeSampledImage 13
38              15:             TypePointer UniformConstant 14
3916(texSampler2D):     15(ptr) Variable UniformConstant
40              18:             TypeVector 6(float) 2
41              19:             TypePointer Input 18(fvec2)
42           20(t):     19(ptr) Variable Input
43       22(scale):     19(ptr) Variable Input
44              30:             TypeImage 6(float) 3D sampled format:Unknown
45              31:             TypeSampledImage 30
46              32:             TypePointer UniformConstant 31
4733(texSampler3D):     32(ptr) Variable UniformConstant
48              35:             TypeVector 6(float) 3
49              36:             TypePointer Input 35(fvec3)
50      37(coords):     36(ptr) Variable Input
51              42:             TypePointer Output 10(fvec4)
5243(gl_FragColor):     42(ptr) Variable Output
53              45:             TypePointer Input 10(fvec4)
54           46(u):     45(ptr) Variable Input
55              48:             TypePointer Input 6(float)
56       49(blend):     48(ptr) Variable Input
57         4(main):           2 Function None 3
58               5:             Label
59   8(blendscale):      7(ptr) Variable Function
60           12(v):     11(ptr) Variable Function
61           29(w):     11(ptr) Variable Function
62                              Store 8(blendscale) 9
63              17:          14 Load 16(texSampler2D)
64              21:   18(fvec2) Load 20(t)
65              23:   18(fvec2) Load 22(scale)
66              24:   18(fvec2) FAdd 21 23
67              25:   18(fvec2) Load 22(scale)
68              26:   18(fvec2) FDiv 24 25
69              27:   10(fvec4) ImageSampleImplicitLod 17 26
70              28:   10(fvec4) VectorShuffle 27 27 3 2 1 0
71                              Store 12(v) 28
72              34:          31 Load 33(texSampler3D)
73              38:   35(fvec3) Load 37(coords)
74              39:   10(fvec4) ImageSampleImplicitLod 34 38
75              40:   10(fvec4) Load 12(v)
76              41:   10(fvec4) FAdd 39 40
77                              Store 29(w) 41
78              44:   10(fvec4) Load 29(w)
79              47:   10(fvec4) Load 46(u)
80              50:    6(float) Load 49(blend)
81              51:    6(float) Load 8(blendscale)
82              52:    6(float) FMul 50 51
83              53:   10(fvec4) CompositeConstruct 52 52 52 52
84              54:   10(fvec4) ExtInst 1(GLSL.std.450) 46(FMix) 44 47 53
85                              Store 43(gl_FragColor) 54
86                              Return
87                              FunctionEnd
88