 f6facfa189
			
		
	
	
		f6facfa189
		
	
	
	
	
		
			
			This adds or changes binding/location decorations in 100s of shaders. It also allows more output (spv.register.autoassign.rangetest.frag) due to allowing ioMap() to fail.
		
			
				
	
	
		
			775 lines
		
	
	
		
			36 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			775 lines
		
	
	
		
			36 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| spv.Operations.frag
 | |
| // Module Version 10000
 | |
| // Generated by (magic number): 8000a
 | |
| // Id's are bound by 583
 | |
| 
 | |
|                               Capability Shader
 | |
|                1:             ExtInstImport  "GLSL.std.450"
 | |
|                               MemoryModel Logical GLSL450
 | |
|                               EntryPoint Fragment 4  "main" 11 22 220 296 314 539 580
 | |
|                               ExecutionMode 4 OriginUpperLeft
 | |
|                               Source GLSL 450
 | |
|                               Name 4  "main"
 | |
|                               Name 9  "v"
 | |
|                               Name 11  "uv4"
 | |
|                               Name 20  "i"
 | |
|                               Name 22  "ui"
 | |
|                               Name 155  "swizzleTemp"
 | |
|                               Name 189  "ub41"
 | |
|                               Name 196  "f"
 | |
|                               Name 220  "uf"
 | |
|                               Name 293  "u"
 | |
|                               Name 296  "uui"
 | |
|                               Name 314  "uuv4"
 | |
|                               Name 321  "msb"
 | |
|                               Name 323  "swizzleTemp"
 | |
|                               Name 324  "lsb"
 | |
|                               Name 325  "swizzleTemp"
 | |
|                               Name 326  "ResType"
 | |
|                               Name 359  "b"
 | |
|                               Name 396  "ub42"
 | |
|                               Name 539  "FragColor"
 | |
|                               Name 557  "m1"
 | |
|                               Name 564  "m2"
 | |
|                               Name 580  "uiv4"
 | |
|                               Name 582  "ub"
 | |
|                               Decorate 11(uv4) Location 1
 | |
|                               Decorate 22(ui) Flat
 | |
|                               Decorate 22(ui) Location 3
 | |
|                               Decorate 220(uf) Location 2
 | |
|                               Decorate 296(uui) Flat
 | |
|                               Decorate 296(uui) Location 5
 | |
|                               Decorate 314(uuv4) Flat
 | |
|                               Decorate 314(uuv4) Location 4
 | |
|                               Decorate 539(FragColor) Location 0
 | |
|                               Decorate 580(uiv4) Flat
 | |
|                               Decorate 580(uiv4) Location 0
 | |
|                2:             TypeVoid
 | |
|                3:             TypeFunction 2
 | |
|                6:             TypeFloat 32
 | |
|                7:             TypeVector 6(float) 4
 | |
|                8:             TypePointer Function 7(fvec4)
 | |
|               10:             TypePointer Input 7(fvec4)
 | |
|          11(uv4):     10(ptr) Variable Input
 | |
|               18:             TypeInt 32 1
 | |
|               19:             TypePointer Function 18(int)
 | |
|               21:             TypePointer Input 18(int)
 | |
|           22(ui):     21(ptr) Variable Input
 | |
|              141:             TypeInt 32 0
 | |
|              142:    141(int) Constant 0
 | |
|              143:             TypePointer Function 6(float)
 | |
|              186:             TypeBool
 | |
|              187:             TypeVector 186(bool) 4
 | |
|              188:             TypePointer Private 187(bvec4)
 | |
|        189(ub41):    188(ptr) Variable Private
 | |
|              219:             TypePointer Input 6(float)
 | |
|          220(uf):    219(ptr) Variable Input
 | |
|              292:             TypePointer Function 141(int)
 | |
|              295:             TypePointer Input 141(int)
 | |
|         296(uui):    295(ptr) Variable Input
 | |
|              312:             TypeVector 141(int) 4
 | |
|              313:             TypePointer Input 312(ivec4)
 | |
|        314(uuv4):    313(ptr) Variable Input
 | |
|              315:             TypeVector 141(int) 3
 | |
|              320:             TypePointer Function 312(ivec4)
 | |
|              322:             TypePointer Function 315(ivec3)
 | |
|     326(ResType):             TypeStruct 315(ivec3) 315(ivec3)
 | |
|              338:    141(int) Constant 1
 | |
|              342:    141(int) Constant 2
 | |
|              358:             TypePointer Function 186(bool)
 | |
|        396(ub42):    188(ptr) Variable Private
 | |
|              452:     18(int) Constant 2
 | |
|              459:     18(int) Constant 1
 | |
|              489:             TypeVector 6(float) 3
 | |
|              508:    6(float) Constant 1073741824
 | |
|              515:    6(float) Constant 1065353216
 | |
|              520:     18(int) Constant 66
 | |
|              526:     18(int) Constant 17
 | |
|              538:             TypePointer Output 7(fvec4)
 | |
|   539(FragColor):    538(ptr) Variable Output
 | |
|              555:             TypeMatrix 7(fvec4) 4
 | |
|              556:             TypePointer Function 555
 | |
|              558:    6(float) Constant 0
 | |
|              559:    7(fvec4) ConstantComposite 515 558 558 558
 | |
|              560:    7(fvec4) ConstantComposite 558 515 558 558
 | |
|              561:    7(fvec4) ConstantComposite 558 558 515 558
 | |
|              562:    7(fvec4) ConstantComposite 558 558 558 515
 | |
|              563:         555 ConstantComposite 559 560 561 562
 | |
|              565:    7(fvec4) ConstantComposite 558 558 558 558
 | |
|              566:         555 ConstantComposite 565 565 565 565
 | |
