You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

199 lines
9.5 KiB

spv.deepRvalue.frag
// Module Version 10000
// Generated by (magic number): 8000a
// Id's are bound by 152
Capability Shader
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main" 146
ExecutionMode 4 OriginUpperLeft
Source GLSL 330
Name 4 "main"
Name 9 "v1"
Name 15 "v2"
Name 21 "v3"
Name 27 "v4"
Name 35 "m"
Name 63 "mm"
Name 80 "f"
Name 87 "g"
Name 106 "h"
Name 107 "i"
Name 111 "samp2D"
Name 131 "str"
MemberName 131(str) 0 "a"
MemberName 131(str) 1 "b"
MemberName 131(str) 2 "c"
Name 133 "t"
Name 146 "gl_FragColor"
Decorate 111(samp2D) DescriptorSet 0
Decorate 111(samp2D) Binding 0
Decorate 146(gl_FragColor) Location 0
2: TypeVoid
3: TypeFunction 2
6: TypeFloat 32
7: TypeVector 6(float) 4
8: TypePointer Private 7(fvec4)
9(v1): 8(ptr) Variable Private
10: 6(float) Constant 1073741824
11: 6(float) Constant 1077936128
12: 6(float) Constant 1084227584
13: 6(float) Constant 1088421888
14: 7(fvec4) ConstantComposite 10 11 12 13
15(v2): 8(ptr) Variable Private
16: 6(float) Constant 1093664768
17: 6(float) Constant 1095761920
18: 6(float) Constant 1099431936
19: 6(float) Constant 1100480512
20: 7(fvec4) ConstantComposite 16 17 18 19
21(v3): 8(ptr) Variable Private
22: 6(float) Constant 1102577664
23: 6(float) Constant 1105723392
24: 6(float) Constant 1106771968
25: 6(float) Constant 1108606976
26: 7(fvec4) ConstantComposite 22 23 24 25
27(v4): 8(ptr) Variable Private
28: 6(float) Constant 1109655552
29: 6(float) Constant 1110179840
30: 6(float) Constant 1111228416
31: 6(float) Constant 1112801280
32: 7(fvec4) ConstantComposite 28 29 30 31
33: TypeMatrix 7(fvec4) 4
34: TypePointer Function 33
40: 6(float) Constant 1065353216
41: 6(float) Constant 0
79: TypePointer Function 6(float)
81: TypeInt 32 1
82: 81(int) Constant 1
83: TypeInt 32 0
84: 83(int) Constant 3
103: 81(int) Constant 2
104: 83(int) Constant 1
108: TypeImage 6(float) 2D sampled format:Unknown
109: TypeSampledImage 108
110: TypePointer UniformConstant 109
111(samp2D): 110(ptr) Variable UniformConstant
113: TypeVector 6(float) 2
114: 6(float) Constant 1056964608
115: 113(fvec2) ConstantComposite 114 114
119: 6(float) Constant 1036831949
120: TypeBool
124: TypeVector 120(bool) 4
130: TypeArray 113(fvec2) 84
131(str): TypeStruct 81(int) 130 120(bool)
132: TypePointer Function 131(str)
134: 113(fvec2) ConstantComposite 10 11
135: 6(float) Constant 1082130432
136: 113(fvec2) ConstantComposite 135 12
137: 6(float) Constant 1086324736
138: 113(fvec2) ConstantComposite 137 13
139: 130 ConstantComposite 134 136 138
140: 120(bool) ConstantTrue
141: 131(str) ConstantComposite 82 139 140
145: TypePointer Output 7(fvec4)
146(gl_FragColor): 145(ptr) Variable Output
4(main): 2 Function None 3
5: Label
35(m): 34(ptr) Variable Function
63(mm): 34(ptr) Variable Function
80(f): 79(ptr) Variable Function
87(g): 79(ptr) Variable Function
106(h): 79(ptr) Variable Function
107(i): 79(ptr) Variable Function
133(t): 132(ptr) Variable Function
Store 9(v1) 14
Store 15(v2) 20
Store 21(v3) 26
Store 27(v4) 32
36: 7(fvec4) Load 9(v1)
37: 7(fvec4) Load 15(v2)
38: 7(fvec4) Load 21(v3)
39: 7(fvec4) Load 27(v4)
42: 6(float) CompositeExtract 36 0
43: 6(float) CompositeExtract 36 1
44: 6(float) CompositeExtract 36 2
45: 6(float) CompositeExtract 36 3
46: 6(float) CompositeExtract 37 0
47: 6(float) CompositeExtract 37 1
48: 6(float) CompositeExtract 37 2
49: 6(float) CompositeExtract 37 3
50: 6(float) CompositeExtract 38 0
51: 6(float) CompositeExtract 38 1
52: 6(float) CompositeExtract 38 2
53: 6(float) CompositeExtract 38 3
54: 6(float) CompositeExtract 39 0
55: 6(float) CompositeExtract 39 1
56: 6(float) CompositeExtract 39 2
57: 6(float) CompositeExtract 39 3
58: 7(fvec4) CompositeConstruct 42 43 44 45
59: 7(fvec4) CompositeConstruct 46 47 48 49
60: 7(fvec4) CompositeConstruct 50 51 52 53
61: 7(fvec4) CompositeConstruct 54 55 56 57
62: 33 CompositeConstruct 58 59 60 61
Store 35(m) 62
64: 33 Load 35(m)
65: 33 Load 35(m)
66: 7(fvec4) CompositeExtract 64 0
67: 7(fvec4) CompositeExtract 65 0
68: 7(fvec4) FMul 66 67
69: 7(fvec4) CompositeExtract 64 1
70: 7(fvec4) CompositeExtract 65 1
71: 7(fvec4) FMul 69 70
72: 7(fvec4) CompositeExtract 64 2
73: 7(fvec4) CompositeExtract 65 2
74: 7(fvec4) FMul 72 73
75: 7(fvec4) CompositeExtract 64 3
76: 7(fvec4) CompositeExtract 65 3
77: 7(fvec4) FMul 75 76
78: 33 CompositeConstruct 68 71 74 77
Store 63(mm) 78
85: 79(ptr) AccessChain 63(mm) 82 84
86: 6(float) Load 85
Store 80(f) 86
88: 33 Load 35(m)
89: 33 Load 35(m)
90: 7(fvec4) CompositeExtract 88 0
91: 7(fvec4) CompositeExtract 89 0
92: 7(fvec4) FMul 90 91
93: 7(fvec4) CompositeExtract 88 1
94: 7(fvec4) CompositeExtract 89 1
95: 7(fvec4) FMul 93 94
96: 7(fvec4) CompositeExtract 88 2
97: 7(fvec4) CompositeExtract 89 2
98: 7(fvec4) FMul 96 97
99: 7(fvec4) CompositeExtract 88 3
100: 7(fvec4) CompositeExtract 89 3
101: 7(fvec4) FMul 99 100
102: 33 CompositeConstruct 92 95 98 101
105: 6(float) CompositeExtract 102 2 1
Store 87(g) 105
Store 106(h) 12
112: 109 Load 111(samp2D)
116: 7(fvec4) ImageSampleImplicitLod 112 115
117: 6(float) CompositeExtract 116 1
Store 107(i) 117
118: 6(float) Load 107(i)
121: 120(bool) FOrdGreaterThan 118 119
122: 7(fvec4) Load 9(v1)
123: 7(fvec4) Load 15(v2)
125: 124(bvec4) CompositeConstruct 121 121 121 121
126: 7(fvec4) Select 125 122 123
127: 6(float) CompositeExtract 126 3
128: 6(float) Load 107(i)
129: 6(float) FAdd 128 127
Store 107(i) 129
Store 133(t) 141
142: 6(float) CompositeExtract 141 1 2 1
143: 6(float) Load 107(i)
144: 6(float) FAdd 143 142
Store 107(i) 144
147: 6(float) Load 80(f)
148: 6(float) Load 87(g)
149: 6(float) Load 106(h)
150: 6(float) Load 107(i)
151: 7(fvec4) CompositeConstruct 147 148 149 150
Store 146(gl_FragColor) 151
Return
FunctionEnd