wangzhibo
2023-10-31 86070cd00485c47a2c5c3ffa4a9bae6648dd05c6
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
2­T±TèJ¼ÚË09o6784271c1c62P‹ò    aPosition _uaPositionÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿU‹õaData_uaDataÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ\‹ò
uTransform _uuTransformÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ^‹ sRenderTasks_usRenderTasksÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ^‹    sGpuCache _usGpuCacheÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ^‹sTransformPalette_usTransformPaletteÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ^‹sPrimitiveHeadersF_usPrimitiveHeadersFÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿʍsPrimitiveHeadersI_usPrimitiveHeadersIÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ^‹    sClipMask _usClipMaskÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿŒŒR‹ò
oFragColor _uoFragColorÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ^‹^‹^‹^‹ʍ^‹ÿÿÿÿL-hÁ±ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ<<ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿý/struct VS_OUTPUT
{
    float4 dx_Position : SV_Position;
    float4 gl_Position : TEXCOORD5;
    float4 gl_FragCoord : TEXCOORD6;
    nointerpolation float4 v0 : TEXCOORD0;
    nointerpolation float4 v1 : TEXCOORD1;
    nointerpolation float4 v2 : TEXCOORD2;
    float2 v3 : TEXCOORD3;
    float2 v4 : TEXCOORD4;
};
#pragma warning( disable: 3556 3571 )
struct _RectWithEndpoint
{
    float2 _p0;
    float2 _p1;
};
#pragma pack_matrix(row_major)
struct rm__RectWithEndpoint
{
    float2 _p0;
    float2 _p1;
};
#pragma pack_matrix(column_major)
struct std__RectWithEndpoint
{
    float2 _p0;
    float2 _p1;
};
#pragma pack_matrix(row_major)
struct std_rm__RectWithEndpoint
{
    float2 _p0;
    float2 _p1;
};
#pragma pack_matrix(column_major)
struct std_fp__RectWithEndpoint
{
    float2 _p0;
    float2 _p1;
};
#pragma pack_matrix(row_major)
struct std_rm_fp__RectWithEndpoint
{
    float2 _p0;
    float2 _p1;
};
#pragma pack_matrix(column_major)
_RectWithEndpoint _RectWithEndpoint_ctor(float2 x0, float2 x1)
{
    _RectWithEndpoint structure = { x0, x1};
    return structure;
}
bool bool_ctor_int(int x0)
{
    return bool(x0);
}
bool4 bvec4_ctor(bool4 x0)
{
    return bool4(x0);
}
float float_ctor_int(int x0)
{
    return float(x0);
}
int int_ctor_uint(uint x0)
{
    return int(x0);
}
uint uint_ctor_int(int x0)
{
    return uint(x0);
}
// Uniforms
 
uniform float4x4 _uTransform : register(c0);
static const uint _sRenderTasks = 0;
static const uint _sGpuCache = 1;
static const uint _sTransformPalette = 2;
static const uint _sPrimitiveHeadersF = 3;
uniform Texture2D<float4> textures2D[4] : register(t0);
uniform SamplerState samplers2D[4] : register(s0);
static const uint _sPrimitiveHeadersI = 4;
static const uint textureIndexOffset2D_int4_ = 4;
static const uint samplerIndexOffset2D_int4_ = 4;
uniform Texture2D<int4> textures2D_int4_[1] : register(t4);
uniform SamplerState samplers2D_int4_[1] : register(s4);
#ifdef ANGLE_ENABLE_LOOP_FLATTEN
#define LOOP [loop]
#define FLATTEN [flatten]
#else
#define LOOP
#define FLATTEN
#endif
 
#define ATOMIC_COUNTER_ARRAY_STRIDE 4
 
// Attributes
static float2 _aPosition = {0, 0};
static int4 _aData = {0, 0, 0, 0};
 
static float4 gl_Position = float4(0, 0, 0, 0);
 
// Varyings
static nointerpolation float4 _vTransformBounds = {0, 0, 0, 0};
static nointerpolation float4 _vClipMaskUvBounds = {0, 0, 0, 0};
static  float2 _vClipMaskUv = {0, 0};
static  float2 _v_local_pos = {0, 0};
static nointerpolation float4 _v_color = {0, 0, 0, 0};
 