|              578:             TypeVector 18(int) 4
 | |
|              579:             TypePointer Input 578(ivec4)
 | |
|        580(uiv4):    579(ptr) Variable Input
 | |
|              581:             TypePointer Private 186(bool)
 | |
|          582(ub):    581(ptr) Variable Private
 | |
|          4(main):           2 Function None 3
 | |
|                5:             Label
 | |
|             9(v):      8(ptr) Variable Function
 | |
|            20(i):     19(ptr) Variable Function
 | |
| 155(swizzleTemp):      8(ptr) Variable Function
 | |
|           196(f):    143(ptr) Variable Function
 | |
|           293(u):    292(ptr) Variable Function
 | |
|         321(msb):    320(ptr) Variable Function
 | |
| 323(swizzleTemp):    322(ptr) Variable Function
 | |
|         324(lsb):    320(ptr) Variable Function
 | |
| 325(swizzleTemp):    322(ptr) Variable Function
 | |
|           359(b):    358(ptr) Variable Function
 | |
|              541:      8(ptr) Variable Function
 | |
|          557(m1):    556(ptr) Variable Function
 | |
|          564(m2):    556(ptr) Variable Function
 | |
|              568:    556(ptr) Variable Function
 | |
|               12:    7(fvec4) Load 11(uv4)
 | |
|               13:    7(fvec4) ExtInst 1(GLSL.std.450) 11(Radians) 12
 | |
|                               Store 9(v) 13
 | |
|               14:    7(fvec4) Load 9(v)
 | |
|               15:    7(fvec4) ExtInst 1(GLSL.std.450) 12(Degrees) 14
 | |
|               16:    7(fvec4) Load 9(v)
 | |
|               17:    7(fvec4) FAdd 16 15
 | |
|                               Store 9(v) 17
 | |
|               23:     18(int) Load 22(ui)
 | |
|               24:     18(int) Load 22(ui)
 | |
|               25:     18(int) IMul 23 24
 | |
|                               Store 20(i) 25
 | |
|               26:    7(fvec4) Load 9(v)
 | |
|               27:    7(fvec4) ExtInst 1(GLSL.std.450) 13(Sin) 26
 | |
|               28:    7(fvec4) Load 9(v)
 | |
|               29:    7(fvec4) FAdd 28 27
 | |
|                               Store 9(v) 29
 | |
|               30:    7(fvec4) Load 9(v)
 | |
|               31:    7(fvec4) ExtInst 1(GLSL.std.450) 14(Cos) 30
 | |
|               32:    7(fvec4) Load 9(v)
 | |
|               33:    7(fvec4) FAdd 32 31
 | |
|                               Store 9(v) 33
 | |
|               34:    7(fvec4) Load 9(v)
 | |
|               35:    7(fvec4) ExtInst 1(GLSL.std.450) 15(Tan) 34
 | |
|               36:    7(fvec4) Load 9(v)
 | |
|               37:    7(fvec4) FAdd 36 35
 | |
|                               Store 9(v) 37
 | |
|               38:    7(fvec4) Load 9(v)
 | |
|               39:    7(fvec4) ExtInst 1(GLSL.std.450) 16(Asin) 38
 | |
|               40:    7(fvec4) Load 9(v)
 | |
|               41:    7(fvec4) FAdd 40 39
 | |
|                               Store 9(v) 41
 | |
|               42:    7(fvec4) Load 9(v)
 | |
|               43:    7(fvec4) ExtInst 1(GLSL.std.450) 17(Acos) 42
 | |
|               44:    7(fvec4) Load 9(v)
 | |
|               45:    7(fvec4) FAdd 44 43
 | |
|                               Store 9(v) 45
 | |
|               46:    7(fvec4) Load 9(v)
 | |
|               47:    7(fvec4) ExtInst 1(GLSL.std.450) 18(Atan) 46
 | |
|               48:    7(fvec4) Load 9(v)
 | |
|               49:    7(fvec4) FAdd 48 47
 | |
|                               Store 9(v) 49
 | |
|               50:    7(fvec4) Load 9(v)
 | |
|               51:    7(fvec4) ExtInst 1(GLSL.std.450) 19(Sinh) 50
 | |
|               52:    7(fvec4) Load 9(v)
 | |
|               53:    7(fvec4) FAdd 52 51
 | |
|                               Store 9(v) 53
 | |
|               54:    7(fvec4) Load 9(v)
 | |
|               55:    7(fvec4) ExtInst 1(GLSL.std.450) 20(Cosh) 54
 | |
|               56:    7(fvec4) Load 9(v)
 | |
|               57:    7(fvec4) FAdd 56 55
 | |
|                               Store 9(v) 57
 | |
|               58:    7(fvec4) Load 9(v)
 | |
|               59:    7(fvec4) ExtInst 1(GLSL.std.450) 21(Tanh) 58
 | |
|               60:    7(fvec4) Load 9(v)
 | |
|               61:    7(fvec4) FAdd 60 59
 | |
|                               Store 9(v) 61
 | |
|               62:    7(fvec4) Load 9(v)
 | |
|               63:    7(fvec4) ExtInst 1(GLSL.std.450) 22(Asinh) 62
 | |
|               64:    7(fvec4) Load 9(v)
 | |
|               65:    7(fvec4) FAdd 64 63
 | |
|                               Store 9(v) 65
 | |
|               66:    7(fvec4) Load 9(v)
 | |
|               67:    7(fvec4) ExtInst 1(GLSL.std.450) 23(Acosh) 66
 | |
|               68:    7(fvec4) Load 9(v)
 | |
|               69:    7(fvec4) FAdd 68 67
 | |
|                               Store 9(v) 69
 | |
|               70:    7(fvec4) Load 9(v)
 | |
