mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-12-01 11:56:58 -05:00
1476 lines
49 KiB
Text
1476 lines
49 KiB
Text
#extension GL_EXT_shader_texture_lod : enable
|
|
struct v2f {
|
|
highp vec4 pos;
|
|
highp vec2 uv;
|
|
highp vec4 uvPosPos;
|
|
};
|
|
uniform sampler2D _MainTex;
|
|
uniform highp vec4 _MainTex_TexelSize;
|
|
varying highp vec4 xlv_SV_POSITION;
|
|
varying highp vec2 xlv_TEXCOORD0;
|
|
varying highp vec4 xlv_TEXCOORD1;
|
|
mediump vec4 xll_tex2Dlod (
|
|
in sampler2D s_1,
|
|
in mediump vec4 coord_2
|
|
)
|
|
{
|
|
lowp vec4 tmpvar_3;
|
|
tmpvar_3 = texture2DLodEXT (s_1, coord_2.xy, coord_2.w);
|
|
return tmpvar_3;
|
|
}
|
|
|
|
mediump float xll_saturate (
|
|
in mediump float x_4
|
|
)
|
|
{
|
|
mediump float tmpvar_5;
|
|
tmpvar_5 = clamp (x_4, 0.0, 1.0);
|
|
return tmpvar_5;
|
|
}
|
|
|
|
mediump vec2 xll_saturate (
|
|
in mediump vec2 x_6
|
|
)
|
|
{
|
|
mediump vec2 tmpvar_7;
|
|
tmpvar_7 = clamp (x_6, 0.0, 1.0);
|
|
return tmpvar_7;
|
|
}
|
|
|
|
mediump vec3 xll_saturate (
|
|
in mediump vec3 x_8
|
|
)
|
|
{
|
|
mediump vec3 tmpvar_9;
|
|
tmpvar_9 = clamp (x_8, 0.0, 1.0);
|
|
return tmpvar_9;
|
|
}
|
|
|
|
mediump vec4 xll_saturate (
|
|
in mediump vec4 x_10
|
|
)
|
|
{
|
|
mediump vec4 tmpvar_11;
|
|
tmpvar_11 = clamp (x_10, 0.0, 1.0);
|
|
return tmpvar_11;
|
|
}
|
|
|
|
mediump mat2 xll_saturate (
|
|
in mediump mat2 m_12
|
|
)
|
|
{
|
|
mediump vec2 tmpvar_13;
|
|
tmpvar_13 = clamp (m_12[0], 0.0, 1.0);
|
|
mediump vec2 tmpvar_14;
|
|
tmpvar_14 = clamp (m_12[1], 0.0, 1.0);
|
|
mediump mat2 tmpvar_15;
|
|
mediump vec2 tmpvar_16;
|
|
tmpvar_16 = tmpvar_13;
|
|
tmpvar_15[0] = tmpvar_16;
|
|
mediump vec2 tmpvar_17;
|
|
tmpvar_17 = tmpvar_14;
|
|
tmpvar_15[1] = tmpvar_17;
|
|
return tmpvar_15;
|
|
}
|
|
|
|
mediump mat3 xll_saturate (
|
|
in mediump mat3 m_18
|
|
)
|
|
{
|
|
mediump vec3 tmpvar_19;
|
|
tmpvar_19 = clamp (m_18[0], 0.0, 1.0);
|
|
mediump vec3 tmpvar_20;
|
|
tmpvar_20 = clamp (m_18[1], 0.0, 1.0);
|
|
mediump vec3 tmpvar_21;
|
|
tmpvar_21 = clamp (m_18[2], 0.0, 1.0);
|
|
mediump mat3 tmpvar_22;
|
|
mediump vec3 tmpvar_23;
|
|
tmpvar_23 = tmpvar_19;
|
|
tmpvar_22[0] = tmpvar_23;
|
|
mediump vec3 tmpvar_24;
|
|
tmpvar_24 = tmpvar_20;
|
|
tmpvar_22[1] = tmpvar_24;
|
|
mediump vec3 tmpvar_25;
|
|
tmpvar_25 = tmpvar_21;
|
|
tmpvar_22[2] = tmpvar_25;
|
|
return tmpvar_22;
|
|
}
|
|
|
|
mediump mat4 xll_saturate (
|
|
in mediump mat4 m_26
|
|
)
|
|
{
|
|
mediump vec4 tmpvar_27;
|
|
tmpvar_27 = clamp (m_26[0], 0.0, 1.0);
|
|
mediump vec4 tmpvar_28;
|
|
tmpvar_28 = clamp (m_26[1], 0.0, 1.0);
|
|
mediump vec4 tmpvar_29;
|
|
tmpvar_29 = clamp (m_26[2], 0.0, 1.0);
|
|
mediump vec4 tmpvar_30;
|
|
tmpvar_30 = clamp (m_26[3], 0.0, 1.0);
|
|
mediump mat4 tmpvar_31;
|
|
mediump vec4 tmpvar_32;
|
|
tmpvar_32 = tmpvar_27;
|
|
tmpvar_31[0] = tmpvar_32;
|
|
mediump vec4 tmpvar_33;
|
|
tmpvar_33 = tmpvar_28;
|
|
tmpvar_31[1] = tmpvar_33;
|
|
mediump vec4 tmpvar_34;
|
|
tmpvar_34 = tmpvar_29;
|
|
tmpvar_31[2] = tmpvar_34;
|
|
mediump vec4 tmpvar_35;
|
|
tmpvar_35 = tmpvar_30;
|
|
tmpvar_31[3] = tmpvar_35;
|
|
return tmpvar_31;
|
|
}
|
|
|
|
float FxaaLuma (
|
|
in highp vec4 rgba_36
|
|
)
|
|
{
|
|
return rgba_36.w;
|
|
}
|
|
|
|
vec4 FxaaPixelShader (
|
|
in highp vec2 pos_37,
|
|
in highp vec4 fxaaConsolePosPos_38,
|
|
in sampler2D tex_39,
|
|
in sampler2D fxaaConsole360TexExpBiasNegOne_40,
|
|
in sampler2D fxaaConsole360TexExpBiasNegTwo_41,
|
|
in highp vec2 fxaaQualityRcpFrame_42,
|
|
in highp vec4 fxaaConsoleRcpFrameOpt_43,
|
|
in highp vec4 fxaaConsoleRcpFrameOpt2_44,
|
|
in highp vec4 fxaaConsole360RcpFrameOpt2_45,
|
|
in highp float fxaaQualitySubpix_46,
|
|
in highp float fxaaQualityEdgeThreshold_47,
|
|
in highp float fxaaQualityEdgeThresholdMin_48,
|
|
in highp float fxaaConsoleEdgeSharpness_49,
|
|
in highp float fxaaConsoleEdgeThreshold_50,
|
|
in highp float fxaaConsoleEdgeThresholdMin_51,
|
|
in highp vec4 fxaaConsole360ConstDir_52
|
|
)
|
|
{
|
|
highp float pixelOffsetSubpix_53;
|
|
highp float pixelOffsetGood_54;
|
|
highp float subpixH_55;
|
|
highp float pixelOffset_56;
|
|
highp float subpixG_57;
|
|
bool goodSpan_58;
|
|
highp float dst_59;
|
|
bool directionN_60;
|
|
highp float spanLengthRcp_61;
|
|
bool goodSpanP_62;
|
|
highp float spanLength_63;
|
|
bool goodSpanN_64;
|
|
highp float dstP_65;
|
|
highp float dstN_66;
|
|
bool doneNP_67;
|
|
bool doneP_68;
|
|
bool doneN_69;
|
|
bool lumaMLTZero_70;
|
|
highp float subpixF_71;
|
|
highp float lumaMM_72;
|
|
highp float gradientScaled_73;
|
|
highp float lumaEndP_74;
|
|
highp float subpixE_75;
|
|
highp float lumaEndN_76;
|
|
highp float subpixD_77;
|
|
highp vec2 posP_78;
|
|
highp vec2 posN_79;
|
|
highp vec2 offNP_80;
|
|
highp vec2 posB_81;
|
|
highp float subpixC_82;
|
|
highp float gradient_83;
|
|
bool pairN_84;
|
|
highp float lumaSS_85;
|
|
highp float lumaNN_86;
|
|
highp float gradientS_87;
|
|
highp float gradientN_88;
|
|
highp float subpixB_89;
|
|
highp float subpixA_90;
|
|
bool horzSpan_91;
|
|
highp float lengthSign_92;
|
|
highp float subpixNWSWNESE_93;
|
|
highp float edgeVert_94;
|
|
highp float edgeHorz_95;
|
|
highp float edgeVert3_96;
|
|
highp float edgeHorz3_97;
|
|
highp float edgeVert4_98;
|
|
highp float edgeHorz4_99;
|
|
highp float lumaSWSE_100;
|
|
highp float lumaNWSW_101;
|
|
highp float edgeVert2_102;
|
|
highp float edgeHorz2_103;
|
|
highp float lumaNWNE_104;
|
|
highp float lumaNESE_105;
|
|
highp float edgeVert1_106;
|
|
highp float edgeHorz1_107;
|
|
highp float subpixNSWE_108;
|
|
highp float subpixRcpRange_109;
|
|
highp float lumaWE_110;
|
|
highp float lumaNS_111;
|
|
highp float lumaSW_112;
|
|
highp float lumaNE_113;
|
|
highp float lumaSE_114;
|
|
highp float lumaNW_115;
|
|
bool earlyExit_116;
|
|
highp float rangeMaxClamped_117;
|
|
highp float range_118;
|
|
highp float rangeMaxScaled_119;
|
|
highp float rangeMin_120;
|
|
highp float rangeMax_121;
|
|
highp float minWN_122;
|
|
highp float maxWN_123;
|
|
highp float minESM_124;
|
|
highp float maxESM_125;
|
|
highp float minSM_126;
|
|
highp float maxSM_127;
|
|
highp float lumaW_128;
|
|
highp float lumaN_129;
|
|
highp float lumaE_130;
|
|
highp float lumaS_131;
|
|
highp vec4 rgbyM_132;
|
|
highp vec2 posM_133;
|
|
highp float tmpvar_134;
|
|
tmpvar_134 = pos_37.x;
|
|
posM_133.x = tmpvar_134;
|
|
highp float tmpvar_135;
|
|
tmpvar_135 = pos_37.y;
|
|
posM_133.y = vec2(tmpvar_135).y;
|
|
highp vec4 tmpvar_136;
|
|
tmpvar_136.zw = vec2(0.0, 0.0);
|
|
tmpvar_136.xy = posM_133.xy;
|
|
mediump vec4 tmpvar_137;
|
|
tmpvar_137 = xll_tex2Dlod (tex_39, tmpvar_136);
|
|
mediump vec4 tmpvar_138;
|
|
tmpvar_138 = tmpvar_137;
|
|
rgbyM_132 = tmpvar_138;
|
|
highp vec4 tmpvar_139;
|
|
tmpvar_139.zw = vec2(0.0, 0.0);
|
|
tmpvar_139.xy = (posM_133 + (vec2(0.0, 1.0) * fxaaQualityRcpFrame_42.xy)).xy;
|
|
mediump vec4 tmpvar_140;
|
|
tmpvar_140 = xll_tex2Dlod (tex_39, tmpvar_139);
|
|
highp float tmpvar_141;
|
|
tmpvar_141 = FxaaLuma (tmpvar_140);
|
|
highp float tmpvar_142;
|
|
tmpvar_142 = tmpvar_141;
|
|
lumaS_131 = tmpvar_142;
|
|
highp vec4 tmpvar_143;
|
|
tmpvar_143.zw = vec2(0.0, 0.0);
|
|
tmpvar_143.xy = (posM_133 + (vec2(1.0, 0.0) * fxaaQualityRcpFrame_42.xy)).xy;
|
|
mediump vec4 tmpvar_144;
|
|
tmpvar_144 = xll_tex2Dlod (tex_39, tmpvar_143);
|
|
highp float tmpvar_145;
|
|
tmpvar_145 = FxaaLuma (tmpvar_144);
|
|
highp float tmpvar_146;
|
|
tmpvar_146 = tmpvar_145;
|
|
lumaE_130 = tmpvar_146;
|
|
highp vec4 tmpvar_147;
|
|
tmpvar_147.zw = vec2(0.0, 0.0);
|
|
tmpvar_147.xy = (posM_133 + (vec2(0.0, -1.0) * fxaaQualityRcpFrame_42.xy)).xy;
|
|
mediump vec4 tmpvar_148;
|
|
tmpvar_148 = xll_tex2Dlod (tex_39, tmpvar_147);
|
|
highp float tmpvar_149;
|
|
tmpvar_149 = FxaaLuma (tmpvar_148);
|
|
highp float tmpvar_150;
|
|
tmpvar_150 = tmpvar_149;
|
|
lumaN_129 = tmpvar_150;
|
|
highp vec4 tmpvar_151;
|
|
tmpvar_151.zw = vec2(0.0, 0.0);
|
|
tmpvar_151.xy = (posM_133 + (vec2(-1.0, 0.0) * fxaaQualityRcpFrame_42.xy)).xy;
|
|
mediump vec4 tmpvar_152;
|
|
tmpvar_152 = xll_tex2Dlod (tex_39, tmpvar_151);
|
|
highp float tmpvar_153;
|
|
tmpvar_153 = FxaaLuma (tmpvar_152);
|
|
highp float tmpvar_154;
|
|
tmpvar_154 = tmpvar_153;
|
|
lumaW_128 = tmpvar_154;
|
|
highp float tmpvar_155;
|
|
tmpvar_155 = max (lumaS_131, rgbyM_132.w);
|
|
highp float tmpvar_156;
|
|
tmpvar_156 = tmpvar_155;
|
|
maxSM_127 = tmpvar_156;
|
|
highp float tmpvar_157;
|
|
tmpvar_157 = min (lumaS_131, rgbyM_132.w);
|
|
highp float tmpvar_158;
|
|
tmpvar_158 = tmpvar_157;
|
|
minSM_126 = tmpvar_158;
|
|
highp float tmpvar_159;
|
|
tmpvar_159 = max (lumaE_130, maxSM_127);
|
|
highp float tmpvar_160;
|
|
tmpvar_160 = tmpvar_159;
|
|
maxESM_125 = tmpvar_160;
|
|
highp float tmpvar_161;
|
|
tmpvar_161 = min (lumaE_130, minSM_126);
|
|
highp float tmpvar_162;
|
|
tmpvar_162 = tmpvar_161;
|
|
minESM_124 = tmpvar_162;
|
|
highp float tmpvar_163;
|
|
tmpvar_163 = max (lumaN_129, lumaW_128);
|
|
highp float tmpvar_164;
|
|
tmpvar_164 = tmpvar_163;
|
|
maxWN_123 = tmpvar_164;
|
|
highp float tmpvar_165;
|
|
tmpvar_165 = min (lumaN_129, lumaW_128);
|
|
highp float tmpvar_166;
|
|
tmpvar_166 = tmpvar_165;
|
|
minWN_122 = tmpvar_166;
|
|
highp float tmpvar_167;
|
|
tmpvar_167 = max (maxWN_123, maxESM_125);
|
|
highp float tmpvar_168;
|
|
tmpvar_168 = tmpvar_167;
|
|
rangeMax_121 = tmpvar_168;
|
|
highp float tmpvar_169;
|
|
tmpvar_169 = min (minWN_122, minESM_124);
|
|
highp float tmpvar_170;
|
|
tmpvar_170 = tmpvar_169;
|
|
rangeMin_120 = tmpvar_170;
|
|
highp float tmpvar_171;
|
|
tmpvar_171 = (rangeMax_121 * fxaaQualityEdgeThreshold_47);
|
|
rangeMaxScaled_119 = tmpvar_171;
|
|
highp float tmpvar_172;
|
|
tmpvar_172 = (rangeMax_121 - rangeMin_120);
|
|
range_118 = tmpvar_172;
|
|
highp float tmpvar_173;
|
|
tmpvar_173 = max (fxaaQualityEdgeThresholdMin_48, rangeMaxScaled_119);
|
|
highp float tmpvar_174;
|
|
tmpvar_174 = tmpvar_173;
|
|
rangeMaxClamped_117 = tmpvar_174;
|
|
bool tmpvar_175;
|
|
tmpvar_175 = (range_118 < rangeMaxClamped_117);
|
|
earlyExit_116 = tmpvar_175;
|
|
if (earlyExit_116) {
|
|
return rgbyM_132;
|
|
};
|
|
highp vec4 tmpvar_176;
|
|
tmpvar_176.zw = vec2(0.0, 0.0);
|
|
tmpvar_176.xy = (posM_133 + (vec2(-1.0, -1.0) * fxaaQualityRcpFrame_42.xy)).xy;
|
|
mediump vec4 tmpvar_177;
|
|
tmpvar_177 = xll_tex2Dlod (tex_39, tmpvar_176);
|
|
highp float tmpvar_178;
|
|
tmpvar_178 = FxaaLuma (tmpvar_177);
|
|
highp float tmpvar_179;
|
|
tmpvar_179 = tmpvar_178;
|
|
lumaNW_115 = tmpvar_179;
|
|
highp vec4 tmpvar_180;
|
|
tmpvar_180.zw = vec2(0.0, 0.0);
|
|
tmpvar_180.xy = (posM_133 + (vec2(1.0, 1.0) * fxaaQualityRcpFrame_42.xy)).xy;
|
|
mediump vec4 tmpvar_181;
|
|
tmpvar_181 = xll_tex2Dlod (tex_39, tmpvar_180);
|
|
highp float tmpvar_182;
|
|
tmpvar_182 = FxaaLuma (tmpvar_181);
|
|
highp float tmpvar_183;
|
|
tmpvar_183 = tmpvar_182;
|
|
lumaSE_114 = tmpvar_183;
|
|
highp vec4 tmpvar_184;
|
|
tmpvar_184.zw = vec2(0.0, 0.0);
|
|
tmpvar_184.xy = (posM_133 + (vec2(1.0, -1.0) * fxaaQualityRcpFrame_42.xy)).xy;
|
|
mediump vec4 tmpvar_185;
|
|
tmpvar_185 = xll_tex2Dlod (tex_39, tmpvar_184);
|
|
highp float tmpvar_186;
|
|
tmpvar_186 = FxaaLuma (tmpvar_185);
|
|
highp float tmpvar_187;
|
|
tmpvar_187 = tmpvar_186;
|
|
lumaNE_113 = tmpvar_187;
|
|
highp vec4 tmpvar_188;
|
|
tmpvar_188.zw = vec2(0.0, 0.0);
|
|
tmpvar_188.xy = (posM_133 + (vec2(-1.0, 1.0) * fxaaQualityRcpFrame_42.xy)).xy;
|
|
mediump vec4 tmpvar_189;
|
|
tmpvar_189 = xll_tex2Dlod (tex_39, tmpvar_188);
|
|
highp float tmpvar_190;
|
|
tmpvar_190 = FxaaLuma (tmpvar_189);
|
|
highp float tmpvar_191;
|
|
tmpvar_191 = tmpvar_190;
|
|
lumaSW_112 = tmpvar_191;
|
|
highp float tmpvar_192;
|
|
tmpvar_192 = (lumaN_129 + lumaS_131);
|
|
lumaNS_111 = tmpvar_192;
|
|
highp float tmpvar_193;
|
|
tmpvar_193 = (lumaW_128 + lumaE_130);
|
|
lumaWE_110 = tmpvar_193;
|
|
highp float tmpvar_194;
|
|
tmpvar_194 = (1.0 / range_118);
|
|
subpixRcpRange_109 = tmpvar_194;
|
|
highp float tmpvar_195;
|
|
tmpvar_195 = (lumaNS_111 + lumaWE_110);
|
|
subpixNSWE_108 = tmpvar_195;
|
|
highp float tmpvar_196;
|
|
tmpvar_196 = ((-(2.0) * rgbyM_132.w) + lumaNS_111);
|
|
edgeHorz1_107 = tmpvar_196;
|
|
highp float tmpvar_197;
|
|
tmpvar_197 = ((-(2.0) * rgbyM_132.w) + lumaWE_110);
|
|
edgeVert1_106 = tmpvar_197;
|
|
highp float tmpvar_198;
|
|
tmpvar_198 = (lumaNE_113 + lumaSE_114);
|
|
lumaNESE_105 = tmpvar_198;
|
|
highp float tmpvar_199;
|
|
tmpvar_199 = (lumaNW_115 + lumaNE_113);
|
|
lumaNWNE_104 = tmpvar_199;
|
|
highp float tmpvar_200;
|
|
tmpvar_200 = ((-(2.0) * lumaE_130) + lumaNESE_105);
|
|
edgeHorz2_103 = tmpvar_200;
|
|
highp float tmpvar_201;
|
|
tmpvar_201 = ((-(2.0) * lumaN_129) + lumaNWNE_104);
|
|
edgeVert2_102 = tmpvar_201;
|
|
highp float tmpvar_202;
|
|
tmpvar_202 = (lumaNW_115 + lumaSW_112);
|
|
lumaNWSW_101 = tmpvar_202;
|
|
highp float tmpvar_203;
|
|
tmpvar_203 = (lumaSW_112 + lumaSE_114);
|
|
lumaSWSE_100 = tmpvar_203;
|
|
highp float tmpvar_204;
|
|
tmpvar_204 = abs (edgeHorz1_107);
|
|
highp float tmpvar_205;
|
|
tmpvar_205 = abs (edgeHorz2_103);
|
|
highp float tmpvar_206;
|
|
tmpvar_206 = ((tmpvar_204 * 2.0) + tmpvar_205);
|
|
edgeHorz4_99 = tmpvar_206;
|
|
highp float tmpvar_207;
|
|
tmpvar_207 = abs (edgeVert1_106);
|
|
highp float tmpvar_208;
|
|
tmpvar_208 = abs (edgeVert2_102);
|
|
highp float tmpvar_209;
|
|
tmpvar_209 = ((tmpvar_207 * 2.0) + tmpvar_208);
|
|
edgeVert4_98 = tmpvar_209;
|
|
highp float tmpvar_210;
|
|
tmpvar_210 = ((-(2.0) * lumaW_128) + lumaNWSW_101);
|
|
edgeHorz3_97 = tmpvar_210;
|
|
highp float tmpvar_211;
|
|
tmpvar_211 = ((-(2.0) * lumaS_131) + lumaSWSE_100);
|
|
edgeVert3_96 = tmpvar_211;
|
|
highp float tmpvar_212;
|
|
tmpvar_212 = abs (edgeHorz3_97);
|
|
highp float tmpvar_213;
|
|
tmpvar_213 = (tmpvar_212 + edgeHorz4_99);
|
|
edgeHorz_95 = tmpvar_213;
|
|
highp float tmpvar_214;
|
|
tmpvar_214 = abs (edgeVert3_96);
|
|
highp float tmpvar_215;
|
|
tmpvar_215 = (tmpvar_214 + edgeVert4_98);
|
|
edgeVert_94 = tmpvar_215;
|
|
highp float tmpvar_216;
|
|
tmpvar_216 = (lumaNWSW_101 + lumaNESE_105);
|
|
subpixNWSWNESE_93 = tmpvar_216;
|
|
highp float tmpvar_217;
|
|
tmpvar_217 = fxaaQualityRcpFrame_42.x;
|
|
lengthSign_92 = tmpvar_217;
|
|
bool tmpvar_218;
|
|
tmpvar_218 = (edgeHorz_95 >= edgeVert_94);
|
|
horzSpan_91 = tmpvar_218;
|
|
highp float tmpvar_219;
|
|
tmpvar_219 = ((subpixNSWE_108 * 2.0) + subpixNWSWNESE_93);
|
|
subpixA_90 = tmpvar_219;
|
|
if (!(horzSpan_91)) {
|
|
highp float tmpvar_220;
|
|
tmpvar_220 = lumaW_128;
|
|
lumaN_129 = tmpvar_220;
|
|
};
|
|
if (!(horzSpan_91)) {
|
|
highp float tmpvar_221;
|
|
tmpvar_221 = lumaE_130;
|
|
lumaS_131 = tmpvar_221;
|
|
};
|
|
if (horzSpan_91) {
|
|
highp float tmpvar_222;
|
|
tmpvar_222 = fxaaQualityRcpFrame_42.y;
|
|
lengthSign_92 = tmpvar_222;
|
|
};
|
|
highp float tmpvar_223;
|
|
tmpvar_223 = ((subpixA_90 * 0.0833333) - rgbyM_132.w);
|
|
subpixB_89 = tmpvar_223;
|
|
highp float tmpvar_224;
|
|
tmpvar_224 = (lumaN_129 - rgbyM_132.w);
|
|
gradientN_88 = tmpvar_224;
|
|
highp float tmpvar_225;
|
|
tmpvar_225 = (lumaS_131 - rgbyM_132.w);
|
|
gradientS_87 = tmpvar_225;
|
|
highp float tmpvar_226;
|
|
tmpvar_226 = (lumaN_129 + rgbyM_132.w);
|
|
lumaNN_86 = tmpvar_226;
|
|
highp float tmpvar_227;
|
|
tmpvar_227 = (lumaS_131 + rgbyM_132.w);
|
|
lumaSS_85 = tmpvar_227;
|
|
highp float tmpvar_228;
|
|
tmpvar_228 = abs (gradientN_88);
|
|
highp float tmpvar_229;
|
|
tmpvar_229 = abs (gradientS_87);
|
|
bool tmpvar_230;
|
|
tmpvar_230 = (tmpvar_228 >= tmpvar_229);
|
|
pairN_84 = tmpvar_230;
|
|
highp float tmpvar_231;
|
|
tmpvar_231 = abs (gradientN_88);
|
|
highp float tmpvar_232;
|
|
tmpvar_232 = abs (gradientS_87);
|
|
highp float tmpvar_233;
|
|
tmpvar_233 = max (tmpvar_231, tmpvar_232);
|
|
highp float tmpvar_234;
|
|
tmpvar_234 = tmpvar_233;
|
|
gradient_83 = tmpvar_234;
|
|
if (pairN_84) {
|
|
highp float tmpvar_235;
|
|
tmpvar_235 = -(lengthSign_92);
|
|
lengthSign_92 = tmpvar_235;
|
|
};
|
|
highp float tmpvar_236;
|
|
tmpvar_236 = abs (subpixB_89);
|
|
mediump float tmpvar_237;
|
|
tmpvar_237 = xll_saturate ((tmpvar_236 * subpixRcpRange_109));
|
|
mediump float tmpvar_238;
|
|
tmpvar_238 = tmpvar_237;
|
|
subpixC_82 = tmpvar_238;
|
|
highp float tmpvar_239;
|
|
tmpvar_239 = posM_133.x;
|
|
posB_81.x = tmpvar_239;
|
|
highp float tmpvar_240;
|
|
tmpvar_240 = posM_133.y;
|
|
posB_81.y = vec2(tmpvar_240).y;
|
|
highp float tmpvar_241;
|
|
if (!(horzSpan_91)) {
|
|
tmpvar_241 = 0.0;
|
|
} else {
|
|
tmpvar_241 = fxaaQualityRcpFrame_42.x;
|
|
};
|
|
highp float tmpvar_242;
|
|
tmpvar_242 = tmpvar_241;
|
|
offNP_80.x = tmpvar_242;
|
|
highp float tmpvar_243;
|
|
if (horzSpan_91) {
|
|
tmpvar_243 = 0.0;
|
|
} else {
|
|
tmpvar_243 = fxaaQualityRcpFrame_42.y;
|
|
};
|
|
highp float tmpvar_244;
|
|
tmpvar_244 = tmpvar_243;
|
|
offNP_80.y = vec2(tmpvar_244).y;
|
|
if (!(horzSpan_91)) {
|
|
highp float tmpvar_245;
|
|
tmpvar_245 = (posB_81.x + (lengthSign_92 * 0.5));
|
|
posB_81.x = tmpvar_245;
|
|
};
|
|
if (horzSpan_91) {
|
|
highp float tmpvar_246;
|
|
tmpvar_246 = (posB_81.y + (lengthSign_92 * 0.5));
|
|
posB_81.y = vec2(tmpvar_246).y;
|
|
};
|
|
highp float tmpvar_247;
|
|
tmpvar_247 = (posB_81.x - (offNP_80.x * 1.0));
|
|
posN_79.x = tmpvar_247;
|
|
highp float tmpvar_248;
|
|
tmpvar_248 = (posB_81.y - (offNP_80.y * 1.0));
|
|
posN_79.y = vec2(tmpvar_248).y;
|
|
highp float tmpvar_249;
|
|
tmpvar_249 = (posB_81.x + (offNP_80.x * 1.0));
|
|
posP_78.x = tmpvar_249;
|
|
highp float tmpvar_250;
|
|
tmpvar_250 = (posB_81.y + (offNP_80.y * 1.0));
|
|
posP_78.y = vec2(tmpvar_250).y;
|
|
highp float tmpvar_251;
|
|
tmpvar_251 = ((-(2.0) * subpixC_82) + 3.0);
|
|
subpixD_77 = tmpvar_251;
|
|
highp vec4 tmpvar_252;
|
|
tmpvar_252.zw = vec2(0.0, 0.0);
|
|
tmpvar_252.xy = posN_79.xy;
|
|
mediump vec4 tmpvar_253;
|
|
tmpvar_253 = xll_tex2Dlod (tex_39, tmpvar_252);
|
|
highp float tmpvar_254;
|
|
tmpvar_254 = FxaaLuma (tmpvar_253);
|
|
highp float tmpvar_255;
|
|
tmpvar_255 = tmpvar_254;
|
|
lumaEndN_76 = tmpvar_255;
|
|
highp float tmpvar_256;
|
|
tmpvar_256 = (subpixC_82 * subpixC_82);
|
|
subpixE_75 = tmpvar_256;
|
|
highp vec4 tmpvar_257;
|
|
tmpvar_257.zw = vec2(0.0, 0.0);
|
|
tmpvar_257.xy = posP_78.xy;
|
|
mediump vec4 tmpvar_258;
|
|
tmpvar_258 = xll_tex2Dlod (tex_39, tmpvar_257);
|
|
highp float tmpvar_259;
|
|
tmpvar_259 = FxaaLuma (tmpvar_258);
|
|
highp float tmpvar_260;
|
|
tmpvar_260 = tmpvar_259;
|
|
lumaEndP_74 = tmpvar_260;
|
|
if (!(pairN_84)) {
|
|
highp float tmpvar_261;
|
|
tmpvar_261 = lumaSS_85;
|
|
lumaNN_86 = tmpvar_261;
|
|
};
|
|
highp float tmpvar_262;
|
|
tmpvar_262 = ((gradient_83 * 1.0) / 4.0);
|
|
gradientScaled_73 = tmpvar_262;
|
|
highp float tmpvar_263;
|
|
tmpvar_263 = (rgbyM_132.w - (lumaNN_86 * 0.5));
|
|
lumaMM_72 = tmpvar_263;
|
|
highp float tmpvar_264;
|
|
tmpvar_264 = (subpixD_77 * subpixE_75);
|
|
subpixF_71 = tmpvar_264;
|
|
bool tmpvar_265;
|
|
tmpvar_265 = (lumaMM_72 < 0.0);
|
|
lumaMLTZero_70 = tmpvar_265;
|
|
highp float tmpvar_266;
|
|
tmpvar_266 = (lumaEndN_76 - (lumaNN_86 * 0.5));
|
|
lumaEndN_76 = tmpvar_266;
|
|
highp float tmpvar_267;
|
|
tmpvar_267 = (lumaEndP_74 - (lumaNN_86 * 0.5));
|
|
lumaEndP_74 = tmpvar_267;
|
|
highp float tmpvar_268;
|
|
tmpvar_268 = abs (lumaEndN_76);
|
|
bool tmpvar_269;
|
|
tmpvar_269 = (tmpvar_268 >= gradientScaled_73);
|
|
doneN_69 = tmpvar_269;
|
|
highp float tmpvar_270;
|
|
tmpvar_270 = abs (lumaEndP_74);
|
|
bool tmpvar_271;
|
|
tmpvar_271 = (tmpvar_270 >= gradientScaled_73);
|
|
doneP_68 = tmpvar_271;
|
|
if (!(doneN_69)) {
|
|
highp float tmpvar_272;
|
|
tmpvar_272 = (posN_79.x - (offNP_80.x * 1.0));
|
|
posN_79.x = tmpvar_272;
|
|
};
|
|
if (!(doneN_69)) {
|
|
highp float tmpvar_273;
|
|
tmpvar_273 = (posN_79.y - (offNP_80.y * 1.0));
|
|
posN_79.y = vec2(tmpvar_273).y;
|
|
};
|
|
bool tmpvar_274;
|
|
tmpvar_274 = (!(doneN_69) || !(doneP_68));
|
|
doneNP_67 = tmpvar_274;
|
|
if (!(doneP_68)) {
|
|
highp float tmpvar_275;
|
|
tmpvar_275 = (posP_78.x + (offNP_80.x * 1.0));
|
|
posP_78.x = tmpvar_275;
|
|
};
|
|
if (!(doneP_68)) {
|
|
highp float tmpvar_276;
|
|
tmpvar_276 = (posP_78.y + (offNP_80.y * 1.0));
|
|
posP_78.y = vec2(tmpvar_276).y;
|
|
};
|
|
if (doneNP_67) {
|
|
if (!(doneN_69)) {
|
|
highp vec4 tmpvar_277;
|
|
tmpvar_277.zw = vec2(0.0, 0.0);
|
|
tmpvar_277.xy = posN_79.xy.xy;
|
|
mediump vec4 tmpvar_278;
|
|
tmpvar_278 = xll_tex2Dlod (tex_39, tmpvar_277);
|
|
highp float tmpvar_279;
|
|
tmpvar_279 = FxaaLuma (tmpvar_278);
|
|
highp float tmpvar_280;
|
|
tmpvar_280 = tmpvar_279;
|
|
lumaEndN_76 = tmpvar_280;
|
|
};
|
|
if (!(doneP_68)) {
|
|
highp vec4 tmpvar_281;
|
|
tmpvar_281.zw = vec2(0.0, 0.0);
|
|
tmpvar_281.xy = posP_78.xy.xy;
|
|
mediump vec4 tmpvar_282;
|
|
tmpvar_282 = xll_tex2Dlod (tex_39, tmpvar_281);
|
|
highp float tmpvar_283;
|
|
tmpvar_283 = FxaaLuma (tmpvar_282);
|
|
highp float tmpvar_284;
|
|
tmpvar_284 = tmpvar_283;
|
|
lumaEndP_74 = tmpvar_284;
|
|
};
|
|
if (!(doneN_69)) {
|
|
highp float tmpvar_285;
|
|
tmpvar_285 = (lumaEndN_76 - (lumaNN_86 * 0.5));
|
|
lumaEndN_76 = tmpvar_285;
|
|
};
|
|
if (!(doneP_68)) {
|
|
highp float tmpvar_286;
|
|
tmpvar_286 = (lumaEndP_74 - (lumaNN_86 * 0.5));
|
|
lumaEndP_74 = tmpvar_286;
|
|
};
|
|
highp float tmpvar_287;
|
|
tmpvar_287 = abs (lumaEndN_76);
|
|
bool tmpvar_288;
|
|
tmpvar_288 = (tmpvar_287 >= gradientScaled_73);
|
|
doneN_69 = tmpvar_288;
|
|
highp float tmpvar_289;
|
|
tmpvar_289 = abs (lumaEndP_74);
|
|
bool tmpvar_290;
|
|
tmpvar_290 = (tmpvar_289 >= gradientScaled_73);
|
|
doneP_68 = tmpvar_290;
|
|
if (!(doneN_69)) {
|
|
highp float tmpvar_291;
|
|
tmpvar_291 = (posN_79.x - (offNP_80.x * 1.0));
|
|
posN_79.x = tmpvar_291;
|
|
};
|
|
if (!(doneN_69)) {
|
|
highp float tmpvar_292;
|
|
tmpvar_292 = (posN_79.y - (offNP_80.y * 1.0));
|
|
posN_79.y = vec2(tmpvar_292).y;
|
|
};
|
|
bool tmpvar_293;
|
|
tmpvar_293 = (!(doneN_69) || !(doneP_68));
|
|
doneNP_67 = tmpvar_293;
|
|
if (!(doneP_68)) {
|
|
highp float tmpvar_294;
|
|
tmpvar_294 = (posP_78.x + (offNP_80.x * 1.0));
|
|
posP_78.x = tmpvar_294;
|
|
};
|
|
if (!(doneP_68)) {
|
|
highp float tmpvar_295;
|
|
tmpvar_295 = (posP_78.y + (offNP_80.y * 1.0));
|
|
posP_78.y = vec2(tmpvar_295).y;
|
|
};
|
|
if (doneNP_67) {
|
|
if (!(doneN_69)) {
|
|
highp vec4 tmpvar_296;
|
|
tmpvar_296.zw = vec2(0.0, 0.0);
|
|
tmpvar_296.xy = posN_79.xy.xy;
|
|
mediump vec4 tmpvar_297;
|
|
tmpvar_297 = xll_tex2Dlod (tex_39, tmpvar_296);
|
|
highp float tmpvar_298;
|
|
tmpvar_298 = FxaaLuma (tmpvar_297);
|
|
highp float tmpvar_299;
|
|
tmpvar_299 = tmpvar_298;
|
|
lumaEndN_76 = tmpvar_299;
|
|
};
|
|
if (!(doneP_68)) {
|
|
highp vec4 tmpvar_300;
|
|
tmpvar_300.zw = vec2(0.0, 0.0);
|
|
tmpvar_300.xy = posP_78.xy.xy;
|
|
mediump vec4 tmpvar_301;
|
|
tmpvar_301 = xll_tex2Dlod (tex_39, tmpvar_300);
|
|
highp float tmpvar_302;
|
|
tmpvar_302 = FxaaLuma (tmpvar_301);
|
|
highp float tmpvar_303;
|
|
tmpvar_303 = tmpvar_302;
|
|
lumaEndP_74 = tmpvar_303;
|
|
};
|
|
if (!(doneN_69)) {
|
|
highp float tmpvar_304;
|
|
tmpvar_304 = (lumaEndN_76 - (lumaNN_86 * 0.5));
|
|
lumaEndN_76 = tmpvar_304;
|
|
};
|
|
if (!(doneP_68)) {
|
|
highp float tmpvar_305;
|
|
tmpvar_305 = (lumaEndP_74 - (lumaNN_86 * 0.5));
|
|
lumaEndP_74 = tmpvar_305;
|
|
};
|
|
highp float tmpvar_306;
|
|
tmpvar_306 = abs (lumaEndN_76);
|
|
bool tmpvar_307;
|
|
tmpvar_307 = (tmpvar_306 >= gradientScaled_73);
|
|
doneN_69 = tmpvar_307;
|
|
highp float tmpvar_308;
|
|
tmpvar_308 = abs (lumaEndP_74);
|
|
bool tmpvar_309;
|
|
tmpvar_309 = (tmpvar_308 >= gradientScaled_73);
|
|
doneP_68 = tmpvar_309;
|
|
if (!(doneN_69)) {
|
|
highp float tmpvar_310;
|
|
tmpvar_310 = (posN_79.x - (offNP_80.x * 1.0));
|
|
posN_79.x = tmpvar_310;
|
|
};
|
|
if (!(doneN_69)) {
|
|
highp float tmpvar_311;
|
|
tmpvar_311 = (posN_79.y - (offNP_80.y * 1.0));
|
|
posN_79.y = vec2(tmpvar_311).y;
|
|
};
|
|
bool tmpvar_312;
|
|
tmpvar_312 = (!(doneN_69) || !(doneP_68));
|
|
doneNP_67 = tmpvar_312;
|
|
if (!(doneP_68)) {
|
|
highp float tmpvar_313;
|
|
tmpvar_313 = (posP_78.x + (offNP_80.x * 1.0));
|
|
posP_78.x = tmpvar_313;
|
|
};
|
|
if (!(doneP_68)) {
|
|
highp float tmpvar_314;
|
|
tmpvar_314 = (posP_78.y + (offNP_80.y * 1.0));
|
|
posP_78.y = vec2(tmpvar_314).y;
|
|
};
|
|
if (doneNP_67) {
|
|
if (!(doneN_69)) {
|
|
highp vec4 tmpvar_315;
|
|
tmpvar_315.zw = vec2(0.0, 0.0);
|
|
tmpvar_315.xy = posN_79.xy.xy;
|
|
mediump vec4 tmpvar_316;
|
|
tmpvar_316 = xll_tex2Dlod (tex_39, tmpvar_315);
|
|
highp float tmpvar_317;
|
|
tmpvar_317 = FxaaLuma (tmpvar_316);
|
|
highp float tmpvar_318;
|
|
tmpvar_318 = tmpvar_317;
|
|
lumaEndN_76 = tmpvar_318;
|
|
};
|
|
if (!(doneP_68)) {
|
|
highp vec4 tmpvar_319;
|
|
tmpvar_319.zw = vec2(0.0, 0.0);
|
|
tmpvar_319.xy = posP_78.xy.xy;
|
|
mediump vec4 tmpvar_320;
|
|
tmpvar_320 = xll_tex2Dlod (tex_39, tmpvar_319);
|
|
highp float tmpvar_321;
|
|
tmpvar_321 = FxaaLuma (tmpvar_320);
|
|
highp float tmpvar_322;
|
|
tmpvar_322 = tmpvar_321;
|
|
lumaEndP_74 = tmpvar_322;
|
|
};
|
|
if (!(doneN_69)) {
|
|
highp float tmpvar_323;
|
|
tmpvar_323 = (lumaEndN_76 - (lumaNN_86 * 0.5));
|
|
lumaEndN_76 = tmpvar_323;
|
|
};
|
|
if (!(doneP_68)) {
|
|
highp float tmpvar_324;
|
|
tmpvar_324 = (lumaEndP_74 - (lumaNN_86 * 0.5));
|
|
lumaEndP_74 = tmpvar_324;
|
|
};
|
|
highp float tmpvar_325;
|
|
tmpvar_325 = abs (lumaEndN_76);
|
|
bool tmpvar_326;
|
|
tmpvar_326 = (tmpvar_325 >= gradientScaled_73);
|
|
doneN_69 = tmpvar_326;
|
|
highp float tmpvar_327;
|
|
tmpvar_327 = abs (lumaEndP_74);
|
|
bool tmpvar_328;
|
|
tmpvar_328 = (tmpvar_327 >= gradientScaled_73);
|
|
doneP_68 = tmpvar_328;
|
|
if (!(doneN_69)) {
|
|
highp float tmpvar_329;
|
|
tmpvar_329 = (posN_79.x - (offNP_80.x * 1.0));
|
|
posN_79.x = tmpvar_329;
|
|
};
|
|
if (!(doneN_69)) {
|
|
highp float tmpvar_330;
|
|
tmpvar_330 = (posN_79.y - (offNP_80.y * 1.0));
|
|
posN_79.y = vec2(tmpvar_330).y;
|
|
};
|
|
bool tmpvar_331;
|
|
tmpvar_331 = (!(doneN_69) || !(doneP_68));
|
|
doneNP_67 = tmpvar_331;
|
|
if (!(doneP_68)) {
|
|
highp float tmpvar_332;
|
|
tmpvar_332 = (posP_78.x + (offNP_80.x * 1.0));
|
|
posP_78.x = tmpvar_332;
|
|
};
|
|
if (!(doneP_68)) {
|
|
highp float tmpvar_333;
|
|
tmpvar_333 = (posP_78.y + (offNP_80.y * 1.0));
|
|
posP_78.y = vec2(tmpvar_333).y;
|
|
};
|
|
if (doneNP_67) {
|
|
if (!(doneN_69)) {
|
|
highp vec4 tmpvar_334;
|
|
tmpvar_334.zw = vec2(0.0, 0.0);
|
|
tmpvar_334.xy = posN_79.xy.xy;
|
|
mediump vec4 tmpvar_335;
|
|
tmpvar_335 = xll_tex2Dlod (tex_39, tmpvar_334);
|
|
highp float tmpvar_336;
|
|
tmpvar_336 = FxaaLuma (tmpvar_335);
|
|
highp float tmpvar_337;
|
|
tmpvar_337 = tmpvar_336;
|
|
lumaEndN_76 = tmpvar_337;
|
|
};
|
|
if (!(doneP_68)) {
|
|
highp vec4 tmpvar_338;
|
|
tmpvar_338.zw = vec2(0.0, 0.0);
|
|
tmpvar_338.xy = posP_78.xy.xy;
|
|
mediump vec4 tmpvar_339;
|
|
tmpvar_339 = xll_tex2Dlod (tex_39, tmpvar_338);
|
|
highp float tmpvar_340;
|
|
tmpvar_340 = FxaaLuma (tmpvar_339);
|
|
highp float tmpvar_341;
|
|
tmpvar_341 = tmpvar_340;
|
|
lumaEndP_74 = tmpvar_341;
|
|
};
|
|
if (!(doneN_69)) {
|
|
highp float tmpvar_342;
|
|
tmpvar_342 = (lumaEndN_76 - (lumaNN_86 * 0.5));
|
|
lumaEndN_76 = tmpvar_342;
|
|
};
|
|
if (!(doneP_68)) {
|
|
highp float tmpvar_343;
|
|
tmpvar_343 = (lumaEndP_74 - (lumaNN_86 * 0.5));
|
|
lumaEndP_74 = tmpvar_343;
|
|
};
|
|
highp float tmpvar_344;
|
|
tmpvar_344 = abs (lumaEndN_76);
|
|
bool tmpvar_345;
|
|
tmpvar_345 = (tmpvar_344 >= gradientScaled_73);
|
|
doneN_69 = tmpvar_345;
|
|
highp float tmpvar_346;
|
|
tmpvar_346 = abs (lumaEndP_74);
|
|
bool tmpvar_347;
|
|
tmpvar_347 = (tmpvar_346 >= gradientScaled_73);
|
|
doneP_68 = tmpvar_347;
|
|
if (!(doneN_69)) {
|
|
highp float tmpvar_348;
|
|
tmpvar_348 = (posN_79.x - (offNP_80.x * 1.5));
|
|
posN_79.x = tmpvar_348;
|
|
};
|
|
if (!(doneN_69)) {
|
|
highp float tmpvar_349;
|
|
tmpvar_349 = (posN_79.y - (offNP_80.y * 1.5));
|
|
posN_79.y = vec2(tmpvar_349).y;
|
|
};
|
|
bool tmpvar_350;
|
|
tmpvar_350 = (!(doneN_69) || !(doneP_68));
|
|
doneNP_67 = tmpvar_350;
|
|
if (!(doneP_68)) {
|
|
highp float tmpvar_351;
|
|
tmpvar_351 = (posP_78.x + (offNP_80.x * 1.5));
|
|
posP_78.x = tmpvar_351;
|
|
};
|
|
if (!(doneP_68)) {
|
|
highp float tmpvar_352;
|
|
tmpvar_352 = (posP_78.y + (offNP_80.y * 1.5));
|
|
posP_78.y = vec2(tmpvar_352).y;
|
|
};
|
|
if (doneNP_67) {
|
|
if (!(doneN_69)) {
|
|
highp vec4 tmpvar_353;
|
|
tmpvar_353.zw = vec2(0.0, 0.0);
|
|
tmpvar_353.xy = posN_79.xy.xy;
|
|
mediump vec4 tmpvar_354;
|
|
tmpvar_354 = xll_tex2Dlod (tex_39, tmpvar_353);
|
|
highp float tmpvar_355;
|
|
tmpvar_355 = FxaaLuma (tmpvar_354);
|
|
highp float tmpvar_356;
|
|
tmpvar_356 = tmpvar_355;
|
|
lumaEndN_76 = tmpvar_356;
|
|
};
|
|
if (!(doneP_68)) {
|
|
highp vec4 tmpvar_357;
|
|
tmpvar_357.zw = vec2(0.0, 0.0);
|
|
tmpvar_357.xy = posP_78.xy.xy;
|
|
mediump vec4 tmpvar_358;
|
|
tmpvar_358 = xll_tex2Dlod (tex_39, tmpvar_357);
|
|
highp float tmpvar_359;
|
|
tmpvar_359 = FxaaLuma (tmpvar_358);
|
|
highp float tmpvar_360;
|
|
tmpvar_360 = tmpvar_359;
|
|
lumaEndP_74 = tmpvar_360;
|
|
};
|
|
if (!(doneN_69)) {
|
|
highp float tmpvar_361;
|
|
tmpvar_361 = (lumaEndN_76 - (lumaNN_86 * 0.5));
|
|
lumaEndN_76 = tmpvar_361;
|
|
};
|
|
if (!(doneP_68)) {
|
|
highp float tmpvar_362;
|
|
tmpvar_362 = (lumaEndP_74 - (lumaNN_86 * 0.5));
|
|
lumaEndP_74 = tmpvar_362;
|
|
};
|
|
highp float tmpvar_363;
|
|
tmpvar_363 = abs (lumaEndN_76);
|
|
bool tmpvar_364;
|
|
tmpvar_364 = (tmpvar_363 >= gradientScaled_73);
|
|
doneN_69 = tmpvar_364;
|
|
highp float tmpvar_365;
|
|
tmpvar_365 = abs (lumaEndP_74);
|
|
bool tmpvar_366;
|
|
tmpvar_366 = (tmpvar_365 >= gradientScaled_73);
|
|
doneP_68 = tmpvar_366;
|
|
if (!(doneN_69)) {
|
|
highp float tmpvar_367;
|
|
tmpvar_367 = (posN_79.x - (offNP_80.x * 2.0));
|
|
posN_79.x = tmpvar_367;
|
|
};
|
|
if (!(doneN_69)) {
|
|
highp float tmpvar_368;
|
|
tmpvar_368 = (posN_79.y - (offNP_80.y * 2.0));
|
|
posN_79.y = vec2(tmpvar_368).y;
|
|
};
|
|
bool tmpvar_369;
|
|
tmpvar_369 = (!(doneN_69) || !(doneP_68));
|
|
doneNP_67 = tmpvar_369;
|
|
if (!(doneP_68)) {
|
|
highp float tmpvar_370;
|
|
tmpvar_370 = (posP_78.x + (offNP_80.x * 2.0));
|
|
posP_78.x = tmpvar_370;
|
|
};
|
|
if (!(doneP_68)) {
|
|
highp float tmpvar_371;
|
|
tmpvar_371 = (posP_78.y + (offNP_80.y * 2.0));
|
|
posP_78.y = vec2(tmpvar_371).y;
|
|
};
|
|
if (doneNP_67) {
|
|
if (!(doneN_69)) {
|
|
highp vec4 tmpvar_372;
|
|
tmpvar_372.zw = vec2(0.0, 0.0);
|
|
tmpvar_372.xy = posN_79.xy.xy;
|
|
mediump vec4 tmpvar_373;
|
|
tmpvar_373 = xll_tex2Dlod (tex_39, tmpvar_372);
|
|
highp float tmpvar_374;
|
|
tmpvar_374 = FxaaLuma (tmpvar_373);
|
|
highp float tmpvar_375;
|
|
tmpvar_375 = tmpvar_374;
|
|
lumaEndN_76 = tmpvar_375;
|
|
};
|
|
if (!(doneP_68)) {
|
|
highp vec4 tmpvar_376;
|
|
tmpvar_376.zw = vec2(0.0, 0.0);
|
|
tmpvar_376.xy = posP_78.xy.xy;
|
|
mediump vec4 tmpvar_377;
|
|
tmpvar_377 = xll_tex2Dlod (tex_39, tmpvar_376);
|
|
highp float tmpvar_378;
|
|
tmpvar_378 = FxaaLuma (tmpvar_377);
|
|
highp float tmpvar_379;
|
|
tmpvar_379 = tmpvar_378;
|
|
lumaEndP_74 = tmpvar_379;
|
|
};
|
|
if (!(doneN_69)) {
|
|
highp float tmpvar_380;
|
|
tmpvar_380 = (lumaEndN_76 - (lumaNN_86 * 0.5));
|
|
lumaEndN_76 = tmpvar_380;
|
|
};
|
|
if (!(doneP_68)) {
|
|
highp float tmpvar_381;
|
|
tmpvar_381 = (lumaEndP_74 - (lumaNN_86 * 0.5));
|
|
lumaEndP_74 = tmpvar_381;
|
|
};
|
|
highp float tmpvar_382;
|
|
tmpvar_382 = abs (lumaEndN_76);
|
|
bool tmpvar_383;
|
|
tmpvar_383 = (tmpvar_382 >= gradientScaled_73);
|
|
doneN_69 = tmpvar_383;
|
|
highp float tmpvar_384;
|
|
tmpvar_384 = abs (lumaEndP_74);
|
|
bool tmpvar_385;
|
|
tmpvar_385 = (tmpvar_384 >= gradientScaled_73);
|
|
doneP_68 = tmpvar_385;
|
|
if (!(doneN_69)) {
|
|
highp float tmpvar_386;
|
|
tmpvar_386 = (posN_79.x - (offNP_80.x * 2.0));
|
|
posN_79.x = tmpvar_386;
|
|
};
|
|
if (!(doneN_69)) {
|
|
highp float tmpvar_387;
|
|
tmpvar_387 = (posN_79.y - (offNP_80.y * 2.0));
|
|
posN_79.y = vec2(tmpvar_387).y;
|
|
};
|
|
bool tmpvar_388;
|
|
tmpvar_388 = (!(doneN_69) || !(doneP_68));
|
|
doneNP_67 = tmpvar_388;
|
|
if (!(doneP_68)) {
|
|
highp float tmpvar_389;
|
|
tmpvar_389 = (posP_78.x + (offNP_80.x * 2.0));
|
|
posP_78.x = tmpvar_389;
|
|
};
|
|
if (!(doneP_68)) {
|
|
highp float tmpvar_390;
|
|
tmpvar_390 = (posP_78.y + (offNP_80.y * 2.0));
|
|
posP_78.y = vec2(tmpvar_390).y;
|
|
};
|
|
if (doneNP_67) {
|
|
if (!(doneN_69)) {
|
|
highp vec4 tmpvar_391;
|
|
tmpvar_391.zw = vec2(0.0, 0.0);
|
|
tmpvar_391.xy = posN_79.xy.xy;
|
|
mediump vec4 tmpvar_392;
|
|
tmpvar_392 = xll_tex2Dlod (tex_39, tmpvar_391);
|
|
highp float tmpvar_393;
|
|
tmpvar_393 = FxaaLuma (tmpvar_392);
|
|
highp float tmpvar_394;
|
|
tmpvar_394 = tmpvar_393;
|
|
lumaEndN_76 = tmpvar_394;
|
|
};
|
|
if (!(doneP_68)) {
|
|
highp vec4 tmpvar_395;
|
|
tmpvar_395.zw = vec2(0.0, 0.0);
|
|
tmpvar_395.xy = posP_78.xy.xy;
|
|
mediump vec4 tmpvar_396;
|
|
tmpvar_396 = xll_tex2Dlod (tex_39, tmpvar_395);
|
|
highp float tmpvar_397;
|
|
tmpvar_397 = FxaaLuma (tmpvar_396);
|
|
highp float tmpvar_398;
|
|
tmpvar_398 = tmpvar_397;
|
|
lumaEndP_74 = tmpvar_398;
|
|
};
|
|
if (!(doneN_69)) {
|
|
highp float tmpvar_399;
|
|
tmpvar_399 = (lumaEndN_76 - (lumaNN_86 * 0.5));
|
|
lumaEndN_76 = tmpvar_399;
|
|
};
|
|
if (!(doneP_68)) {
|
|
highp float tmpvar_400;
|
|
tmpvar_400 = (lumaEndP_74 - (lumaNN_86 * 0.5));
|
|
lumaEndP_74 = tmpvar_400;
|
|
};
|
|
highp float tmpvar_401;
|
|
tmpvar_401 = abs (lumaEndN_76);
|
|
bool tmpvar_402;
|
|
tmpvar_402 = (tmpvar_401 >= gradientScaled_73);
|
|
doneN_69 = tmpvar_402;
|
|
highp float tmpvar_403;
|
|
tmpvar_403 = abs (lumaEndP_74);
|
|
bool tmpvar_404;
|
|
tmpvar_404 = (tmpvar_403 >= gradientScaled_73);
|
|
doneP_68 = tmpvar_404;
|
|
if (!(doneN_69)) {
|
|
highp float tmpvar_405;
|
|
tmpvar_405 = (posN_79.x - (offNP_80.x * 2.0));
|
|
posN_79.x = tmpvar_405;
|
|
};
|
|
if (!(doneN_69)) {
|
|
highp float tmpvar_406;
|
|
tmpvar_406 = (posN_79.y - (offNP_80.y * 2.0));
|
|
posN_79.y = vec2(tmpvar_406).y;
|
|
};
|
|
bool tmpvar_407;
|
|
tmpvar_407 = (!(doneN_69) || !(doneP_68));
|
|
doneNP_67 = tmpvar_407;
|
|
if (!(doneP_68)) {
|
|
highp float tmpvar_408;
|
|
tmpvar_408 = (posP_78.x + (offNP_80.x * 2.0));
|
|
posP_78.x = tmpvar_408;
|
|
};
|
|
if (!(doneP_68)) {
|
|
highp float tmpvar_409;
|
|
tmpvar_409 = (posP_78.y + (offNP_80.y * 2.0));
|
|
posP_78.y = vec2(tmpvar_409).y;
|
|
};
|
|
if (doneNP_67) {
|
|
if (!(doneN_69)) {
|
|
highp vec4 tmpvar_410;
|
|
tmpvar_410.zw = vec2(0.0, 0.0);
|
|
tmpvar_410.xy = posN_79.xy.xy;
|
|
mediump vec4 tmpvar_411;
|
|
tmpvar_411 = xll_tex2Dlod (tex_39, tmpvar_410);
|
|
highp float tmpvar_412;
|
|
tmpvar_412 = FxaaLuma (tmpvar_411);
|
|
highp float tmpvar_413;
|
|
tmpvar_413 = tmpvar_412;
|
|
lumaEndN_76 = tmpvar_413;
|
|
};
|
|
if (!(doneP_68)) {
|
|
highp vec4 tmpvar_414;
|
|
tmpvar_414.zw = vec2(0.0, 0.0);
|
|
tmpvar_414.xy = posP_78.xy.xy;
|
|
mediump vec4 tmpvar_415;
|
|
tmpvar_415 = xll_tex2Dlod (tex_39, tmpvar_414);
|
|
highp float tmpvar_416;
|
|
tmpvar_416 = FxaaLuma (tmpvar_415);
|
|
highp float tmpvar_417;
|
|
tmpvar_417 = tmpvar_416;
|
|
lumaEndP_74 = tmpvar_417;
|
|
};
|
|
if (!(doneN_69)) {
|
|
highp float tmpvar_418;
|
|
tmpvar_418 = (lumaEndN_76 - (lumaNN_86 * 0.5));
|
|
lumaEndN_76 = tmpvar_418;
|
|
};
|
|
if (!(doneP_68)) {
|
|
highp float tmpvar_419;
|
|
tmpvar_419 = (lumaEndP_74 - (lumaNN_86 * 0.5));
|
|
lumaEndP_74 = tmpvar_419;
|
|
};
|
|
highp float tmpvar_420;
|
|
tmpvar_420 = abs (lumaEndN_76);
|
|
bool tmpvar_421;
|
|
tmpvar_421 = (tmpvar_420 >= gradientScaled_73);
|
|
doneN_69 = tmpvar_421;
|
|
highp float tmpvar_422;
|
|
tmpvar_422 = abs (lumaEndP_74);
|
|
bool tmpvar_423;
|
|
tmpvar_423 = (tmpvar_422 >= gradientScaled_73);
|
|
doneP_68 = tmpvar_423;
|
|
if (!(doneN_69)) {
|
|
highp float tmpvar_424;
|
|
tmpvar_424 = (posN_79.x - (offNP_80.x * 2.0));
|
|
posN_79.x = tmpvar_424;
|
|
};
|
|
if (!(doneN_69)) {
|
|
highp float tmpvar_425;
|
|
tmpvar_425 = (posN_79.y - (offNP_80.y * 2.0));
|
|
posN_79.y = vec2(tmpvar_425).y;
|
|
};
|
|
bool tmpvar_426;
|
|
tmpvar_426 = (!(doneN_69) || !(doneP_68));
|
|
doneNP_67 = tmpvar_426;
|
|
if (!(doneP_68)) {
|
|
highp float tmpvar_427;
|
|
tmpvar_427 = (posP_78.x + (offNP_80.x * 2.0));
|
|
posP_78.x = tmpvar_427;
|
|
};
|
|
if (!(doneP_68)) {
|
|
highp float tmpvar_428;
|
|
tmpvar_428 = (posP_78.y + (offNP_80.y * 2.0));
|
|
posP_78.y = vec2(tmpvar_428).y;
|
|
};
|
|
if (doneNP_67) {
|
|
if (!(doneN_69)) {
|
|
highp vec4 tmpvar_429;
|
|
tmpvar_429.zw = vec2(0.0, 0.0);
|
|
tmpvar_429.xy = posN_79.xy.xy;
|
|
mediump vec4 tmpvar_430;
|
|
tmpvar_430 = xll_tex2Dlod (tex_39, tmpvar_429);
|
|
highp float tmpvar_431;
|
|
tmpvar_431 = FxaaLuma (tmpvar_430);
|
|
highp float tmpvar_432;
|
|
tmpvar_432 = tmpvar_431;
|
|
lumaEndN_76 = tmpvar_432;
|
|
};
|
|
if (!(doneP_68)) {
|
|
highp vec4 tmpvar_433;
|
|
tmpvar_433.zw = vec2(0.0, 0.0);
|
|
tmpvar_433.xy = posP_78.xy.xy;
|
|
mediump vec4 tmpvar_434;
|
|
tmpvar_434 = xll_tex2Dlod (tex_39, tmpvar_433);
|
|
highp float tmpvar_435;
|
|
tmpvar_435 = FxaaLuma (tmpvar_434);
|
|
highp float tmpvar_436;
|
|
tmpvar_436 = tmpvar_435;
|
|
lumaEndP_74 = tmpvar_436;
|
|
};
|
|
if (!(doneN_69)) {
|
|
highp float tmpvar_437;
|
|
tmpvar_437 = (lumaEndN_76 - (lumaNN_86 * 0.5));
|
|
lumaEndN_76 = tmpvar_437;
|
|
};
|
|
if (!(doneP_68)) {
|
|
highp float tmpvar_438;
|
|
tmpvar_438 = (lumaEndP_74 - (lumaNN_86 * 0.5));
|
|
lumaEndP_74 = tmpvar_438;
|
|
};
|
|
highp float tmpvar_439;
|
|
tmpvar_439 = abs (lumaEndN_76);
|
|
bool tmpvar_440;
|
|
tmpvar_440 = (tmpvar_439 >= gradientScaled_73);
|
|
doneN_69 = tmpvar_440;
|
|
highp float tmpvar_441;
|
|
tmpvar_441 = abs (lumaEndP_74);
|
|
bool tmpvar_442;
|
|
tmpvar_442 = (tmpvar_441 >= gradientScaled_73);
|
|
doneP_68 = tmpvar_442;
|
|
if (!(doneN_69)) {
|
|
highp float tmpvar_443;
|
|
tmpvar_443 = (posN_79.x - (offNP_80.x * 4.0));
|
|
posN_79.x = tmpvar_443;
|
|
};
|
|
if (!(doneN_69)) {
|
|
highp float tmpvar_444;
|
|
tmpvar_444 = (posN_79.y - (offNP_80.y * 4.0));
|
|
posN_79.y = vec2(tmpvar_444).y;
|
|
};
|
|
bool tmpvar_445;
|
|
tmpvar_445 = (!(doneN_69) || !(doneP_68));
|
|
doneNP_67 = tmpvar_445;
|
|
if (!(doneP_68)) {
|
|
highp float tmpvar_446;
|
|
tmpvar_446 = (posP_78.x + (offNP_80.x * 4.0));
|
|
posP_78.x = tmpvar_446;
|
|
};
|
|
if (!(doneP_68)) {
|
|
highp float tmpvar_447;
|
|
tmpvar_447 = (posP_78.y + (offNP_80.y * 4.0));
|
|
posP_78.y = vec2(tmpvar_447).y;
|
|
};
|
|
if (doneNP_67) {
|
|
if (!(doneN_69)) {
|
|
highp vec4 tmpvar_448;
|
|
tmpvar_448.zw = vec2(0.0, 0.0);
|
|
tmpvar_448.xy = posN_79.xy.xy;
|
|
mediump vec4 tmpvar_449;
|
|
tmpvar_449 = xll_tex2Dlod (tex_39, tmpvar_448);
|
|
highp float tmpvar_450;
|
|
tmpvar_450 = FxaaLuma (tmpvar_449);
|
|
highp float tmpvar_451;
|
|
tmpvar_451 = tmpvar_450;
|
|
lumaEndN_76 = tmpvar_451;
|
|
};
|
|
if (!(doneP_68)) {
|
|
highp vec4 tmpvar_452;
|
|
tmpvar_452.zw = vec2(0.0, 0.0);
|
|
tmpvar_452.xy = posP_78.xy.xy;
|
|
mediump vec4 tmpvar_453;
|
|
tmpvar_453 = xll_tex2Dlod (tex_39, tmpvar_452);
|
|
highp float tmpvar_454;
|
|
tmpvar_454 = FxaaLuma (tmpvar_453);
|
|
highp float tmpvar_455;
|
|
tmpvar_455 = tmpvar_454;
|
|
lumaEndP_74 = tmpvar_455;
|
|
};
|
|
if (!(doneN_69)) {
|
|
highp float tmpvar_456;
|
|
tmpvar_456 = (lumaEndN_76 - (lumaNN_86 * 0.5));
|
|
lumaEndN_76 = tmpvar_456;
|
|
};
|
|
if (!(doneP_68)) {
|
|
highp float tmpvar_457;
|
|
tmpvar_457 = (lumaEndP_74 - (lumaNN_86 * 0.5));
|
|
lumaEndP_74 = tmpvar_457;
|
|
};
|
|
highp float tmpvar_458;
|
|
tmpvar_458 = abs (lumaEndN_76);
|
|
bool tmpvar_459;
|
|
tmpvar_459 = (tmpvar_458 >= gradientScaled_73);
|
|
doneN_69 = tmpvar_459;
|
|
highp float tmpvar_460;
|
|
tmpvar_460 = abs (lumaEndP_74);
|
|
bool tmpvar_461;
|
|
tmpvar_461 = (tmpvar_460 >= gradientScaled_73);
|
|
doneP_68 = tmpvar_461;
|
|
if (!(doneN_69)) {
|
|
highp float tmpvar_462;
|
|
tmpvar_462 = (posN_79.x - (offNP_80.x * 8.0));
|
|
posN_79.x = tmpvar_462;
|
|
};
|
|
if (!(doneN_69)) {
|
|
highp float tmpvar_463;
|
|
tmpvar_463 = (posN_79.y - (offNP_80.y * 8.0));
|
|
posN_79.y = vec2(tmpvar_463).y;
|
|
};
|
|
bool tmpvar_464;
|
|
tmpvar_464 = (!(doneN_69) || !(doneP_68));
|
|
doneNP_67 = tmpvar_464;
|
|
if (!(doneP_68)) {
|
|
highp float tmpvar_465;
|
|
tmpvar_465 = (posP_78.x + (offNP_80.x * 8.0));
|
|
posP_78.x = tmpvar_465;
|
|
};
|
|
if (!(doneP_68)) {
|
|
highp float tmpvar_466;
|
|
tmpvar_466 = (posP_78.y + (offNP_80.y * 8.0));
|
|
posP_78.y = vec2(tmpvar_466).y;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
highp float tmpvar_467;
|
|
tmpvar_467 = (posM_133.x - posN_79.x);
|
|
dstN_66 = tmpvar_467;
|
|
highp float tmpvar_468;
|
|
tmpvar_468 = (posP_78.x - posM_133.x);
|
|
dstP_65 = tmpvar_468;
|
|
if (!(horzSpan_91)) {
|
|
highp float tmpvar_469;
|
|
tmpvar_469 = (posM_133.y - posN_79.y);
|
|
dstN_66 = tmpvar_469;
|
|
};
|
|
if (!(horzSpan_91)) {
|
|
highp float tmpvar_470;
|
|
tmpvar_470 = (posP_78.y - posM_133.y);
|
|
dstP_65 = tmpvar_470;
|
|
};
|
|
bool tmpvar_471;
|
|
tmpvar_471 = ((lumaEndN_76 < 0.0) != lumaMLTZero_70);
|
|
goodSpanN_64 = tmpvar_471;
|
|
highp float tmpvar_472;
|
|
tmpvar_472 = (dstP_65 + dstN_66);
|
|
spanLength_63 = tmpvar_472;
|
|
bool tmpvar_473;
|
|
tmpvar_473 = ((lumaEndP_74 < 0.0) != lumaMLTZero_70);
|
|
goodSpanP_62 = tmpvar_473;
|
|
highp float tmpvar_474;
|
|
tmpvar_474 = (1.0 / spanLength_63);
|
|
spanLengthRcp_61 = tmpvar_474;
|
|
bool tmpvar_475;
|
|
tmpvar_475 = (dstN_66 < dstP_65);
|
|
directionN_60 = tmpvar_475;
|
|
highp float tmpvar_476;
|
|
tmpvar_476 = min (dstN_66, dstP_65);
|
|
highp float tmpvar_477;
|
|
tmpvar_477 = tmpvar_476;
|
|
dst_59 = tmpvar_477;
|
|
bool tmpvar_478;
|
|
if (directionN_60) {
|
|
tmpvar_478 = goodSpanN_64;
|
|
} else {
|
|
tmpvar_478 = goodSpanP_62;
|
|
};
|
|
bool tmpvar_479;
|
|
tmpvar_479 = tmpvar_478;
|
|
goodSpan_58 = tmpvar_479;
|
|
highp float tmpvar_480;
|
|
tmpvar_480 = (subpixF_71 * subpixF_71);
|
|
subpixG_57 = tmpvar_480;
|
|
highp float tmpvar_481;
|
|
tmpvar_481 = ((dst_59 * -(spanLengthRcp_61)) + 0.5);
|
|
pixelOffset_56 = tmpvar_481;
|
|
highp float tmpvar_482;
|
|
tmpvar_482 = (subpixG_57 * fxaaQualitySubpix_46);
|
|
subpixH_55 = tmpvar_482;
|
|
highp float tmpvar_483;
|
|
if (goodSpan_58) {
|
|
tmpvar_483 = pixelOffset_56;
|
|
} else {
|
|
tmpvar_483 = 0.0;
|
|
};
|
|
highp float tmpvar_484;
|
|
tmpvar_484 = tmpvar_483;
|
|
pixelOffsetGood_54 = tmpvar_484;
|
|
highp float tmpvar_485;
|
|
tmpvar_485 = max (pixelOffsetGood_54, subpixH_55);
|
|
highp float tmpvar_486;
|
|
tmpvar_486 = tmpvar_485;
|
|
pixelOffsetSubpix_53 = tmpvar_486;
|
|
if (!(horzSpan_91)) {
|
|
highp float tmpvar_487;
|
|
tmpvar_487 = (posM_133.x + (pixelOffsetSubpix_53 * lengthSign_92));
|
|
posM_133.x = tmpvar_487;
|
|
};
|
|
if (horzSpan_91) {
|
|
highp float tmpvar_488;
|
|
tmpvar_488 = (posM_133.y + (pixelOffsetSubpix_53 * lengthSign_92));
|
|
posM_133.y = vec2(tmpvar_488).y;
|
|
};
|
|
highp vec4 tmpvar_489;
|
|
tmpvar_489.zw = vec2(0.0, 0.0);
|
|
tmpvar_489.xy = posM_133.xy;
|
|
mediump vec4 tmpvar_490;
|
|
tmpvar_490 = xll_tex2Dlod (tex_39, tmpvar_489);
|
|
highp vec4 tmpvar_491;
|
|
tmpvar_491.xyz = tmpvar_490.xyz.xyz;
|
|
tmpvar_491.w = rgbyM_132.w;
|
|
return tmpvar_491;
|
|
}
|
|
|
|
vec4 xlat_main (
|
|
in v2f i_492
|
|
)
|
|
{
|
|
highp float fxaaN_493;
|
|
mediump float tmpvar_494;
|
|
tmpvar_494 = 0.5;
|
|
fxaaN_493 = tmpvar_494;
|
|
highp vec4 tmpvar_495;
|
|
tmpvar_495.x = -(fxaaN_493);
|
|
tmpvar_495.y = -(fxaaN_493);
|
|
tmpvar_495.z = fxaaN_493;
|
|
tmpvar_495.w = fxaaN_493;
|
|
highp vec4 tmpvar_496;
|
|
tmpvar_496 = FxaaPixelShader (i_492.uv, i_492.uvPosPos, _MainTex, _MainTex, _MainTex, _MainTex_TexelSize.xy, (_MainTex_TexelSize.xyxy * tmpvar_495), (_MainTex_TexelSize.xyxy * vec4(-2.0, -2.0, 2.0, 2.0)), (_MainTex_TexelSize.xyxy * vec4(8.0, 8.0, -4.0, -4.0)), 0.75, 0.166, 0.0833, 8.0, 0.125, 0.05, vec4(1.0, -1.0, 0.25, -0.25));
|
|
return tmpvar_496;
|
|
}
|
|
|
|
void main ()
|
|
{
|
|
v2f xlt_i_497;
|
|
highp vec4 xl_retval_498;
|
|
highp vec4 tmpvar_499;
|
|
tmpvar_499 = xlv_SV_POSITION.xyzw;
|
|
highp vec4 tmpvar_500;
|
|
tmpvar_500 = tmpvar_499;
|
|
xlt_i_497.pos = tmpvar_500;
|
|
highp vec2 tmpvar_501;
|
|
tmpvar_501 = xlv_TEXCOORD0.xy;
|
|
highp vec2 tmpvar_502;
|
|
tmpvar_502 = tmpvar_501;
|
|
xlt_i_497.uv = tmpvar_502;
|
|
highp vec4 tmpvar_503;
|
|
tmpvar_503 = xlv_TEXCOORD1.xyzw;
|
|
highp vec4 tmpvar_504;
|
|
tmpvar_504 = tmpvar_503;
|
|
xlt_i_497.uvPosPos = tmpvar_504;
|
|
highp vec4 tmpvar_505;
|
|
tmpvar_505 = xlat_main (xlt_i_497);
|
|
highp vec4 tmpvar_506;
|
|
tmpvar_506 = tmpvar_505;
|
|
xl_retval_498 = tmpvar_506;
|
|
highp vec4 tmpvar_507;
|
|
tmpvar_507 = xl_retval_498.xyzw;
|
|
highp vec4 tmpvar_508;
|
|
tmpvar_508 = tmpvar_507;
|
|
gl_FragData[0] = tmpvar_508;
|
|
}
|
|
|