cbuffer DriverConstants : register(b1)
{
    float4 dx_ViewAdjust : packoffset(c1);
    float2 dx_ViewCoords : packoffset(c2);
    float2 dx_ViewScale  : packoffset(c3);
    float clipControlOrigin : packoffset(c3.w);
    float clipControlZeroToOne : packoffset(c4);
    struct SamplerMetadata
    {
        int baseLevel;
        int internalFormatBits;
        int wrapModes;
        int padding;
        int4 intBorderColor;
    };
    SamplerMetadata samplerMetadata[5] : packoffset(c5);
};
 
float4 gl_texture2DFetch(uint samplerIndex, int2 t, int mip)
{
    return textures2D[samplerIndex].Load(int3(t.x, t.y, mip));
}
 
int4 gl_texture2D_int4_Fetch(uint samplerIndex, int2 t, int mip)
{
    const uint textureIndex = samplerIndex - textureIndexOffset2D_int4_;
    const uint samplerArrayIndex = samplerIndex - samplerIndexOffset2D_int4_;
    int baseLevel = 0;
    return textures2D_int4_[textureIndex].Load(int3(t.x, t.y, mip));
}
 
float4 mix_emu(float4 x, float4 y, bool4 a)
{
    return a ? y : x;
}
 
 
;
@@ VERTEX ATTRIBUTES @@
 
VS_OUTPUT generateOutput(VS_INPUT input)
{
    VS_OUTPUT output;
    output.gl_Position = gl_Position;
    output.dx_Position.x = gl_Position.x;
    output.dx_Position.y = clipControlOrigin * gl_Position.y;
    if (clipControlZeroToOne)
    {
        output.dx_Position.z = gl_Position.z;
    } else {
        output.dx_Position.z = (gl_Position.z + gl_Position.w) * 0.5;
    }
    output.dx_Position.w = gl_Position.w;
    output.gl_FragCoord = gl_Position;
    output.v0 = _vTransformBounds;
    output.v1 = _vClipMaskUvBounds;
    output.v2 = _v_color;
    output.v3 = _vClipMaskUv;
    output.v4 = _v_local_pos;
 
    return output;
}
 