|               71:    7(fvec4) ExtInst 1(GLSL.std.450) 24(Atanh) 70
 | |
|               72:    7(fvec4) Load 9(v)
 | |
|               73:    7(fvec4) FAdd 72 71
 | |
|                               Store 9(v) 73
 | |
|               74:    7(fvec4) Load 9(v)
 | |
|               75:    7(fvec4) Load 9(v)
 | |
|               76:    7(fvec4) ExtInst 1(GLSL.std.450) 26(Pow) 74 75
 | |
|               77:    7(fvec4) Load 9(v)
 | |
|               78:    7(fvec4) FAdd 77 76
 | |
|                               Store 9(v) 78
 | |
|               79:    7(fvec4) Load 9(v)
 | |
|               80:    7(fvec4) ExtInst 1(GLSL.std.450) 27(Exp) 79
 | |
|               81:    7(fvec4) Load 9(v)
 | |
|               82:    7(fvec4) FAdd 81 80
 | |
|                               Store 9(v) 82
 | |
|               83:    7(fvec4) Load 9(v)
 | |
|               84:    7(fvec4) ExtInst 1(GLSL.std.450) 28(Log) 83
 | |
|               85:    7(fvec4) Load 9(v)
 | |
|               86:    7(fvec4) FAdd 85 84
 | |
|                               Store 9(v) 86
 | |
|               87:    7(fvec4) Load 9(v)
 | |
|               88:    7(fvec4) ExtInst 1(GLSL.std.450) 29(Exp2) 87
 | |
|               89:    7(fvec4) Load 9(v)
 | |
|               90:    7(fvec4) FAdd 89 88
 | |
|                               Store 9(v) 90
 | |
|               91:    7(fvec4) Load 9(v)
 | |
|               92:    7(fvec4) ExtInst 1(GLSL.std.450) 30(Log2) 91
 | |
|               93:    7(fvec4) Load 9(v)
 | |
|               94:    7(fvec4) FAdd 93 92
 | |
|                               Store 9(v) 94
 | |
|               95:    7(fvec4) Load 9(v)
 | |
|               96:    7(fvec4) ExtInst 1(GLSL.std.450) 31(Sqrt) 95
 | |
|               97:    7(fvec4) Load 9(v)
 | |
|               98:    7(fvec4) FAdd 97 96
 | |
|                               Store 9(v) 98
 | |
|               99:    7(fvec4) Load 9(v)
 | |
|              100:    7(fvec4) ExtInst 1(GLSL.std.450) 32(InverseSqrt) 99
 | |
|              101:    7(fvec4) Load 9(v)
 | |
|              102:    7(fvec4) FAdd 101 100
 | |
|                               Store 9(v) 102
 | |
|              103:    7(fvec4) Load 9(v)
 | |
|              104:    7(fvec4) ExtInst 1(GLSL.std.450) 4(FAbs) 103
 | |
|              105:    7(fvec4) Load 9(v)
 | |
|              106:    7(fvec4) FAdd 105 104
 | |
|                               Store 9(v) 106
 | |
|              107:    7(fvec4) Load 9(v)
 | |
|              108:    7(fvec4) ExtInst 1(GLSL.std.450) 6(FSign) 107
 | |
|              109:    7(fvec4) Load 9(v)
 | |
|              110:    7(fvec4) FAdd 109 108
 | |
|                               Store 9(v) 110
 | |
|              111:    7(fvec4) Load 9(v)
 | |
|              112:    7(fvec4) ExtInst 1(GLSL.std.450) 8(Floor) 111
 | |
|              113:    7(fvec4) Load 9(v)
 | |
|              114:    7(fvec4) FAdd 113 112
 | |
|                               Store 9(v) 114
 | |
|              115:    7(fvec4) Load 9(v)
 | |
|              116:    7(fvec4) ExtInst 1(GLSL.std.450) 3(Trunc) 115
 | |
|              117:    7(fvec4) Load 9(v)
 | |
|              118:    7(fvec4) FAdd 117 116
 | |
|                               Store 9(v) 118
 | |
|              119:    7(fvec4) Load 9(v)
 | |
|              120:    7(fvec4) ExtInst 1(GLSL.std.450) 1(Round) 119
 | |
|              121:    7(fvec4) Load 9(v)
 | |
|              122:    7(fvec4) FAdd 121 120
 | |
|                               Store 9(v) 122
 | |
|              123:    7(fvec4) Load 9(v)
 | |
|              124:    7(fvec4) ExtInst 1(GLSL.std.450) 2(RoundEven) 123
 | |
|              125:    7(fvec4) Load 9(v)
 | |
|              126:    7(fvec4) FAdd 125 124
 | |
|                               Store 9(v) 126
 | |
|              127:    7(fvec4) Load 9(v)
 | |
|              128:    7(fvec4) ExtInst 1(GLSL.std.450) 9(Ceil) 127
 | |
|              129:    7(fvec4) Load 9(v)
 | |
|              130:    7(fvec4) FAdd 129 128
 | |
|                               Store 9(v) 130
 | |
|              131:    7(fvec4) Load 9(v)
 | |
|              132:    7(fvec4) ExtInst 1(GLSL.std.450) 10(Fract) 131
 | |
|              133:    7(fvec4) Load 9(v)
 | |
|              134:    7(fvec4) FAdd 133 132
 | |
|                               Store 9(v) 134
 | |
|              135:    7(fvec4) Load 9(v)
 | |
|              136:    7(fvec4) Load 9(v)
 | |
|              137:    7(fvec4) FMod 135 136
 | |
|              138:    7(fvec4) Load 9(v)
 | |
|              139:    7(fvec4) FAdd 138 137
 | |
|                               Store 9(v) 139
 | |
|              140:    7(fvec4) Load 9(v)
 | |
