blob: 8bed80753e7ac6b654079d7fa624deeccda15374 [file] [log] [blame]
John Kessenichcc16fa02015-12-10 18:01:54 -07001spv.test.frag
2Warning, version 400 is not yet complete; most version-specific features are present, but some are missing.
3
4
5Linked fragment stage:
6
7
8// Module Version 10000
9// Generated by (magic number): 80001
10// Id's are bound by 55
11
12 Capability Shader
13 1: ExtInstImport "GLSL.std.450"
14 MemoryModel Logical GLSL450
15 EntryPoint Fragment 4 "main" 20 38
16 ExecutionMode 4 OriginLowerLeft
17 Source GLSL 400
18 Name 4 "main"
19 Name 8 "blendscale"
20 Name 12 "v"
21 Name 16 "texSampler2D"
22 Name 20 "t"
23 Name 23 "scale"
24 Name 30 "w"
25 Name 34 "texSampler3D"
26 Name 38 "coords"
27 Name 44 "gl_FragColor"
28 Name 47 "u"
29 Name 50 "blend"
30 2: TypeVoid
31 3: TypeFunction 2
32 6: TypeFloat 32
33 7: TypePointer Function 6(float)
34 9: 6(float) Constant 1071971828
35 10: TypeVector 6(float) 4
36 11: TypePointer Function 10(fvec4)
37 13: TypeImage 6(float) 2D sampled format:Unknown
38 14: TypeSampledImage 13
39 15: TypePointer UniformConstant 14
4016(texSampler2D): 15(ptr) Variable UniformConstant
41 18: TypeVector 6(float) 2
42 19: TypePointer Input 18(fvec2)
43 20(t): 19(ptr) Variable Input
44 22: TypePointer UniformConstant 18(fvec2)
45 23(scale): 22(ptr) Variable UniformConstant
46 31: TypeImage 6(float) 3D sampled format:Unknown
47 32: TypeSampledImage 31
48 33: TypePointer UniformConstant 32
4934(texSampler3D): 33(ptr) Variable UniformConstant
50 36: TypeVector 6(float) 3
51 37: TypePointer Input 36(fvec3)
52 38(coords): 37(ptr) Variable Input
53 43: TypePointer Output 10(fvec4)
5444(gl_FragColor): 43(ptr) Variable Output
55 46: TypePointer UniformConstant 10(fvec4)
56 47(u): 46(ptr) Variable UniformConstant
57 49: TypePointer UniformConstant 6(float)
58 50(blend): 49(ptr) Variable UniformConstant
59 4(main): 2 Function None 3
60 5: Label
61 8(blendscale): 7(ptr) Variable Function
62 12(v): 11(ptr) Variable Function
63 30(w): 11(ptr) Variable Function
64 Store 8(blendscale) 9
65 17: 14 Load 16(texSampler2D)
66 21: 18(fvec2) Load 20(t)
67 24: 18(fvec2) Load 23(scale)
68 25: 18(fvec2) FAdd 21 24
69 26: 18(fvec2) Load 23(scale)
70 27: 18(fvec2) FDiv 25 26
71 28: 10(fvec4) ImageSampleImplicitLod 17 27
72 29: 10(fvec4) VectorShuffle 28 28 3 2 1 0
73 Store 12(v) 29
74 35: 32 Load 34(texSampler3D)
75 39: 36(fvec3) Load 38(coords)
76 40: 10(fvec4) ImageSampleImplicitLod 35 39
77 41: 10(fvec4) Load 12(v)
78 42: 10(fvec4) FAdd 40 41
79 Store 30(w) 42
80 45: 10(fvec4) Load 30(w)
81 48: 10(fvec4) Load 47(u)
82 51: 6(float) Load 50(blend)
83 52: 6(float) Load 8(blendscale)
84 53: 6(float) FMul 51 52
85 54: 10(fvec4) ExtInst 1(GLSL.std.450) 46(FMix) 45 48 53
86 Store 44(gl_FragColor) 54
87 Return
88 FunctionEnd