VS_OUTPUT main(VS_INPUT input){
    initAttributes(input);
 
int _instance_picture_task_address_15621 = {0};
int _instance_clip_address_25622 = {0};
int _instance_segment_index_35623 = {0};
int _instance_flags_45624 = {0};
(_instance_picture_task_address_15621 = (_aData.y >> 16));
(_instance_clip_address_25622 = (_aData.y & 65535));
(_instance_segment_index_35623 = (_aData.z & 65535));
(_instance_flags_45624 = (_aData.z >> 16));
float _ph_z_55625 = {0};
int2 _tmpvar_65626 = {0, 0};
(_tmpvar_65626.x = int_ctor_uint((2 * (uint_ctor_int(_aData.x) % 512))));
(_tmpvar_65626.y = int_ctor_uint((uint_ctor_int(_aData.x) / 512)));
float4 _tmpvar_75627 = {0, 0, 0, 0};
(_tmpvar_75627 = gl_texture2DFetch(_sPrimitiveHeadersF, _tmpvar_65626, 0));
float4 _tmpvar_85628 = {0, 0, 0, 0};
(_tmpvar_85628 = gl_texture2DFetch(_sPrimitiveHeadersF, (_tmpvar_65626 + int2(1, 0)), 0));
float2 _tmpvar_95629 = {0, 0};
float2 _tmpvar_105630 = {0, 0};
(_tmpvar_95629 = _tmpvar_75627.xy);
(_tmpvar_105630 = _tmpvar_75627.zw);
float2 _tmpvar_115631 = {0, 0};
float2 _tmpvar_125632 = {0, 0};
(_tmpvar_115631 = _tmpvar_85628.xy);
(_tmpvar_125632 = _tmpvar_85628.zw);
int2 _tmpvar_135633 = {0, 0};
(_tmpvar_135633.x = int_ctor_uint((2 * (uint_ctor_int(_aData.x) % 512))));
(_tmpvar_135633.y = int_ctor_uint((uint_ctor_int(_aData.x) / 512)));
int4 _tmpvar_145634 = {0, 0, 0, 0};
(_tmpvar_145634 = gl_texture2D_int4_Fetch(_sPrimitiveHeadersI, _tmpvar_135633, 0));
int4 _tmpvar_155635 = {0, 0, 0, 0};
(_tmpvar_155635 = gl_texture2D_int4_Fetch(_sPrimitiveHeadersI, (_tmpvar_135633 + int2(1, 0)), 0));
(_ph_z_55625 = float_ctor_int(_tmpvar_145634.x));
float4x4 _transform_m_165636 = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0};
bool _transform_is_axis_aligned_175637 = {0};
(_transform_is_axis_aligned_175637 = ((_tmpvar_145634.z >> 23) == 0));
int _tmpvar_185638 = {0};
(_tmpvar_185638 = (_tmpvar_145634.z & 8388607));
int2 _tmpvar_195639 = {0, 0};
(_tmpvar_195639.x = int_ctor_uint((8 * (uint_ctor_int(_tmpvar_185638) % 128))));
(_tmpvar_195639.y = int_ctor_uint((uint_ctor_int(_tmpvar_185638) / 128)));
(_transform_m_165636[0] = gl_texture2DFetch(_sTransformPalette, _tmpvar_195639, 0));
(_transform_m_165636[1] = gl_texture2DFetch(_sTransformPalette, (_tmpvar_195639 + int2(1, 0)), 0));
(_transform_m_165636[2] = gl_texture2DFetch(_sTransformPalette, (_tmpvar_195639 + int2(2, 0)), 0));
(_transform_m_165636[3] = gl_texture2DFetch(_sTransformPalette, (_tmpvar_195639 + int2(3, 0)), 0));
int2 _tmpvar_205640 = {0, 0};
(_tmpvar_205640.x = int_ctor_uint((2 * (uint_ctor_int(_instance_picture_task_address_15621) % 512))));
(_tmpvar_205640.y = int_ctor_uint((uint_ctor_int(_instance_picture_task_address_15621) / 512)));
float4 _tmpvar_215641 = {0, 0, 0, 0};
(_tmpvar_215641 = gl_texture2DFetch(_sRenderTasks, _tmpvar_205640, 0));
float4 _tmpvar_225642 = {0, 0, 0, 0};
(_tmpvar_225642 = gl_texture2DFetch(_sRenderTasks, (_tmpvar_205640 + int2(1, 0)), 0));
_RectWithEndpoint _area_task_rect_235643 = {0, 0, 0, 0};
float _area_device_pixel_scale_245644 = {0};
float2 _area_screen_origin_255645 = {0, 0};
if ((_instance_clip_address_25622 >= 32767))
{
(_area_task_rect_235643 = _RectWithEndpoint_ctor(float2(0.0, 0.0), float2(0.0, 0.0)));
(_area_device_pixel_scale_245644 = 0.0);
(_area_screen_origin_255645 = float2(0.0, 0.0));
}
else
{
int2 _tmpvar_265646 = {0, 0};
(_tmpvar_265646.x = int_ctor_uint((2 * (uint_ctor_int(_instance_clip_address_25622) % 512))));
(_tmpvar_265646.y = int_ctor_uint((uint_ctor_int(_instance_clip_address_25622) / 512)));
float4 _tmpvar_275647 = {0, 0, 0, 0};
(_tmpvar_275647 = gl_texture2DFetch(_sRenderTasks, _tmpvar_265646, 0));
float4 _tmpvar_285648 = {0, 0, 0, 0};
(_tmpvar_285648 = gl_texture2DFetch(_sRenderTasks, (_tmpvar_265646 + int2(1, 0)), 0));
(_area_task_rect_235643._p0 = _tmpvar_275647.xy);
(_area_task_rect_235643._p1 = _tmpvar_275647.zw);
(_area_device_pixel_scale_245644 = _tmpvar_285648.x);
(_area_screen_origin_255645 = _tmpvar_285648.yz);
}
float2 _tmpvar_295649 = {0, 0};
float2 _tmpvar_305650 = {0, 0};
(_tmpvar_295649 = _tmpvar_115631);
(_tmpvar_305650 = _tmpvar_125632);
float2 _adjusted_segment_rect_p0_315651 = {0, 0};
float2 _adjusted_segment_rect_p1_325652 = {0, 0};
float2 _segment_rect_p0_335653 = {0, 0};
float2 _segment_rect_p1_345654 = {0, 0};
int _tmpvar_355655 = {0};
(_tmpvar_355655 = ((_instance_flags_45624 >> 12) & 15));
int _tmpvar_365656 = {0};
(_tmpvar_365656 = (_instance_flags_45624 & 4095));
if ((_instance_segment_index_35623 == 65535))
{
(_segment_rect_p0_335653 = _tmpvar_95629);
(_segment_rect_p1_345654 = _tmpvar_105630);
}
else
{
int _tmpvar_375657 = {0};
(_tmpvar_375657 = ((_tmpvar_145634.y + 1) + (_instance_segment_index_35623 * 2)));
int2 _tmpvar_385658 = {0, 0};
(_tmpvar_385658.x = int_ctor_uint((uint_ctor_int(_tmpvar_375657) % 1024)));
(_tmpvar_385658.y = int_ctor_uint((uint_ctor_int(_tmpvar_375657) / 1024)));
float4 _tmpvar_395659 = {0, 0, 0, 0};
(_tmpvar_395659 = gl_texture2DFetch(_sGpuCache, _tmpvar_385658, 0));
(_segment_rect_p0_335653 = (_tmpvar_395659.xy + _tmpvar_75627.xy));
(_segment_rect_p1_345654 = (_tmpvar_395659.zw + _tmpvar_75627.xy));
}
(_adjusted_segment_rect_p0_315651 = _segment_rect_p0_335653);
(_adjusted_segment_rect_p1_325652 = _segment_rect_p1_345654);
if (((!_transform_is_axis_aligned_175637) || ((_tmpvar_365656 & 1024) != 0)))
{
float2 _tmpvar_405660 = {0, 0};
(_tmpvar_405660 = min(max(_segment_rect_p0_335653, _tmpvar_85628.xy), _tmpvar_85628.zw));
float2 _tmpvar_415661 = {0, 0};
(_tmpvar_415661 = min(max(_segment_rect_p1_345654, _tmpvar_85628.xy), _tmpvar_85628.zw));
bool4 _tmpvar_425662 = {0, 0, 0, 0};
(_tmpvar_425662.x = bool_ctor_int((_tmpvar_355655 & 1)));
(_tmpvar_425662.y = bool_ctor_int((_tmpvar_355655 & 2)));
(_tmpvar_425662.z = bool_ctor_int((_tmpvar_355655 & 4)));
(_tmpvar_425662.w = bool_ctor_int((_tmpvar_355655 & 8)));
float4 _tmpvar_435663 = {0, 0, 0, 0};
(_tmpvar_435663.xy = _tmpvar_405660);
(_tmpvar_435663.zw = _tmpvar_415661);
(_vTransformBounds = mix_emu(float4(-10000000272564224.0, -10000000272564224.0, 10000000272564224.0, 10000000272564224.0), _tmpvar_435663, bvec4_ctor(_tmpvar_425662)));
float4 _tmpvar_445664 = {0, 0, 0, 0};
(_tmpvar_445664 = mix_emu(float4(0.0, 0.0, 0.0, 0.0), float4(2.0, 2.0, 2.0, 2.0), bvec4_ctor(_tmpvar_425662)));
(_adjusted_segment_rect_p0_315651 = (_tmpvar_405660 - _tmpvar_445664.xy));
(_adjusted_segment_rect_p1_325652 = (_tmpvar_415661 + _tmpvar_445664.zw));
(_tmpvar_295649 = float2(-10000000272564224.0, -10000000272564224.0));
(_tmpvar_305650 = float2(10000000272564224.0, 10000000272564224.0));
}
else
{
(_vTransformBounds = float4(-10000000272564224.0, -10000000272564224.0, 10000000272564224.0, 10000000272564224.0));
}
float2 _tmpvar_455665 = {0, 0};
(_tmpvar_455665 = min(max(lerp(_adjusted_segment_rect_p0_315651, _adjusted_segment_rect_p1_325652, _aPosition), _tmpvar_295649), _tmpvar_305650));
float4 _tmpvar_465666 = {0, 0, 0, 0};
(_tmpvar_465666.zw = float2(0.0, 1.0));
(_tmpvar_465666.xy = _tmpvar_455665);
float4 _tmpvar_475667 = {0, 0, 0, 0};
(_tmpvar_475667 = mul(transpose(_transform_m_165636), _tmpvar_465666));
float4 _tmpvar_485668 = {0, 0, 0, 0};
(_tmpvar_485668.xy = ((_tmpvar_475667.xy * _tmpvar_225642.x) + (((-_tmpvar_225642.yz) + _tmpvar_215641.xy) * _tmpvar_475667.w)));
(_tmpvar_485668.z = (_ph_z_55625 * _tmpvar_475667.w));
(_tmpvar_485668.w = _tmpvar_475667.w);
(gl_Position = mul(transpose(_uTransform), _tmpvar_485668));
float4 _tmpvar_495669 = {0, 0, 0, 0};
(_tmpvar_495669.xy = _area_task_rect_235643._p0);
(_tmpvar_495669.zw = _area_task_rect_235643._p1);
(_vClipMaskUvBounds = _tmpvar_495669);
(_vClipMaskUv = ((_tmpvar_475667.xy * _area_device_pixel_scale_245644) + (_tmpvar_475667.w * (_area_task_rect_235643._p0 - _area_screen_origin_255645))));
int2 _tmpvar_505670 = {0, 0};
(_tmpvar_505670.x = int_ctor_uint((uint_ctor_int(_tmpvar_145634.y) % 1024)));
(_tmpvar_505670.y = int_ctor_uint((uint_ctor_int(_tmpvar_145634.y) / 1024)));
(_v_color = (gl_texture2DFetch(_sGpuCache, _tmpvar_505670, 0) * (float_ctor_int(_tmpvar_155635.x) / 65535.0)));
(_v_local_pos = _tmpvar_455665);
return generateOutput(input);
}
« struct PS_INPUT
{
    float4 dx_Position : SV_Position;
    float4 gl_Position : TEXCOORD5;
    float4 gl_FragCoord : TEXCOORD6;
    nointerpolation float4 v0 : TEXCOORD0;
    nointerpolation float4 v1 : TEXCOORD1;
    nointerpolation float4 v2 : TEXCOORD2;
    float2 v3 : TEXCOORD3;
    float2 v4 : TEXCOORD4;
};
 