|              144:    143(ptr) AccessChain 9(v) 142
 | |
|              145:    6(float) Load 144
 | |
|              146:    7(fvec4) CompositeConstruct 145 145 145 145
 | |
|              147:    7(fvec4) FMod 140 146
 | |
|              148:    7(fvec4) Load 9(v)
 | |
|              149:    7(fvec4) FAdd 148 147
 | |
|                               Store 9(v) 149
 | |
|              150:    7(fvec4) Load 9(v)
 | |
|              151:    7(fvec4) ExtInst 1(GLSL.std.450) 35(Modf) 150 9(v)
 | |
|              152:    7(fvec4) Load 9(v)
 | |
|              153:    7(fvec4) FAdd 152 151
 | |
|                               Store 9(v) 153
 | |
|              154:    7(fvec4) Load 9(v)
 | |
|              156:    7(fvec4) ExtInst 1(GLSL.std.450) 35(Modf) 154 155(swizzleTemp)
 | |
|              157:    7(fvec4) Load 155(swizzleTemp)
 | |
|              158:    7(fvec4) Load 9(v)
 | |
|              159:    7(fvec4) VectorShuffle 158 157 6 4 5 7
 | |
|                               Store 9(v) 159
 | |
|              160:    7(fvec4) Load 9(v)
 | |
|              161:    7(fvec4) FAdd 160 156
 | |
|                               Store 9(v) 161
 | |
|              162:    7(fvec4) Load 9(v)
 | |
|              163:    7(fvec4) Load 11(uv4)
 | |
|              164:    7(fvec4) ExtInst 1(GLSL.std.450) 37(FMin) 162 163
 | |
|              165:    7(fvec4) Load 9(v)
 | |
|              166:    7(fvec4) FAdd 165 164
 | |
|                               Store 9(v) 166
 | |
|              167:    7(fvec4) Load 9(v)
 | |
|              168:    7(fvec4) Load 11(uv4)
 | |
|              169:    7(fvec4) ExtInst 1(GLSL.std.450) 40(FMax) 167 168
 | |
|              170:    7(fvec4) Load 9(v)
 | |
|              171:    7(fvec4) FAdd 170 169
 | |
|                               Store 9(v) 171
 | |
|              172:    7(fvec4) Load 9(v)
 | |
|              173:    7(fvec4) Load 11(uv4)
 | |
|              174:    7(fvec4) Load 11(uv4)
 | |
|              175:    7(fvec4) ExtInst 1(GLSL.std.450) 43(FClamp) 172 173 174
 | |
|              176:    7(fvec4) Load 9(v)
 | |
|              177:    7(fvec4) FAdd 176 175
 | |
|                               Store 9(v) 177
 | |
|              178:    7(fvec4) Load 9(v)
 | |
|              179:    7(fvec4) Load 9(v)
 | |
|              180:    7(fvec4) Load 9(v)
 | |
|              181:    7(fvec4) ExtInst 1(GLSL.std.450) 46(FMix) 178 179 180
 | |
|              182:    7(fvec4) Load 9(v)
 | |
|              183:    7(fvec4) FAdd 182 181
 | |
|                               Store 9(v) 183
 | |
|              184:    7(fvec4) Load 9(v)
 | |
|              185:    7(fvec4) Load 9(v)
 | |
|              190:  187(bvec4) Load 189(ub41)
 | |
|              191:    7(fvec4) Select 190 185 184
 | |
|              192:    7(fvec4) Load 9(v)
 | |
|              193:    7(fvec4) FAdd 192 191
 | |
|                               Store 9(v) 193
 | |
|              194:    7(fvec4) Load 9(v)
 | |
|              195:    7(fvec4) Load 9(v)
 | |
|              197:    6(float) Load 196(f)
 | |
|              198:    7(fvec4) CompositeConstruct 197 197 197 197
 | |
|              199:    7(fvec4) ExtInst 1(GLSL.std.450) 46(FMix) 194 195 198
 | |
|              200:    7(fvec4) Load 9(v)
 | |
|              201:    7(fvec4) FAdd 200 199
 | |
|                               Store 9(v) 201
 | |
|              202:    7(fvec4) Load 9(v)
 | |
|              203:    7(fvec4) Load 11(uv4)
 | |
|              204:    7(fvec4) Load 9(v)
 | |
|              205:    7(fvec4) ExtInst 1(GLSL.std.450) 50(Fma) 202 203 204
 | |
|              206:    7(fvec4) Load 9(v)
 | |
|              207:    7(fvec4) FAdd 206 205
 | |
|                               Store 9(v) 207
 | |
|              208:    7(fvec4) Load 9(v)
 | |
|              209:    7(fvec4) Load 9(v)
 | |
|              210:    7(fvec4) ExtInst 1(GLSL.std.450) 48(Step) 208 209
 | |
|              211:    7(fvec4) Load 9(v)
 | |
|              212:    7(fvec4) FAdd 211 210
 | |
|                               Store 9(v) 212
 | |
|              213:    7(fvec4) Load 9(v)
 | |
|              214:    7(fvec4) Load 9(v)
 | |
|              215:    7(fvec4) Load 9(v)
 | |
|              216:    7(fvec4) ExtInst 1(GLSL.std.450) 49(SmoothStep) 213 214 215
 | |
|              217:    7(fvec4) Load 9(v)
 | |
|              218:    7(fvec4) FAdd 217 216
 | |
|                               Store 9(v) 218
 | |
|              221:    6(float) Load 220(uf)
 | |
|              222:    7(fvec4) Load 9(v)
 | |
|              223:    7(fvec4) CompositeConstruct 221 221 221 221
 | |
|              224:    7(fvec4) ExtInst 1(GLSL.std.450) 48(Step) 223 222
 | |
