2­TБ0Ѓх@ЇЫ^Тћ—23851a53779d P‹ђ aPosition _uaPositionџџџџџџџџџџџџџџџџU‹ѕaData_uaDataџџџџџџџџџџџџџџџџ ѕuMode_uuModeџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџ\‹ђ uTransform _uuTransformџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџ^‹sColor0 _usColor0џџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџ^‹ sRenderTasks_usRenderTasksџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџ^‹ sGpuCache _usGpuCacheџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџ^‹sTransformPalette_usTransformPaletteџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџ^‹sPrimitiveHeadersF_usPrimitiveHeadersFџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџЪsPrimitiveHeadersI_usPrimitiveHeadersIџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџ^‹ sClipMask _usClipMaskџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџŒŒR‹ђ oFragColor _uoFragColorџџџџџџџџџџџџџџџџџџџџ ^‹^‹^‹^‹^‹Ъ^‹ џџџџ  ˜”K0щЁџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџ џџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџ\Mstruct VS_OUTPUT { float4 dx_Position : SV_Position; float4 gl_Position : TEXCOORD8; float4 gl_FragCoord : TEXCOORD9; nointerpolation float4 v0 : TEXCOORD0; nointerpolation float4 v1 : TEXCOORD1; nointerpolation float4 v2 : TEXCOORD2; nointerpolation float4 v3 : TEXCOORD3; float2 v4 : TEXCOORD4; float2 v5 : TEXCOORD5; nointerpolation float2 v6 : TEXCOORD6; nointerpolation float2 v7 : TEXCOORD7; }; #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 x0) { return bool(x0); } bool4 bvec4_ctor(bool4 x0) { return bool4(x0); } float float_ctor(int x0) { return float(x0); } float2 vec2_ctor(int2 x0) { return float2(x0); } int int_ctor(uint x0) { return int(x0); } uint uint_ctor(int x0) { return uint(x0); } // Uniforms uniform int _uMode : register(c0); uniform float4x4 _uTransform : register(c1); static const uint _sColor0 = 0; static const uint _sRenderTasks = 1; static const uint _sGpuCache = 2; static const uint _sTransformPalette = 3; static const uint _sPrimitiveHeadersF = 4; uniform Texture2D textures2D[5] : register(t0); uniform SamplerState samplers2D[5] : register(s0); static const uint _sPrimitiveHeadersI = 5; static const uint textureIndexOffset2D_int4_ = 5; static const uint samplerIndexOffset2D_int4_ = 5; uniform Texture2D textures2D_int4_[1] : register(t5); uniform SamplerState samplers2D_int4_[1] : register(s5); #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 float2 _v_uv = {0, 0}; static nointerpolation float4 _v_color = {0, 0, 0, 0}; static nointerpolation float2 _v_mask_swizzle = {0, 0}; static nointerpolation float2 _v_tile_repeat = {0, 0}; static nointerpolation float4 _v_uv_bounds = {0, 0, 0, 0}; static nointerpolation float4 _v_uv_sample_bounds = {0, 0, 0, 0}; static nointerpolation float2 _v_perspective = {0, 0}; cbuffer DriverConstants : register(b1) { float4 dx_ViewAdjust : packoffset(c1); float2 dx_ViewCoords : packoffset(c2); float2 dx_ViewScale : packoffset(c3); struct SamplerMetadata { int baseLevel; int internalFormatBits; int wrapModes; int padding; int4 intBorderColor; }; SamplerMetadata samplerMetadata[6] : packoffset(c4); }; int2 gl_texture2DSize(uint samplerIndex, int lod) { int baseLevel = 0; uint width; uint height; uint numberOfLevels; textures2D[samplerIndex].GetDimensions(baseLevel, width, height, numberOfLevels); width = max(width >> lod, 1); height = max(height >> lod, 1); return int2(width, height); } 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 = - gl_Position.y; 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 = _vClipMaskUvBounds; output.v1 = _v_color; output.v2 = _v_uv_bounds; output.v3 = _v_uv_sample_bounds; output.v4 = _vClipMaskUv; output.v5 = _v_uv; output.v6 = _v_mask_swizzle; output.v7 = _v_perspective; return output; } VS_OUTPUT main(VS_INPUT input){ initAttributes(input); int _instance_picture_task_address_14910 = {0}; int _instance_clip_address_24911 = {0}; int _instance_segment_index_34912 = {0}; int _instance_flags_44913 = {0}; int _instance_resource_address_54914 = {0}; (_instance_picture_task_address_14910 = (_aData.y >> 16)); (_instance_clip_address_24911 = (_aData.y & 65535)); (_instance_segment_index_34912 = (_aData.z & 65535)); (_instance_flags_44913 = (_aData.z >> 16)); (_instance_resource_address_54914 = (_aData.w & 16777215)); float _ph_z_64915 = {0}; int2 _tmpvar_74916 = {0, 0}; (_tmpvar_74916.x = int_ctor((2 * (uint_ctor(_aData.x) % 512)))); (_tmpvar_74916.y = int_ctor((uint_ctor(_aData.x) / 512))); float4 _tmpvar_84917 = {0, 0, 0, 0}; (_tmpvar_84917 = gl_texture2DFetch(_sPrimitiveHeadersF, _tmpvar_74916, 0)); float4 _tmpvar_94918 = {0, 0, 0, 0}; (_tmpvar_94918 = gl_texture2DFetch(_sPrimitiveHeadersF, (_tmpvar_74916 + int2(1, 0)), 0)); float2 _tmpvar_104919 = {0, 0}; float2 _tmpvar_114920 = {0, 0}; (_tmpvar_104919 = _tmpvar_84917.xy); (_tmpvar_114920 = _tmpvar_84917.zw); float2 _tmpvar_124921 = {0, 0}; float2 _tmpvar_134922 = {0, 0}; (_tmpvar_124921 = _tmpvar_94918.xy); (_tmpvar_134922 = _tmpvar_94918.zw); int2 _tmpvar_144923 = {0, 0}; (_tmpvar_144923.x = int_ctor((2 * (uint_ctor(_aData.x) % 512)))); (_tmpvar_144923.y = int_ctor((uint_ctor(_aData.x) / 512))); int4 _tmpvar_154924 = {0, 0, 0, 0}; (_tmpvar_154924 = gl_texture2D_int4_Fetch(_sPrimitiveHeadersI, _tmpvar_144923, 0)); int4 _tmpvar_164925 = {0, 0, 0, 0}; (_tmpvar_164925 = gl_texture2D_int4_Fetch(_sPrimitiveHeadersI, (_tmpvar_144923 + int2(1, 0)), 0)); (_ph_z_64915 = float_ctor(_tmpvar_154924.x)); float4x4 _transform_m_174926 = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; bool _transform_is_axis_aligned_184927 = {0}; (_transform_is_axis_aligned_184927 = ((_tmpvar_154924.z >> 24) == 0)); int _tmpvar_194928 = {0}; (_tmpvar_194928 = (_tmpvar_154924.z & 16777215)); int2 _tmpvar_204929 = {0, 0}; (_tmpvar_204929.x = int_ctor((8 * (uint_ctor(_tmpvar_194928) % 128)))); (_tmpvar_204929.y = int_ctor((uint_ctor(_tmpvar_194928) / 128))); (_transform_m_174926[0] = gl_texture2DFetch(_sTransformPalette, _tmpvar_204929, 0)); (_transform_m_174926[1] = gl_texture2DFetch(_sTransformPalette, (_tmpvar_204929 + int2(1, 0)), 0)); (_transform_m_174926[2] = gl_texture2DFetch(_sTransformPalette, (_tmpvar_204929 + int2(2, 0)), 0)); (_transform_m_174926[3] = gl_texture2DFetch(_sTransformPalette, (_tmpvar_204929 + int2(3, 0)), 0)); int2 _tmpvar_214930 = {0, 0}; (_tmpvar_214930.x = int_ctor((2 * (uint_ctor(_instance_picture_task_address_14910) % 512)))); (_tmpvar_214930.y = int_ctor((uint_ctor(_instance_picture_task_address_14910) / 512))); float4 _tmpvar_224931 = {0, 0, 0, 0}; (_tmpvar_224931 = gl_texture2DFetch(_sRenderTasks, _tmpvar_214930, 0)); float4 _tmpvar_234932 = {0, 0, 0, 0}; (_tmpvar_234932 = gl_texture2DFetch(_sRenderTasks, (_tmpvar_214930 + int2(1, 0)), 0)); _RectWithEndpoint _area_task_rect_244933 = {0, 0, 0, 0}; float _area_device_pixel_scale_254934 = {0}; float2 _area_screen_origin_264935 = {0, 0}; if ((_instance_clip_address_24911 >= 32767)) { (_area_task_rect_244933 = _RectWithEndpoint_ctor(float2(0.0, 0.0), float2(0.0, 0.0))); (_area_device_pixel_scale_254934 = 0.0); (_area_screen_origin_264935 = float2(0.0, 0.0)); } else { int2 _tmpvar_274936 = {0, 0}; (_tmpvar_274936.x = int_ctor((2 * (uint_ctor(_instance_clip_address_24911) % 512)))); (_tmpvar_274936.y = int_ctor((uint_ctor(_instance_clip_address_24911) / 512))); float4 _tmpvar_284937 = {0, 0, 0, 0}; (_tmpvar_284937 = gl_texture2DFetch(_sRenderTasks, _tmpvar_274936, 0)); float4 _tmpvar_294938 = {0, 0, 0, 0}; (_tmpvar_294938 = gl_texture2DFetch(_sRenderTasks, (_tmpvar_274936 + int2(1, 0)), 0)); (_area_task_rect_244933._p0 = _tmpvar_284937.xy); (_area_task_rect_244933._p1 = _tmpvar_284937.zw); (_area_device_pixel_scale_254934 = _tmpvar_294938.x); (_area_screen_origin_264935 = _tmpvar_294938.yz); } float2 _tmpvar_304939 = {0, 0}; float2 _tmpvar_314940 = {0, 0}; (_tmpvar_304939 = _tmpvar_124921); (_tmpvar_314940 = _tmpvar_134922); float2 _adjusted_segment_rect_p0_324941 = {0, 0}; float2 _adjusted_segment_rect_p1_334942 = {0, 0}; float2 _segment_rect_p0_344943 = {0, 0}; float2 _segment_rect_p1_354944 = {0, 0}; float4 _segment_data_364945 = {0, 0, 0, 0}; int _tmpvar_374946 = {0}; (_tmpvar_374946 = ((_instance_flags_44913 >> 12) & 15)); int _tmpvar_384947 = {0}; (_tmpvar_384947 = (_instance_flags_44913 & 4095)); if ((_instance_segment_index_34912 == 65535)) { (_segment_rect_p0_344943 = _tmpvar_104919); (_segment_rect_p1_354944 = _tmpvar_114920); (_segment_data_364945 = float4(0.0, 0.0, 0.0, 0.0)); } else { int _tmpvar_394948 = {0}; (_tmpvar_394948 = ((_tmpvar_154924.y + 3) + (_instance_segment_index_34912 * 2))); int2 _tmpvar_404949 = {0, 0}; (_tmpvar_404949.x = int_ctor((uint_ctor(_tmpvar_394948) % 1024))); (_tmpvar_404949.y = int_ctor((uint_ctor(_tmpvar_394948) / 1024))); float4 _tmpvar_414950 = {0, 0, 0, 0}; (_tmpvar_414950 = gl_texture2DFetch(_sGpuCache, _tmpvar_404949, 0)); (_segment_rect_p0_344943 = (_tmpvar_414950.xy + _tmpvar_84917.xy)); (_segment_rect_p1_354944 = (_tmpvar_414950.zw + _tmpvar_84917.xy)); (_segment_data_364945 = gl_texture2DFetch(_sGpuCache, (_tmpvar_404949 + int2(1, 0)), 0)); } (_adjusted_segment_rect_p0_324941 = _segment_rect_p0_344943); (_adjusted_segment_rect_p1_334942 = _segment_rect_p1_354944); if (_transform_is_axis_aligned_184927) { (_vTransformBounds = float4(-10000000272564224.0, -10000000272564224.0, 10000000272564224.0, 10000000272564224.0)); } else { bool4 _tmpvar_424951 = {0, 0, 0, 0}; (_tmpvar_424951.x = bool_ctor((_tmpvar_374946 & 1))); (_tmpvar_424951.y = bool_ctor((_tmpvar_374946 & 2))); (_tmpvar_424951.z = bool_ctor((_tmpvar_374946 & 4))); (_tmpvar_424951.w = bool_ctor((_tmpvar_374946 & 8))); float4 _tmpvar_434952 = {0, 0, 0, 0}; (_tmpvar_434952.xy = min(max(_tmpvar_84917.xy, _tmpvar_94918.xy), _tmpvar_94918.zw)); (_tmpvar_434952.zw = min(max(_tmpvar_84917.zw, _tmpvar_94918.xy), _tmpvar_94918.zw)); float4 _tmpvar_444953 = {0, 0, 0, 0}; (_tmpvar_444953.xy = min(max(_segment_rect_p0_344943, _tmpvar_94918.xy), _tmpvar_94918.zw)); (_tmpvar_444953.zw = min(max(_segment_rect_p1_354944, _tmpvar_94918.xy), _tmpvar_94918.zw)); (_vTransformBounds = mix_emu(_tmpvar_434952, _tmpvar_444953, bvec4_ctor(_tmpvar_424951))); float4 _tmpvar_454954 = {0, 0, 0, 0}; (_tmpvar_454954 = mix_emu(float4(0.0, 0.0, 0.0, 0.0), float4(2.0, 2.0, 2.0, 2.0), bvec4_ctor(_tmpvar_424951))); (_adjusted_segment_rect_p0_324941 = (_segment_rect_p0_344943 - _tmpvar_454954.xy)); (_adjusted_segment_rect_p1_334942 = (_segment_rect_p1_354944 + _tmpvar_454954.zw)); (_tmpvar_304939 = float2(-10000000272564224.0, -10000000272564224.0)); (_tmpvar_314940 = float2(10000000272564224.0, 10000000272564224.0)); } float2 _tmpvar_464955 = {0, 0}; (_tmpvar_464955 = min(max(lerp(_adjusted_segment_rect_p0_324941, _adjusted_segment_rect_p1_334942, _aPosition), _tmpvar_304939), _tmpvar_314940)); float4 _tmpvar_474956 = {0, 0, 0, 0}; (_tmpvar_474956.zw = float2(0.0, 1.0)); (_tmpvar_474956.xy = _tmpvar_464955); float4 _tmpvar_484957 = {0, 0, 0, 0}; (_tmpvar_484957 = mul(transpose(_transform_m_174926), _tmpvar_474956)); float4 _tmpvar_494958 = {0, 0, 0, 0}; (_tmpvar_494958.xy = ((_tmpvar_484957.xy * _tmpvar_234932.x) + (((-_tmpvar_234932.yz) + _tmpvar_224931.xy) * _tmpvar_484957.w))); (_tmpvar_494958.z = (_ph_z_64915 * _tmpvar_484957.w)); (_tmpvar_494958.w = _tmpvar_484957.w); (gl_Position = mul(transpose(_uTransform), _tmpvar_494958)); float4 _tmpvar_504959 = {0, 0, 0, 0}; (_tmpvar_504959.xy = _area_task_rect_244933._p0); (_tmpvar_504959.zw = _area_task_rect_244933._p1); (_vClipMaskUvBounds = _tmpvar_504959); (_vClipMaskUv = ((_tmpvar_484957.xy * _area_device_pixel_scale_254934) + (_tmpvar_484957.w * (_area_task_rect_244933._p0 - _area_screen_origin_264935)))); int _color_mode_514960 = {0}; float2 _f_524961 = {0, 0}; float2 _stretch_size_534962 = {0, 0}; float2 _local_rect_p0_544963 = {0, 0}; float2 _local_rect_p1_554964 = {0, 0}; float2 _uv1_564965 = {0, 0}; float2 _uv0_574966 = {0, 0}; float4 _image_data_color_584967 = {0, 0, 0, 0}; int2 _tmpvar_594968 = {0, 0}; (_tmpvar_594968.x = int_ctor((uint_ctor(_tmpvar_154924.y) % 1024))); (_tmpvar_594968.y = int_ctor((uint_ctor(_tmpvar_154924.y) / 1024))); float4 _tmpvar_604969 = {0, 0, 0, 0}; float4 _tmpvar_614970 = {0, 0, 0, 0}; float4 _tmpvar_624971 = {0, 0, 0, 0}; (_tmpvar_604969 = gl_texture2DFetch(_sGpuCache, _tmpvar_594968, 0)); (_tmpvar_614970 = gl_texture2DFetch(_sGpuCache, (_tmpvar_594968 + int2(1, 0)), 0)); (_tmpvar_624971 = gl_texture2DFetch(_sGpuCache, (_tmpvar_594968 + int2(2, 0)), 0)); (_image_data_color_584967 = _tmpvar_604969); float2 _tmpvar_634972 = {0, 0}; (_tmpvar_634972 = vec2_ctor(gl_texture2DSize(_sColor0, 0))); int2 _tmpvar_644973 = {0, 0}; (_tmpvar_644973.x = int_ctor((uint_ctor(_instance_resource_address_54914) % 1024))); (_tmpvar_644973.y = int_ctor((uint_ctor(_instance_resource_address_54914) / 1024))); float4 _tmpvar_654974 = {0, 0, 0, 0}; (_tmpvar_654974 = gl_texture2DFetch(_sGpuCache, _tmpvar_644973, 0)); (_uv0_574966 = _tmpvar_654974.xy); (_uv1_564965 = _tmpvar_654974.zw); (_local_rect_p0_544963 = _tmpvar_104919); (_local_rect_p1_554964 = _tmpvar_114920); (_stretch_size_534962 = _tmpvar_624971.xy); if ((_tmpvar_624971.x < 0.0)) { (_stretch_size_534962 = (_tmpvar_84917.zw - _tmpvar_84917.xy)); } if (((_tmpvar_384947 & 2) != 0)) { (_local_rect_p0_544963 = _segment_rect_p0_344943); (_local_rect_p1_554964 = _segment_rect_p1_354944); (_stretch_size_534962 = (_segment_rect_p1_354944 - _segment_rect_p0_344943)); if (((_tmpvar_384947 & 128) != 0)) { float2 _tmpvar_664975 = {0, 0}; (_tmpvar_664975 = (_tmpvar_654974.zw - _tmpvar_654974.xy)); (_uv0_574966 = (_tmpvar_654974.xy + (_segment_data_364945.xy * _tmpvar_664975))); (_uv1_564965 = (_tmpvar_654974.xy + (_segment_data_364945.zw * _tmpvar_664975))); } } float _tmpvar_674976 = {0}; if (((_tmpvar_384947 & 1) != 0)) { (_tmpvar_674976 = 1.0); } else { (_tmpvar_674976 = 0.0); } (_v_perspective.x = _tmpvar_674976); float2 _tmpvar_684977 = {0, 0}; (_tmpvar_684977 = min(_uv0_574966, _uv1_564965)); float2 _tmpvar_694978 = {0, 0}; (_tmpvar_694978 = max(_uv0_574966, _uv1_564965)); float4 _tmpvar_704979 = {0, 0, 0, 0}; (_tmpvar_704979.xy = (_tmpvar_684977 + float2(0.5, 0.5))); (_tmpvar_704979.zw = (_tmpvar_694978 - float2(0.5, 0.5))); (_v_uv_sample_bounds = (_tmpvar_704979 / _tmpvar_634972.xyxy)); float2 _tmpvar_714980 = {0, 0}; (_tmpvar_714980 = ((_tmpvar_464955 - _local_rect_p0_544963) / (_local_rect_p1_554964 - _local_rect_p0_544963))); (_f_524961 = _tmpvar_714980); int _tmpvar_724981 = {0}; (_tmpvar_724981 = (_tmpvar_164925.x & 65535)); (_color_mode_514960 = _tmpvar_724981); int _tmpvar_734982 = {0}; (_tmpvar_734982 = (_tmpvar_164925.x >> 16)); if ((_tmpvar_724981 == 0)) { (_color_mode_514960 = _uMode); } if ((_tmpvar_164925.y == 1)) { int _tmpvar_744983 = {0}; (_tmpvar_744983 = (_instance_resource_address_54914 + 2)); int2 _tmpvar_754984 = {0, 0}; (_tmpvar_754984.x = int_ctor((uint_ctor(_tmpvar_744983) % 1024))); (_tmpvar_754984.y = int_ctor((uint_ctor(_tmpvar_744983) / 1024))); float4 _tmpvar_764985 = {0, 0, 0, 0}; (_tmpvar_764985 = lerp(lerp(gl_texture2DFetch(_sGpuCache, _tmpvar_754984, 0), gl_texture2DFetch(_sGpuCache, (_tmpvar_754984 + int2(1, 0)), 0), _tmpvar_714980.x), lerp(gl_texture2DFetch(_sGpuCache, (_tmpvar_754984 + int2(2, 0)), 0), gl_texture2DFetch(_sGpuCache, (_tmpvar_754984 + int2(3, 0)), 0), _tmpvar_714980.x), _tmpvar_714980.y)); (_f_524961 = (_tmpvar_764985.xy / _tmpvar_764985.w)); } float2 _tmpvar_774986 = {0, 0}; (_tmpvar_774986 = ((_local_rect_p1_554964 - _local_rect_p0_544963) / _stretch_size_534962)); (_v_uv = (lerp(_uv0_574966, _uv1_564965, _f_524961) - _tmpvar_684977)); (_v_uv = (_v_uv / _tmpvar_634972)); (_v_uv = (_v_uv * _tmpvar_774986)); if ((_tmpvar_674976 == 0.0)) { (_v_uv = (_v_uv * _tmpvar_484957.w)); } float4 _tmpvar_784987 = {0, 0, 0, 0}; (_tmpvar_784987.xy = _tmpvar_684977); (_tmpvar_784987.zw = _tmpvar_694978); (_v_uv_bounds = (_tmpvar_784987 / _tmpvar_634972.xyxy)); (_v_tile_repeat = _tmpvar_774986); float _tmpvar_794988 = {0}; (_tmpvar_794988 = (float_ctor(_tmpvar_164925.z) / 65535.0)); bool _tmpvar_804989 = {0}; bool _tmpvar_814990 = {0}; (_tmpvar_814990 = false); (_tmpvar_804989 = (0 == _tmpvar_734982)); if (_tmpvar_804989) { (_image_data_color_584967.w = (_tmpvar_604969.w * _tmpvar_794988)); (_tmpvar_814990 = true); } (_tmpvar_804989 = (!_tmpvar_814990)); if (_tmpvar_804989) { (_image_data_color_584967 = (_image_data_color_584967 * _tmpvar_794988)); (_tmpvar_814990 = true); } bool _tmpvar_824991 = {0}; bool _tmpvar_834992 = {0}; (_tmpvar_834992 = false); (_tmpvar_824991 = (1 == _color_mode_514960)); (_tmpvar_824991 = (_tmpvar_824991 || (7 == _color_mode_514960))); if (_tmpvar_824991) { (_v_mask_swizzle = float2(0.0, 1.0)); (_v_color = _image_data_color_584967); (_tmpvar_834992 = true); } (_tmpvar_824991 = (_tmpvar_824991 || (5 == _color_mode_514960))); (_tmpvar_824991 = (_tmpvar_824991 || (9 == _color_mode_514960))); (_tmpvar_824991 = (_tmpvar_824991 && (!_tmpvar_834992))); if (_tmpvar_824991) { (_v_mask_swizzle = float2(1.0, 0.0)); (_v_color = _image_data_color_584967); (_tmpvar_834992 = true); } (_tmpvar_824991 = (_tmpvar_824991 || (2 == _color_mode_514960))); (_tmpvar_824991 = (_tmpvar_824991 || (3 == _color_mode_514960))); (_tmpvar_824991 = (_tmpvar_824991 || (8 == _color_mode_514960))); (_tmpvar_824991 = (_tmpvar_824991 && (!_tmpvar_834992))); if (_tmpvar_824991) { (_v_mask_swizzle = float2(1.0, 0.0)); (_v_color = _image_data_color_584967.wwww); (_tmpvar_834992 = true); } (_tmpvar_824991 = (_tmpvar_824991 || (4 == _color_mode_514960))); (_tmpvar_824991 = (_tmpvar_824991 && (!_tmpvar_834992))); if (_tmpvar_824991) { (_v_mask_swizzle = float2(-1.0, 1.0)); (_v_color = (_image_data_color_584967.wwww * _tmpvar_614970)); (_tmpvar_834992 = true); } (_tmpvar_824991 = (_tmpvar_824991 || (6 == _color_mode_514960))); (_tmpvar_824991 = (_tmpvar_824991 && (!_tmpvar_834992))); if (_tmpvar_824991) { float2 _tmpvar_844993 = {0, 0}; (_tmpvar_844993.y = 0.0); (_tmpvar_844993.x = _image_data_color_584967.w); (_v_mask_swizzle = _tmpvar_844993); (_v_color = _image_data_color_584967); (_tmpvar_834992 = true); } (_tmpvar_824991 = (_tmpvar_824991 || (10 == _color_mode_514960))); (_tmpvar_824991 = (_tmpvar_824991 && (!_tmpvar_834992))); if (_tmpvar_824991) { float2 _tmpvar_854994 = {0, 0}; (_tmpvar_854994.x = (-_image_data_color_584967.w)); (_tmpvar_854994.y = _image_data_color_584967.w); (_v_mask_swizzle = _tmpvar_854994); (_v_color = _image_data_color_584967); (_tmpvar_834992 = true); } (_tmpvar_824991 = (!_tmpvar_834992)); if (_tmpvar_824991) { (_v_mask_swizzle = float2(0.0, 0.0)); (_v_color = float4(1.0, 1.0, 1.0, 1.0)); } (_v_local_pos = _tmpvar_464955); return generateOutput(input); } struct PS_INPUT { float4 dx_Position : SV_Position; float4 gl_Position : TEXCOORD8; float4 gl_FragCoord : TEXCOORD9; nointerpolation float4 v0 : TEXCOORD0; nointerpolation float4 v1 : TEXCOORD1; nointerpolation float4 v2 : TEXCOORD2; nointerpolation float4 v3 : TEXCOORD3; float2 v4 : TEXCOORD4; float2 v5 : TEXCOORD5; nointerpolation float2 v6 : TEXCOORD6; nointerpolation float2 v7 : TEXCOORD7; }; #pragma warning( disable: 3556 3571 ) int2 ivec2_ctor(float2 x0) { return int2(x0); } // Uniforms static const uint _sColor0 = 0; static const uint _sClipMask = 1; uniform Texture2D textures2D[2] : register(t0); uniform SamplerState samplers2D[2] : 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 _vClipMaskUvBounds = {0, 0, 0, 0}; static float2 _vClipMaskUv = {0, 0}; static float2 _v_uv = {0, 0}; static nointerpolation float4 _v_color = {0, 0, 0, 0}; static nointerpolation float2 _v_mask_swizzle = {0, 0}; static nointerpolation float4 _v_uv_bounds = {0, 0, 0, 0}; static nointerpolation float4 _v_uv_sample_bounds = {0, 0, 0, 0}; static nointerpolation float2 _v_perspective = {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); float3 dx_DepthFront : packoffset(c2); float2 dx_ViewScale : packoffset(c3); struct SamplerMetadata { int baseLevel; int internalFormatBits; int wrapModes; int padding; int4 intBorderColor; }; SamplerMetadata samplerMetadata[2] : packoffset(c4); }; float4 gl_texture2D(uint samplerIndex, float2 t) { return textures2D[samplerIndex].Sample(samplers2D[samplerIndex], float2(t.x, t.y)); } 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; gl_FragCoord.y = input.dx_Position.y; gl_FragCoord.z = (input.gl_FragCoord.z * rhw) * dx_DepthFront.x + dx_DepthFront.y; gl_FragCoord.w = rhw; _vClipMaskUvBounds = input.v0; _v_color = input.v1; _v_uv_bounds = input.v2; _v_uv_sample_bounds = input.v3; _vClipMaskUv = input.v4.xy; _v_uv = input.v5.xy; _v_mask_swizzle = input.v6.xy; _v_perspective = input.v7.xy; float4 _frag_color_14898 = {0, 0, 0, 0}; float4 _texel_24899 = {0, 0, 0, 0}; float4 _tmpvar_34900 = {0, 0, 0, 0}; (_tmpvar_34900 = gl_texture2D(_sColor0, min(max(((_v_uv * lerp(gl_FragCoord.w, 1.0, _v_perspective.x)) + _v_uv_bounds.xy), _v_uv_sample_bounds.xy), _v_uv_sample_bounds.zw))); (_texel_24899.w = _tmpvar_34900.w); (_texel_24899.xyz = ((_tmpvar_34900.xyz * _v_mask_swizzle.x) + (_tmpvar_34900.www * _v_mask_swizzle.y))); (_frag_color_14898 = (_v_color * _texel_24899)); float _tmpvar_44901 = {0}; if (all(_vClipMaskUvBounds.xy == _vClipMaskUvBounds.zw)) { (_tmpvar_44901 = 1.0); } else { float2 _tmpvar_54902 = {0, 0}; (_tmpvar_54902 = (_vClipMaskUv * gl_FragCoord.w)); bool4 _tmpvar_64903 = {0, 0, 0, 0}; (_tmpvar_64903.xy = (_tmpvar_54902 >= _vClipMaskUvBounds.xy)); (_tmpvar_64903.zw = (_tmpvar_54902 < _vClipMaskUvBounds.zw)); bool _tmpvar_74904 = {0}; (_tmpvar_74904 = all(_tmpvar_64903 == bool4(true, true, true, true))); if ((!_tmpvar_74904)) { (_tmpvar_44901 = 0.0); } else { (_tmpvar_44901 = gl_texture2DFetch(_sClipMask, ivec2_ctor(_tmpvar_54902), 0).x); } } (_frag_color_14898 = (_frag_color_14898 * _tmpvar_44901)); (out_oFragColor = _frag_color_14898); return generateOutput(); } R‹out_oFragColorout_oFragColorˆstruct GS_INPUT { float4 dx_Position : SV_Position; float4 gl_Position : TEXCOORD8; float4 gl_FragCoord : TEXCOORD9; nointerpolation float4 v0 : TEXCOORD0; nointerpolation float4 v1 : TEXCOORD1; nointerpolation float4 v2 : TEXCOORD2; nointerpolation float4 v3 : TEXCOORD3; float2 v4 : TEXCOORD4; float2 v5 : TEXCOORD5; nointerpolation float2 v6 : TEXCOORD6; nointerpolation float2 v7 : TEXCOORD7; }; struct GS_OUTPUT { float4 dx_Position : SV_Position; float4 gl_Position : TEXCOORD8; float4 gl_FragCoord : TEXCOORD9; nointerpolation float4 v0 : TEXCOORD0; nointerpolation float4 v1 : TEXCOORD1; nointerpolation float4 v2 : TEXCOORD2; nointerpolation float4 v3 : TEXCOORD3; float2 v4 : TEXCOORD4; float2 v5 : TEXCOORD5; nointerpolation float2 v6 : TEXCOORD6; nointerpolation float2 v7 : TEXCOORD7; }; 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 = flatinput.v3; output.v4 = input.v4; output.v5 = input.v5; output.v6 = flatinput.v6; output.v7 = flatinput.v7; output.gl_FragCoord = input.gl_FragCoord; #ifndef ANGLE_POINT_SPRITE_SHADER output.dx_Position = input.dx_Position; #endif // ANGLE_POINT_SPRITE_SHADER } ЌЌDXBC?8ИqZYбVŽэ9мPљЌ4„а0RDEFHЄўџС |џџџџ ‡џџџџ ˜textures2Dtextures2D_int4_$GlobalsЋЋЋ˜МPьє@_uModeЋ_uTransformMicrosoft (R) HLSL Shader Compiler 10.1ISGND88TEXCOORDЋЋЋOSGN(      SV_PositionTEXCOORDЋЋЋSHDR(AЪjYFŽ XpUUXpUUXpUUXpUUXpUUXp33_2_ђgђ eђ eђ eђ eђ eђ eђ e2 eТ e2 eТ h*2–@ ђ–@џџџџџџџџ)B @*@ўU" @ 6Т@-ђFF~ 2F@6Т@-ђFF~-rFF~-rFF~+B *‚*@)*@ @јU*@UB@ " @џџ6Т@-вF†} 2F@6Т@-rFF{ 2F@6Т@-rFF{)‚ @ :@ўU" @ 6Т @-Т F цt 2 F @6Т @-r F F~! @џ 6ђ @6r @)@ @ўU" @ 6Т @-ђ F F~ 2 F @6Т @-r F –|*@ @џџ 6ђ F6ђ@@)"@  @џU" @ 6Т@-ђFF~ђ FF 2F@6Т@-ђFF~ ђ@' 2ц @ 2F@@@72 F@РР@€€2F F ТІ 7 ђі@ЪкЪкЪZЪZF7 ђіFF ’€AІ2 ’ 4’ 3’І 8rіF2 в в 2ц  –€A 82іF2 2† F8B*:6‚:FŽ F"FŽ FBFŽ F‚FŽ F2F F€A 82Fі2 2 †І  F@џ6‚@-ђ†F~ 2†@6Т@-ђFF~ 2†@6Т@-2FF~=2@F~S ђF@+ђFU" *@ 6 :6Т @-ђ F F~1B @2F€Aц 7 2І FF2F€A ц   r V@€b€A І  2 Т V  2 2 ц –F 7 ђ V F ц 7 b 7 2 F F7 2 ц  ц 7 ђ F ц 7 B * @€?@32 Fц 4Т І ђ F @??ППђ F F’ €A2F€AF’ ‚ @џџ* @7 ‚:: € "@B*@ *@џU" *@ 6Т @-ВF F~ 2 F @6Т @-В F F~В F €AF  2 ВF  F  2 F @6Т @-В F F~ 2 F @6Т @-r F F{r F€A F 2 В F F  В F €AF  2 ВіF  F ’іbV2ц €AF2 ’ І’€A  ’ І82–Ц8Ті7 Т І  Іђ F F+*8 @€€78" :7 ‚ :8ђF7 ђFF ђі@ <B  2І @€?<**<: ;"* <"* ђFV ђі@<B  <B*<B**;""*7 ђVіF< 7 r@€?џџџџF<:;"* 8ђFі7 ђFF7 r@€П€?џџџџF bі@ <‚ ;*‚: 6:6b@џџџџ7 rіFF<*:;"* <‚: 7 ђіFF8 2і@€П€?6B@џџџџ7 rFF7 ђ І F@€?€?€?€?2 FІ 6" €A:*8B  @?6’  6ђ F6ђ F6ђ F 6‚ @>STATtп 9/!рŒdDXBC'.ВгоЕKš.ГЌ—B–d4и<шRDEFœџџСr\gџџџџ samplers2Dtextures2DMicrosoft (R) HLSL Shader Compiler 10.1ЋЋISGN(    SV_PositionTEXCOORDЋЋЋOSGN, SV_TARGETЋЋSHDRЄAщjZ`XpUUXpUUb‚bђbђb2bђb2bТb2bBeђ h @€?€?€?€?:" €A@€?2 "* 2 bІV4bV3bVІE ђ–F~`8ђFrіF8ђFFbІ"*6"@€?8R2†F1ТІ ђF@џџџџџџџџџџџџџџџџ2ц F‚ :6"@2†6Т@-"F~8ђ VF>STATt І“кшщ И8‘V