#pragma warning( disable: 3556 3571 )
int2 ivec2_ctor(float2 x0)
{
    return int2(x0);
}
// Uniforms
 
static const uint _sClipMask = 0;
uniform Texture2D<float4> textures2D[1] : register(t0);
uniform SamplerState samplers2D[1] : register(s0);
#ifdef ANGLE_ENABLE_LOOP_FLATTEN
#define LOOP [loop]
#define FLATTEN [flatten]
#else
#define LOOP
#define FLATTEN
#endif
 
#define ATOMIC_COUNTER_ARRAY_STRIDE 4
 
// Varyings
static nointerpolation float4 _vTransformBounds = {0, 0, 0, 0};
static nointerpolation float4 _vClipMaskUvBounds = {0, 0, 0, 0};
static  float2 _vClipMaskUv = {0, 0};
static  float2 _v_local_pos = {0, 0};
static nointerpolation float4 _v_color = {0, 0, 0, 0};
 
static float4 out_oFragColor = {0, 0, 0, 0};
static float4 gl_FragCoord = float4(0, 0, 0, 0);
 
cbuffer DriverConstants : register(b1)
{
    float4 dx_ViewCoords : packoffset(c1);
    float2 dx_FragCoordOffset : packoffset(c3);
    float3 dx_DepthFront : packoffset(c2);
    float2 dx_ViewScale : packoffset(c3.z);
    struct SamplerMetadata
    {
        int baseLevel;
        int internalFormatBits;
        int wrapModes;
        int padding;
        int4 intBorderColor;
    };
    SamplerMetadata samplerMetadata[1] : packoffset(c5);
};
 