|              225:    7(fvec4) Load 9(v)
 | |
|              226:    7(fvec4) FAdd 225 224
 | |
|                               Store 9(v) 226
 | |
|              227:    6(float) Load 220(uf)
 | |
|              228:    6(float) Load 220(uf)
 | |
|              229:    7(fvec4) Load 9(v)
 | |
|              230:    7(fvec4) CompositeConstruct 227 227 227 227
 | |
|              231:    7(fvec4) CompositeConstruct 228 228 228 228
 | |
|              232:    7(fvec4) ExtInst 1(GLSL.std.450) 49(SmoothStep) 230 231 229
 | |
|              233:    7(fvec4) Load 9(v)
 | |
|              234:    7(fvec4) FAdd 233 232
 | |
|                               Store 9(v) 234
 | |
|              235:    7(fvec4) Load 9(v)
 | |
|              236:    7(fvec4) ExtInst 1(GLSL.std.450) 69(Normalize) 235
 | |
|              237:    7(fvec4) Load 9(v)
 | |
|              238:    7(fvec4) FAdd 237 236
 | |
|                               Store 9(v) 238
 | |
|              239:    7(fvec4) Load 9(v)
 | |
|              240:    7(fvec4) Load 9(v)
 | |
|              241:    7(fvec4) Load 9(v)
 | |
|              242:    7(fvec4) ExtInst 1(GLSL.std.450) 70(FaceForward) 239 240 241
 | |
|              243:    7(fvec4) Load 9(v)
 | |
|              244:    7(fvec4) FAdd 243 242
 | |
|                               Store 9(v) 244
 | |
|              245:    7(fvec4) Load 9(v)
 | |
|              246:    7(fvec4) Load 9(v)
 | |
|              247:    7(fvec4) ExtInst 1(GLSL.std.450) 71(Reflect) 245 246
 | |
|              248:    7(fvec4) Load 9(v)
 | |
|              249:    7(fvec4) FAdd 248 247
 | |
|                               Store 9(v) 249
 | |
|              250:    7(fvec4) Load 9(v)
 | |
|              251:    7(fvec4) Load 9(v)
 | |
|              252:    6(float) Load 220(uf)
 | |
|              253:    7(fvec4) ExtInst 1(GLSL.std.450) 72(Refract) 250 251 252
 | |
|              254:    7(fvec4) Load 9(v)
 | |
|              255:    7(fvec4) FAdd 254 253
 | |
|                               Store 9(v) 255
 | |
|              256:    7(fvec4) Load 9(v)
 | |
|              257:    7(fvec4) DPdx 256
 | |
|              258:    7(fvec4) Load 9(v)
 | |
|              259:    7(fvec4) FAdd 258 257
 | |
|                               Store 9(v) 259
 | |
|              260:    7(fvec4) Load 9(v)
 | |
|              261:    7(fvec4) DPdy 260
 | |
|              262:    7(fvec4) Load 9(v)
 | |
|              263:    7(fvec4) FAdd 262 261
 | |
|                               Store 9(v) 263
 | |
|              264:    7(fvec4) Load 9(v)
 | |
|              265:    7(fvec4) Fwidth 264
 | |
|              266:    7(fvec4) Load 9(v)
 | |
|              267:    7(fvec4) FAdd 266 265
 | |
|                               Store 9(v) 267
 | |
|              268:     18(int) Load 22(ui)
 | |
|              269:     18(int) ExtInst 1(GLSL.std.450) 5(SAbs) 268
 | |
|              270:     18(int) Load 20(i)
 | |
|              271:     18(int) IAdd 270 269
 | |
|                               Store 20(i) 271
 | |
|              272:     18(int) Load 20(i)
 | |
|              273:     18(int) ExtInst 1(GLSL.std.450) 7(SSign) 272
 | |
|              274:     18(int) Load 20(i)
 | |
|              275:     18(int) IAdd 274 273
 | |
|                               Store 20(i) 275
 | |
|              276:     18(int) Load 20(i)
 | |
|              277:     18(int) Load 22(ui)
 | |
|              278:     18(int) ExtInst 1(GLSL.std.450) 39(SMin) 276 277
 | |
|              279:     18(int) Load 20(i)
 | |
|              280:     18(int) IAdd 279 278
 | |
|                               Store 20(i) 280
 | |
|              281:     18(int) Load 20(i)
 | |
|              282:     18(int) Load 22(ui)
 | |
|              283:     18(int) ExtInst 1(GLSL.std.450) 42(SMax) 281 282
 | |
|              284:     18(int) Load 20(i)
 | |
|              285:     18(int) IAdd 284 283
 | |
|                               Store 20(i) 285
 | |
|              286:     18(int) Load 20(i)
 | |
|              287:     18(int) Load 22(ui)
 | |
|              288:     18(int) Load 22(ui)
 | |
|              289:     18(int) ExtInst 1(GLSL.std.450) 45(SClamp) 286 287 288
 | |
|              290:     18(int) Load 20(i)
 | |
|              291:     18(int) IAdd 290 289
 | |
|                               Store 20(i) 291
 | |
|              294:    141(int) Load 293(u)
 | |
|              297:    141(int) Load 296(uui)
 | |
|              298:    141(int) ExtInst 1(GLSL.std.450) 38(UMin) 294 297
 | |
|              299:    141(int) Load 293(u)
 | |
|              300:    141(int) IAdd 299 298
 | |
|                               Store 293(u) 300
 | |
|              301:    141(int) Load 293(u)
 | |
|              302:    141(int) Load 296(uui)
 | |
|              303:    141(int) ExtInst 1(GLSL.std.450) 41(UMax) 301 302
 | |
|              304:    141(int) Load 293(u)
 | |
|              305:    141(int) IAdd 304 303
 | |
|                               Store 293(u) 305
 | |
|              306:    141(int) Load 293(u)
 | |
|              307:    141(int) Load 296(uui)
 | |
|              308:    141(int) Load 296(uui)
 | |
|              309:    141(int) ExtInst 1(GLSL.std.450) 44(UClamp) 306 307 308
 | |
|              310:    141(int) Load 293(u)
 | |
|              311:    141(int) IAdd 310 309
 | |
|                               Store 293(u) 311
 | |
|              316:  312(ivec4) Load 314(uuv4)
 | |
|              317:  315(ivec3) VectorShuffle 316 316 0 1 2
 | |
|              318:  312(ivec4) Load 314(uuv4)
 | |
|              319:  315(ivec3) VectorShuffle 318 318 0 1 2
 | |
|              327:326(ResType) UMulExtended 317 319
 | |
|              328:  315(ivec3) CompositeExtract 327 0
 | |
|                               Store 325(swizzleTemp) 328
 | |
|              329:  315(ivec3) CompositeExtract 327 1
 | |
|                               Store 323(swizzleTemp) 329
 | |
|              330:  315(ivec3) Load 323(swizzleTemp)
 | |
|              331:  312(ivec4) Load 321(msb)
 | |
|              332:  312(ivec4) VectorShuffle 331 330 4 5 6 3
 | |
|                               Store 321(msb) 332
 | |
|              333:  315(ivec3) Load 325(swizzleTemp)
 | |
|              334:  312(ivec4) Load 324(lsb)
 | |
|              335:  312(ivec4) VectorShuffle 334 333 4 5 6 3
 | |
|                               Store 324(lsb) 335
 | |
|              336:    292(ptr) AccessChain 321(msb) 142
 | |
|              337:    141(int) Load 336
 | |
|              339:    292(ptr) AccessChain 321(msb) 338
 | |
|              340:    141(int) Load 339
 | |
|              341:    141(int) IAdd 337 340
 | |
|              343:    292(ptr) AccessChain 321(msb) 342
 | |
|              344:    141(int) Load 343
 | |
|              345:    141(int) IAdd 341 344
 | |
|              346:    141(int) Load 293(u)
 | |
|              347:    141(int) IAdd 346 345
 | |
|                               Store 293(u) 347
 | |
|              348:    292(ptr) AccessChain 324(lsb) 142
 | |
|              349:    141(int) Load 348
 | |
|              350:    292(ptr) AccessChain 324(lsb) 338
 | |
|              351:    141(int) Load 350
 | |
|              352:    141(int) IAdd 349 351
 | |
|              353:    292(ptr) AccessChain 324(lsb) 342
 | |
|              354:    141(int) Load 353
 | |
|              355:    141(int) IAdd 352 354
 | |
|              356:    141(int) Load 293(u)
 | |
|              357:    141(int) IAdd 356 355
 | |
|                               Store 293(u) 357
 | |
|              360:    6(float) Load 220(uf)
 | |
|              361:   186(bool) IsNan 360
 | |
|                               Store 359(b) 361
 | |
|              362:    6(float) Load 196(f)
 | |
|              363:   186(bool) IsInf 362
 | |
|                               Store 359(b) 363
 | |
|              364:    7(fvec4) Load 9(v)
 | |
|              365:    7(fvec4) Load 11(uv4)
 | |
|              366:  187(bvec4) FOrdLessThan 364 365
 | |
|              367:   186(bool) Any 366
 | |
|                               Store 359(b) 367
 | |
|              368:   186(bool) Load 359(b)
 | |
|                               SelectionMerge 370 None
 | |
|                               BranchConditional 368 369 370
 | |
|              369:               Label
 | |
|              371:    7(fvec4)   Load 9(v)
 | |
|              372:    7(fvec4)   Load 11(uv4)
 | |
|              373:  187(bvec4)   FOrdLessThanEqual 371 372
 | |
|              374:   186(bool)   Any 373
 | |
|                                 Branch 370
 | |
|              370:             Label
 | |
|              375:   186(bool) Phi 368 5 374 369
 | |
|                               Store 359(b) 375
 | |
|              376:   186(bool) Load 359(b)
 | |
|                               SelectionMerge 378 None
 | |
|                               BranchConditional 376 377 378
 | |
|              377:               Label
 | |
|              379:    7(fvec4)   Load 9(v)
 | |
|              380:    7(fvec4)   Load 11(uv4)
 | |
|              381:  187(bvec4)   FOrdGreaterThan 379 380
 | |
|              382:   186(bool)   Any 381
 | |
|                                 Branch 378
 | |
|              378:             Label
 | |
|              383:   186(bool) Phi 376 370 382 377
 | |
|                               Store 359(b) 383
 | |
|              384:   186(bool) Load 359(b)
 | |
|                               SelectionMerge 386 None
 | |
|                               BranchConditional 384 385 386
 | |
|              385:               Label
 | |
|              387:    7(fvec4)   Load 9(v)
 | |
|              388:    7(fvec4)   Load 11(uv4)
 | |
|              389:  187(bvec4)   FOrdGreaterThanEqual 387 388
 | |
|              390:   186(bool)   Any 389
 | |
|                                 Branch 386
 | |
|              386:             Label
 | |
|              391:   186(bool) Phi 384 378 390 385
 | |
|                               Store 359(b) 391
 | |
|              392:   186(bool) Load 359(b)
 | |
|                               SelectionMerge 394 None
 | |
|                               BranchConditional 392 393 394
 | |
|              393:               Label
 | |
|              395:  187(bvec4)   Load 189(ub41)
 | |
|              397:  187(bvec4)   Load 396(ub42)
 | |