float4 gl_texture2DFetch(uint samplerIndex, int2 t, int mip)
{
    return textures2D[samplerIndex].Load(int3(t.x, t.y, mip));
}
 
#define GL_USES_FRAG_COORD
@@ PIXEL OUTPUT @@
 
PS_OUTPUT main(PS_INPUT input){
    float rhw = 1.0 / input.gl_FragCoord.w;
    gl_FragCoord.x = input.dx_Position.x - dx_FragCoordOffset.x;
    gl_FragCoord.y = input.dx_Position.y - dx_FragCoordOffset.y;
    gl_FragCoord.z = (input.gl_FragCoord.z * rhw) * dx_DepthFront.x + dx_DepthFront.y;
    gl_FragCoord.w = rhw;
    _vTransformBounds = input.v0;
    _vClipMaskUvBounds = input.v1;
    _v_color = input.v2;
    _vClipMaskUv = input.v3.xy;
    _v_local_pos = input.v4.xy;
 
float4 _frag_color_15613 = {0, 0, 0, 0};
float2 _tmpvar_25614 = {0, 0};
(_tmpvar_25614 = (max((_vTransformBounds.xy - _v_local_pos), (_v_local_pos - _vTransformBounds.zw)) / (abs(ddx(_v_local_pos)) + abs(ddy(_v_local_pos)))));
(_frag_color_15613 = (_v_color * min(max((0.5 - max(_tmpvar_25614.x, _tmpvar_25614.y)), 0.0), 1.0)));
float _tmpvar_35615 = {0};
if (all(_vClipMaskUvBounds.xy == _vClipMaskUvBounds.zw))
{
(_tmpvar_35615 = 1.0);
}
else
{
float2 _tmpvar_45616 = {0, 0};
(_tmpvar_45616 = (_vClipMaskUv * gl_FragCoord.w));
bool4 _tmpvar_55617 = {0, 0, 0, 0};
(_tmpvar_55617.xy = (_tmpvar_45616 >= _vClipMaskUvBounds.xy));
(_tmpvar_55617.zw = (_tmpvar_45616 < _vClipMaskUvBounds.zw));
bool _tmpvar_65618 = {0};
(_tmpvar_65618 = all(_tmpvar_55617 == bool4(true, true, true, true)));
if ((!_tmpvar_65618))
{
(_tmpvar_35615 = 0.0);
}
else
{
(_tmpvar_35615 = gl_texture2DFetch(_sClipMask, ivec2_ctor(_tmpvar_45616), 0).x);
}
}
(_frag_color_15613 = (_frag_color_15613 * _tmpvar_35615));
(out_oFragColor = _frag_color_15613);
return generateOutput();
}
R‹out_oFragColorout_oFragColor)struct GS_INPUT
{
    float4 dx_Position : SV_Position;
    float4 gl_Position : TEXCOORD5;
    float4 gl_FragCoord : TEXCOORD6;
    nointerpolation float4 v0 : TEXCOORD0;
    nointerpolation float4 v1 : TEXCOORD1;
    nointerpolation float4 v2 : TEXCOORD2;
    float2 v3 : TEXCOORD3;
    float2 v4 : TEXCOORD4;
};
 
struct GS_OUTPUT
{
    float4 dx_Position : SV_Position;
    float4 gl_Position : TEXCOORD5;
    float4 gl_FragCoord : TEXCOORD6;
    nointerpolation float4 v0 : TEXCOORD0;
    nointerpolation float4 v1 : TEXCOORD1;
    nointerpolation float4 v2 : TEXCOORD2;
    float2 v3 : TEXCOORD3;
    float2 v4 : TEXCOORD4;
};
 
void copyVertex(inout GS_OUTPUT output, GS_INPUT input, GS_INPUT flatinput)
{
    output.gl_Position = input.gl_Position;
    output.v0 = flatinput.v0; 
    output.v1 = flatinput.v1; 
    output.v2 = flatinput.v2; 
    output.v3 = input.v3; 
    output.v4 = input.v4; 
    output.gl_FragCoord = input.gl_FragCoord;
#ifndef ANGLE_POINT_SPRITE_SHADER
    output.dx_Position = input.dx_Position;
#endif  // ANGLE_POINT_SPRITE_SHADER
}
¶§pDXBCTNO3WIß<UK=ýIxˆ™p4X¤ŒÔRDEF„<þÿÁôRD11< ($ ÿÿÿÿ *ÿÿÿÿ 8ÿÿÿÿ Fÿÿÿÿ Tÿÿÿÿ hqtextures2D[0]textures2D[1]textures2D[2]textures2D[3]textures2D_int4_[0]$GlobalsDriverConstants«««h´@qðÜ@ôÿÿÿÿÿÿÿÿ_uTransformfloat4x4«««è ÿÿÿÿÿÿÿÿD \ÿÿÿÿÿÿÿÿ€0\ÿÿÿÿÿÿÿÿ<¨ÿÿÿÿÿÿÿÿÌ@¨ÿÿÿÿÿÿÿÿáP Ðÿÿÿÿÿÿÿÿdx_ViewAdjustfloat4«««dx_ViewCoordsfloat2«««Rdx_ViewScaleclipControlOriginfloat«««ŸclipControlZeroToOnesamplerMetadataSamplerMetadatabaseLevelint« internalFormatBitswrapModespaddingintBorderColorint4«««h4GQ Yp”ñMicrosoft (R) HLSL Shader Compiler 10.1ISGND88TEXCOORD«««OSGNàÈÔÔÔÔÔÔ Ô SV_PositionTEXCOORD«««SHEX@PjYFŽ YFŽ XpUUXpUUXpUUXpUUXp33_2_rgò eò eò eò eò eò e2 e h
2–@ÿÿÿÿ*
ÂV@Œ @    @
@U"
@    6Â@-‰Â€CUòFF~
2F@6Â@-‰Â€CUòFF~-‰Â€ÃÌ rFF~-‰Â€ÃÌ ‚F–s+
**@Œ @@*@Š    "@@*6Â@-‰Â€CUâF&}
2F@6Â@-‰Â€CUrFF{
2F@6Â@-‰Â€CUrFF{Œ @    @*@U"*@    6Â@-‰Â€CUÂFæt
2F@6Â@-‰Â€CUrFF~!
@ÿ
6ò    @6r
@Œ  @    @@Š    " @@    6 @-‰Â€CUò    F F~
2 F @6 @-‰Â€CUr
F –|*:@  "@ÿÿ"@Œ B@@*@"* @ÿU" @
6 @-‰Â€CUò F F~òFF ":@<"
4Â32 æ
æ
4¦3 ¦¦
ò @'
R¦  @7 ò F F @ÊÚÊÚÊZÊZ
R@@@72F @ÀÀ@€€2 FF  ¦ 7 ò VF @ÊÚÊÚÊZÊZ7 òV@ÊÚÊÚÊZÊZF7    òVF F€A¦2    2Fæ
F42FF32æ
F8rVF2    r–FrFF¦V    €A8¦
¦2    2Fæ
8B
*6‚*FŽ F"FŽ FBFŽ F‚FŽ F    €A
8¦¦
2    2 F¦
 
æ
@ÿU"@
6Â@-‰Â€CUòFF~+B:8B*@€€78ò ¦
F8" :€ 9 B@
€ ‚:*8‚:@?7    B **:6’  6ò F6ò F6ò F    6 >STAT”l
  àŒDXBCŒÖí]^f#¡ÐûGFö˜‰4иìdRDEF”<ÿÿÁjRD11< ($ \ÿÿÿÿ textures2D[0]Microsoft (R) HLSL Shader Compiler 10.1««ISGNàÈÔÔÔÔÔÔÔ SV_PositionTEXCOORD«««OSGN, SV_TARGET««SHEXpPÜjXpUUb‚bòbòbòb2bÂeò h2Fæ€A¦€A¦42æ
Fz¦|2æ    Â¦€€2Fæ
4
 
€A@?8òF2æF
 
6@€?
"@€?€?€?€?:8bV2–F1ÂV    ¦ 
òF@ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ2æ
F‚
:6@2–6Â@-‰Â€CUFF~8ò F>STAT” ¦“mÄVšÉDÌb