|              398:  187(bvec4)   LogicalEqual 395 397
 | |
|              399:   186(bool)   Any 398
 | |
|                                 Branch 394
 | |
|              394:             Label
 | |
|              400:   186(bool) Phi 392 386 399 393
 | |
|                               Store 359(b) 400
 | |
|              401:   186(bool) Load 359(b)
 | |
|                               SelectionMerge 403 None
 | |
|                               BranchConditional 401 402 403
 | |
|              402:               Label
 | |
|              404:  187(bvec4)   Load 189(ub41)
 | |
|              405:  187(bvec4)   Load 396(ub42)
 | |
|              406:  187(bvec4)   LogicalNotEqual 404 405
 | |
|              407:   186(bool)   Any 406
 | |
|                                 Branch 403
 | |
|              403:             Label
 | |
|              408:   186(bool) Phi 401 394 407 402
 | |
|                               Store 359(b) 408
 | |
|              409:   186(bool) Load 359(b)
 | |
|              410:  187(bvec4) Load 189(ub41)
 | |
|              411:   186(bool) Any 410
 | |
|              412:   186(bool) LogicalAnd 409 411
 | |
|                               Store 359(b) 412
 | |
|              413:   186(bool) Load 359(b)
 | |
|              414:  187(bvec4) Load 189(ub41)
 | |
|              415:   186(bool) All 414
 | |
|              416:   186(bool) LogicalAnd 413 415
 | |
|                               Store 359(b) 416
 | |
|              417:   186(bool) Load 359(b)
 | |
|                               SelectionMerge 419 None
 | |
|                               BranchConditional 417 418 419
 | |
|              418:               Label
 | |
|              420:  187(bvec4)   Load 189(ub41)
 | |
|              421:  187(bvec4)   LogicalNot 420
 | |
|              422:   186(bool)   Any 421
 | |
|                                 Branch 419
 | |
|              419:             Label
 | |
|              423:   186(bool) Phi 417 403 422 418
 | |
|                               Store 359(b) 423
 | |
|              424:     18(int) Load 20(i)
 | |
|              425:     18(int) Load 22(ui)
 | |
|              426:     18(int) IAdd 424 425
 | |
|              427:     18(int) Load 20(i)
 | |
|              428:     18(int) IMul 426 427
 | |
|              429:     18(int) Load 22(ui)
 | |
|              430:     18(int) ISub 428 429
 | |
|              431:     18(int) Load 20(i)
 | |
|              432:     18(int) SDiv 430 431
 | |
|                               Store 20(i) 432
 | |
|              433:     18(int) Load 20(i)
 | |
|              434:     18(int) Load 22(ui)
 | |
|              435:     18(int) SMod 433 434
 | |
|                               Store 20(i) 435
 | |
|              436:     18(int) Load 20(i)
 | |
|              437:     18(int) Load 22(ui)
 | |
|              438:   186(bool) IEqual 436 437
 | |
|              439:   186(bool) LogicalNot 438
 | |
|                               SelectionMerge 441 None
 | |
|                               BranchConditional 439 440 441
 | |
|              440:               Label
 | |
|              442:     18(int)   Load 20(i)
 | |
|              443:     18(int)   Load 22(ui)
 | |
|              444:   186(bool)   INotEqual 442 443
 | |
|                                 SelectionMerge 446 None
 | |
|                                 BranchConditional 444 445 446
 | |
|              445:                 Label
 | |
|              447:     18(int)     Load 20(i)
 | |
|              448:     18(int)     Load 22(ui)
 | |
|              449:   186(bool)     IEqual 447 448
 | |
|                                   Branch 446
 | |
|              446:               Label
 | |
|              450:   186(bool)   Phi 444 440 449 445
 | |
|              451:     18(int)   Load 20(i)
 | |
|              453:   186(bool)   INotEqual 451 452
 | |
|              454:   186(bool)   LogicalNotEqual 450 453
 | |
|                                 Branch 441
 | |
|              441:             Label
 | |
|              455:   186(bool) Phi 438 419 454 446
 | |
|                               SelectionMerge 457 None
 | |
|                               BranchConditional 455 456 457
 | |
|              456:               Label
 | |
|              458:     18(int)   Load 20(i)
 | |
|              460:     18(int)   IAdd 458 459
 | |
|                                 Store 20(i) 460
 | |
|                                 Branch 457
 | |
|              457:             Label
 | |
|              461:    6(float) Load 220(uf)
 | |
|              462:    6(float) Load 220(uf)
 | |
|              463:    6(float) FAdd 461 462
 | |
|              464:    6(float) Load 220(uf)
 | |
|              465:    6(float) FMul 463 464
 | |
|              466:    6(float) Load 220(uf)
 | |
|              467:    6(float) FSub 465 466
 | |
|              468:    6(float) Load 220(uf)
 | |
|              469:    6(float) FDiv 467 468
 | |
|                               Store 196(f) 469
 | |
|              470:    7(fvec4) Load 9(v)
 | |
|              471:    6(float) ExtInst 1(GLSL.std.450) 66(Length) 470
 | |
|              472:    6(float) Load 196(f)
 | |
|              473:    6(float) FAdd 472 471
 | |
|                               Store 196(f) 473
 | |
|              474:    7(fvec4) Load 9(v)
 | |
|              475:    7(fvec4) Load 9(v)
 | |
|              476:    6(float) ExtInst 1(GLSL.std.450) 67(Distance) 474 475
 | |
|              477:    6(float) Load 196(f)
 | |
|              478:    6(float) FAdd 477 476
 | |
|                               Store 196(f) 478
 | |
|              479:    7(fvec4) Load 9(v)
 | |
|              480:    7(fvec4) Load 9(v)
 | |
|              481:    6(float) Dot 479 480
 | |
|              482:    6(float) Load 196(f)
 | |
|              483:    6(float) FAdd 482 481
 | |
|                               Store 196(f) 483
 | |
|              484:    6(float) Load 196(f)
 | |
|              485:    6(float) Load 220(uf)
 | |
|              486:    6(float) FMul 484 485
 | |
|              487:    6(float) Load 196(f)
 | |
|              488:    6(float) FAdd 487 486
 | |
|                               Store 196(f) 488
 | |
|              490:    7(fvec4) Load 9(v)
 | |
|              491:  489(fvec3) VectorShuffle 490 490 0 1 2
 | |
|              492:    7(fvec4) Load 9(v)
 | |
|              493:  489(fvec3) VectorShuffle 492 492 0 1 2
 | |
|              494:  489(fvec3) ExtInst 1(GLSL.std.450) 68(Cross) 491 493
 | |
|              495:    6(float) CompositeExtract 494 0
 | |
|              496:    6(float) Load 196(f)
 | |
|              497:    6(float) FAdd 496 495
 | |
|                               Store 196(f) 497
 | |
|              498:    6(float) Load 196(f)
 | |
|              499:    6(float) Load 220(uf)
 | |
|              500:   186(bool) FOrdEqual 498 499
 | |
|              501:   186(bool) LogicalNot 500
 | |
|                               SelectionMerge 503 None
 | |
|                               BranchConditional 501 502 503
 | |
|              502:               Label
 | |
|              504:    6(float)   Load 196(f)
 | |
|              505:    6(float)   Load 220(uf)
 | |
|              506:   186(bool)   FUnordNotEqual 504 505
 | |
|              507:    6(float)   Load 196(f)
 | |
|              509:   186(bool)   FUnordNotEqual 507 508
 | |
|              510:   186(bool)   LogicalAnd 506 509
 | |
|                                 Branch 503
 | |
|              503:             Label
 | |
|              511:   186(bool) Phi 500 457 510 502
 | |
|                               SelectionMerge 513 None
 | |
|                               BranchConditional 511 512 513
 | |
|              512:               Label
 | |
|              514:    6(float)   Load 196(f)
 | |
|              516:    6(float)   FAdd 514 515
 | |
|                                 Store 196(f) 516
 | |
|                                 Branch 513
 | |
|              513:             Label
 | |
|              517:     18(int) Load 22(ui)
 | |
|              518:     18(int) Load 20(i)
 | |
|              519:     18(int) BitwiseAnd 518 517
 | |
|                               Store 20(i) 519
 | |
|              521:     18(int) Load 20(i)
 | |
|              522:     18(int) BitwiseOr 521 520
 | |
|                               Store 20(i) 522
 | |
|              523:     18(int) Load 22(ui)
 | |
|              524:     18(int) Load 20(i)
 | |
|              525:     18(int) BitwiseXor 524 523
 | |
|                               Store 20(i) 525
 | |
|              527:     18(int) Load 20(i)
 | |
|              528:     18(int) SMod 527 526
 | |
|                               Store 20(i) 528
 | |
|              529:     18(int) Load 20(i)
 | |
|              530:     18(int) ShiftRightArithmetic 529 452
 | |
|                               Store 20(i) 530
 | |
|              531:     18(int) Load 22(ui)
 | |
|              532:     18(int) Load 20(i)
 | |
|              533:     18(int) ShiftLeftLogical 532 531
 | |
|                               Store 20(i) 533
 | |
|              534:     18(int) Load 20(i)
 | |
|              535:     18(int) Not 534
 | |
|                               Store 20(i) 535
 | |
|              536:   186(bool) Load 359(b)
 | |
|              537:   186(bool) LogicalNot 536
 | |
|                               Store 359(b) 537
 | |
|              540:   186(bool) Load 359(b)
 | |
|                               SelectionMerge 543 None
 | |
|                               BranchConditional 540 542 552
 | |
|              542:               Label
 | |
|              544:     18(int)   Load 20(i)
 | |
|              545:    6(float)   ConvertSToF 544
 | |
|              546:    7(fvec4)   CompositeConstruct 545 545 545 545
 | |
|              547:    6(float)   Load 196(f)
 | |
|              548:    7(fvec4)   CompositeConstruct 547 547 547 547
 | |
|              549:    7(fvec4)   FAdd 546 548
 | |
|              550:    7(fvec4)   Load 9(v)
 | |
|              551:    7(fvec4)   FAdd 549 550
 | |
|                                 Store 541 551
 | |
|                                 Branch 543
 | |
|              552:               Label
 | |
|              553:    7(fvec4)   Load 9(v)
 | |
|                                 Store 541 553
 | |
|                                 Branch 543
 | |
|              543:             Label
 | |
|              554:    7(fvec4) Load 541
 | |
|                               Store 539(FragColor) 554
 | |
|                               Store 557(m1) 563
 | |
|                               Store 564(m2) 566
 | |
|              567:   186(bool) Load 359(b)
 | |
|                               SelectionMerge 570 None
 | |
|                               BranchConditional 567 569 572
 | |
|              569:               Label
 | |
|              571:         555   Load 557(m1)
 | |
|                                 Store 568 571
 | |
|                                 Branch 570
 | |
|              572:               Label
 | |
|              573:         555   Load 564(m2)
 | |
|                                 Store 568 573
 | |
|                                 Branch 570
 | |
|              570:             Label
 | |
|              574:      8(ptr) AccessChain 568 459
 | |
|              575:    7(fvec4) Load 574
 | |
|              576:    7(fvec4) Load 539(FragColor)
 | |
|              577:    7(fvec4) FAdd 576 575
 | |
|                               Store 539(FragColor) 577
 | |
|                               Return
 | |
|                               FunctionEnd
 |