] : register(c1);
uniform float3x3 _umatrix_Stage1_c0 : register(c6);
uniform float4 _uclamp_Stage1_c0_c0 : register(c9);
static const uint _uTextureSampler_0_Stage1 = 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  float2 _vLocalCoord_Stage0 = {0, 0};

static float4 gl_Color[1] =
{
    float4(0, 0, 0, 0)
};

cbuffer DriverConstants : register(b1)
{
    struct SamplerMetadata
    {
        int baseLevel;
        int internalFormatBits;
        int wrapModes;
        int padding;
        int4 intBorderColor;
    };
    SamplerMetadata samplerMetadata[1] : packoffset(c4);
};

#define GL_USES_FRAG_COLOR
float4 gl_texture2D(uint samplerIndex, float2 t)
{
    return textures2D[samplerIndex].Sample(samplers2D[samplerIndex], float2(t.x, t.y));
}

float4 f_TextureEffect_Stage1_c0_c0_float4(in float4 __input, in float2 __coords)
{
float4 __output2339 = {0, 0, 0, 0};
float2 _inCoord2340 = __coords;
float2 _subsetCoord2341 = {0, 0};
(_subsetCoord2341.x = _inCoord2340.x);
(_subsetCoord2341.y = _inCoord2340.y);
float2 _clampedCoord2342 = {0, 0};
(_clampedCoord2342.x = _subsetCoord2341.x);
(_clampedCoord2342.y = clamp(_subsetCoord2341.y, _uclamp_Stage1_c0_c0.y, _uclamp_Stage1_c0_c0.w));
float4 _textureColor2343 = gl_texture2D(_uTextureSampler_0_Stage1, _clampedCoord2342);
(__output2339 = _textureColor2343);
return __output2339;
}
@@ PIXEL OUTPUT @@

PS_OUTPUT main(PS_INPUT input){
    _vLocalCoord_Stage0 = input.v0.xy;

float4 _output_Stage12345 = {0, 0, 0, 0};
{
float2 __coords2346 = _vLocalCoord_Stage0;
(_output_Stage12345 = float4(0.0, 0.0, 0.0, 0.0));
float2 _coord2347 = (__coords2346 - (9.0 * _uIncrement_Stage1));
float2 _coordSampled2348 = {0.0, 0.0};
(_coordSampled2348 = _coord2347);
float4 __inlineResulthalf4MatrixEffect_Stage1_c0half4float202349 = {0, 0, 0, 0};
float2 __inlineArghalf4MatrixEffect_Stage1_c0half4float21_12350 = _coordSampled2348;
{
float4 __output2351 = {0, 0, 0, 0};
(__output2351 = f_TextureEffect_Stage1_c0_c0_float4(float4(1.0, 1.0, 1.0, 1.0), mul(transpose(_umatrix_Stage1_c0), vec3_ctor(__inlineArghalf4MatrixEffect_Stage1_c0half4float21_12350.xy, 1)).xy));
(__inlineResulthalf4MatrixEffect_Stage1_c0half4float202349 = __output2351);
}
(_output_Stage12345 += (__inlineResulthalf4MatrixEffect_Stage1_c0half4float202349 * _uKernel_Stage1[0].x));
(_coord2347 += _uIncrement_Stage1);
(_coordSampled2348 = _coord2347);
float4 __inlineResulthalf4MatrixEffect_Stage1_c0half4float222352 = {0, 0, 0, 0};
float2 __inlineArghalf4MatrixEffect_Stage1_c0half4float23_12353 = _coordSampled2348;
{
float4 __output2354 = {0, 0, 0, 0};
(__output2354 = f_TextureEffect_Stage1_c0_c0_float4(float4(1.0, 1.0, 1.0, 1.0), mul(transpose(_umatrix_Stage1_c0), vec3_ctor(__inlineArghalf4MatrixEffect_Stage1_c0half4float23_12353.xy, 1)).xy));
(__inlineResulthalf4MatrixEffect_Stage1_c0half4float222352 = __output2354);
}
(_output_Stage12345 += (__inlineResulthalf4MatrixEffect_Stage1_c0half4float222352 * _uKernel_Stage1[0].y));
(_coord2347 += _uIncrement_Stage1);
(_coordSampled2348 = _coord2347);
float4 __inlineResulthalf4MatrixEffect_Stage1_c0half4float242355 = {0, 0, 0, 0};
float2 __inlineArghalf4MatrixEffect_Stage1_c0half4float25_12356 = _coordSampled2348;
{
float4 __output2357 = {0, 0, 0, 0};
(__output2357 = f_TextureEffect_Stage1_c0_c0_float4(float4(1.0, 1.0, 1.0, 1.0), mul(transpose(_umatrix_Stage1_c0), vec3_ctor(__inlineArghalf4MatrixEffect_Stage1_c0half4float25_12356.xy, 1)).xy));
(__inlineResulthalf4MatrixEffect_Stage1_c0half4float242355 = __output2357);
}
(_output_Stage12345 += (__inlineResulthalf4MatrixEffect_Stage1_c0half4float242355 * _uKernel_Stage1[0].z));
(_coord2347 += _uIncrement_Stage1);
(_coordSampled2348 = _coord2347);
float4 __inlineResulthalf4MatrixEffect_Stage1_c0half4float262358 = {0, 0, 0, 0};
float2 __inlineArghalf4MatrixEffect_Stage1_c0half4float27_12359 = _coordSampled2348;
{
float4 __output2360 = {0, 0, 0, 0};
(__output2360 = f_TextureEffect_Stage1_c0_c0_float4(float4(1.0, 1.0, 1.0, 1.0), mul(transpose(_umatrix_Stage1_c0), vec3_ctor(__inlineArghalf4MatrixEffect_Stage1_c0half4float27_12359.xy, 1)).xy));
(__inlineResulthalf4MatrixEffect_Stage1_c0half4float262358 = __output2360);
}
(_output_Stage12345 += (__inlineResulthalf4MatrixEffect_Stage1_c0half4float262358 * _uKernel_Stage1[0].w));
(_coord2347 += _uIncrement_Stage1);
(_coordSampled2348 = _coord2347);
float4 __inlineResulthalf4MatrixEffect_Stage1_c0half4float282361 = {0, 0, 0, 0};
float2 __inlineArghalf4MatrixEffect_Stage1_c0half4float29_12362 = _coordSampled2348;
{
float4 __output2363 = {0, 0, 0, 0};
(__output2363 = f_TextureEffect_Stage1_c0_c0_float4(float4(1.0, 1.0, 1.0, 1.0), mul(transpose(_umatrix_Stage1_c0), vec3_ctor(__inlineArghalf4MatrixEffect_Stage1_c0half4float29_12362.xy, 1)).xy));
(__inlineResulthalf4MatrixEffect_Stage1_c0half4float282361 = __output2363);
}
(_output_Stage12345 += (__inlineResulthalf4MatrixEffect_Stage1_c0half4float282361 * _uKernel_Stage1[1].x));
(_coord2347 += _uIncrement_Stage1);
(_coordSampled2348 = _coord2347);
float4 __inlineResulthalf4MatrixEffect_Stage1_c0half4float2102364 = {0, 0, 0, 0};
float2 __inlineArghalf4MatrixEffect_Stage1_c0half4float211_12365 = _coordSampled2348;
{
float4 __output2366 = {0, 0, 0, 0};
(__output2366 = f_TextureEffect_Stage1_c0_c0_float4(float4(1.0, 1.0, 1.0, 1.0), mul(transpose(_umatrix_Stage1_c0), vec3_ctor(__inlineArghalf4MatrixEffect_Stage1_c0half4float211_12365.xy, 1)).xy));
(__inlineResulthalf4MatrixEffect_Stage1_c0half4float2102364 = __output2366);
}
(_output_Stage12345 += (__inlineResulthalf4MatrixEffect_Stage1_c0half4float2102364 * _uKernel_Stage1[1].y));
(_coord2347 += _uIncrement_Stage1);
(_coordSampled2348 = _coord2347);
float4 __inlineResulthalf4MatrixEffect_Stage1_c0half4float2122367 = {0, 0, 0, 0};
float2 __inlineArghalf4MatrixEffect_Stage1_c0half4float213_12368 = _coordSampled2348;
{
float4 __output2369 = {0, 0, 0, 0};
(__output2369 = f_TextureEffect_Stage1_c0_c0_float4(float4(1.0, 1.0, 1.0, 1.0), mul(transpose(_umatrix_Stage1_c0), vec3_ctor(__inlineArghalf4MatrixEffect_Stage1_c0half4float213_12368.xy, 1)).xy));
(__inlineResulthalf4MatrixEffect_Stage1_c0half4float2122367 = __output2369);
}
(_output_Stage12345 += (__inlineResulthalf4MatrixEffect_Stage1_c0half4float2122367 * _uKernel_Stage1[1].z));
(_coord2347 += _uIncrement_Stage1);
(_coordSampled2348 = _coord2347);
float4 __inlineResulthalf4MatrixEffect_Stage1_c0half4float2142370 = {0, 0, 0, 0};
float2 __inlineArghalf4MatrixEffect_Stage1_c0half4float215_12371 = _coordSampled2348;
{
float4 __output2372 = {0, 0, 0, 0};
(__output2372 = f_TextureEffect_Stage1_c0_c0_float4(float4(1.0, 1.0, 1.0, 1.0), mul(transpose(_umatrix_Stage1_c0), vec3_ctor(__inlineArghalf4MatrixEffect_Stage1_c0half4float215_12371.xy, 1)).xy));
(__inlineResulthalf4MatrixEffect_Stage1_c0half4float2142370 = __output2372);
}
(_output_Stage12345 += (__inlineResulthalf4MatrixEffect_Stage1_c0half4float2142370 * _uKernel_Stage1[1].w));
(_coord2347 += _uIncrement_Stage1);
(_coordSampled2348 = _coord2347);
float4 __inlineResulthalf4MatrixEffect_Stage1_c0half4float2162373 = {0, 0, 0, 0};
float2 __inlineArghalf4MatrixEffect_Stage1_c0half4float217_12374 = _coordSampled2348;
{
float4 __output2375 = {0, 0, 0, 0};
(__output2375 = f_TextureEffect_Stage1_c0_c0_float4(float4(1.0, 1.0, 1.0, 1.0), mul(transpose(_umatrix_Stage1_c0), vec3_ctor(__inlineArghalf4MatrixEffect_Stage1_c0half4float217_12374.xy, 1)).xy));
(__inlineResulthalf4MatrixEffect_Stage1_c0half4float2162373 = __output2375);
}
(_output_Stage12345 += (__inlineResulthalf4MatrixEffect_Stage1_c0half4float2162373 * _uKernel_Stage1[2].x));
(_coord2347 += _uIncrement_Stage1);
(_coordSampled2348 = _coord2347);
float4 __inlineResulthalf4MatrixEffect_Stage1_c0half4float2182376 = {0, 0, 0, 0};
float2 __inlineArghalf4MatrixEffect_Stage1_c0half4float219_12377 = _coordSampled2348;
{
float4 __output2378 = {0, 0, 0, 0};
(__output2378 = f_TextureEffect_Stage1_c0_c0_float4(float4(1.0, 1.0, 1.0, 1.0), mul(transpose(_umatrix_Stage1_c0), vec3_ctor(__inlineArghalf4MatrixEffect_Stage1_c0half4float219_12377.xy, 1)).xy));
(__inlineResulthalf4MatrixEffect_Stage1_c0half4float2182376 = __output2378);
}
(_output_Stage12345 += (__inlineResulthalf4MatrixEffect_Stage1_c0half4float2182376 * _uKernel_Stage1[2].y));
(_coord2347 += _uIncrement_Stage1);
(_coordSampled2348 = _coord2347);
float4 __inlineResulthalf4MatrixEffect_Stage1_c0half4float2202379 = {0, 0, 0, 0};
float2 __inlineArghalf4MatrixEffect_Stage1_c0half4float221_12380 = _coordSampled2348;
{
float4 __output2381 = {0, 0, 0, 0};
(__output2381 = f_TextureEffect_Stage1_c0_c0_float4(float4(1.0, 1.0, 1.0, 1.0), mul(transpose(_umatrix_Stage1_c0), vec3_ctor(__inlineArghalf4MatrixEffect_Stage1_c0half4float221_12380.xy, 1)).xy));
(__inlineResulthalf4MatrixEffect_Stage1_c0half4float2202379 = __output2381);
}
(_output_Stage12345 += (__inlineResulthalf4MatrixEffect_Stage1_c0half4float2202379 * _uKernel_Stage1[2].z));
(_coord2347 += _uIncrement_Stage1);
(_coordSampled2348 = _coord2347);
float4 __inlineResulthalf4MatrixEffect_Stage1_c0half4float2222382 = {0, 0, 0, 0};
float2 __inlineArghalf4MatrixEffect_Stage1_c0half4float223_12383 = _coordSampled2348;
{
float4 __output2384 = {0, 0, 0, 0};
(__output2384 = f_TextureEffect_Stage1_c0_c0_float4(float4(1.0, 1.0, 1.0, 1.0), mul(transpose(_umatrix_Stage1_c0), vec3_ctor(__inlineArghalf4MatrixEffect_Stage1_c0half4float223_12383.xy, 1)).xy));
(__inlineResulthalf4MatrixEffect_Stage1_c0half4float2222382 = __output2384);
}
(_output_Stage12345 += (__inlineResulthalf4MatrixEffect_Stage1_c0half4float2222382 * _uKernel_Stage1[2].w));
(_coord2347 += _uIncrement_Stage1);
(_coordSampled2348 = _coord2347);
float4 __inlineResulthalf4MatrixEffect_Stage1_c0half4float2242385 = {0, 0, 0, 0};
float2 __inlineArghalf4MatrixEffect_Stage1_c0half4float225_12386 = _coordSampled2348;
{
float4 __output2387 = {0, 0, 0, 0};
(__output2387 = f_TextureEffect_Stage1_c0_c0_float4(float4(1.0, 1.0, 1.0, 1.0), mul(transpose(_umatrix_Stage1_c0), vec3_ctor(__inlineArghalf4MatrixEffect_Stage1_c0half4float225_12386.xy, 1)).xy));
(__inlineResulthalf4MatrixEffect_Stage1_c0half4float2242385 = __output2387);
}
(_output_Stage12345 += (__inlineResulthalf4MatrixEffect_Stage1_c0half4float2242385 * _uKernel_Stage1[3].x));
(_coord2347 += _uIncrement_Stage1);
(_coordSampled2348 = _coord2347);
float4 __inlineResulthalf4MatrixEffect_Stage1_c0half4float2262388 = {0, 0, 0, 0};
float2 __inlineArghalf4MatrixEffect_Stage1_c0half4float227_12389 = _coordSampled2348;
{
float4 __output2390 = {0, 0, 0, 0};
(__output2390 = f_TextureEffect_Stage1_c0_c0_float4(float4(1.0, 1.0, 1.0, 1.0), mul(transpose(_umatrix_Stage1_c0), vec3_ctor(__inlineArghalf4MatrixEffect_Stage1_c0half4float227_12389.xy, 1)).xy));
(__inlineResulthalf4MatrixEffect_Stage1_c0half4float2262388 = __output2390);
}
(_output_Stage12345 += (__inlineResulthalf4MatrixEffect_Stage1_c0half4float2262388 * _uKernel_Stage1[3].y));
(_coord2347 += _uIncrement_Stage1);
(_coordSampled2348 = _coord2347);
float4 __inlineResulthalf4MatrixEffect_Stage1_c0half4float2282391 = {0, 0, 0, 0};
float2 __inlineArghalf4MatrixEffect_Stage1_c0half4float229_12392 = _coordSampled2348;
{
float4 __output2393 = {0, 0, 0, 0};
(__output2393 = f_TextureEffect_Stage1_c0_c0_float4(float4(1.0, 1.0, 1.0, 1.0), mul(transpose(_umatrix_Stage1_c0), vec3_ctor(__inlineArghalf4MatrixEffect_Stage1_c0half4float229_12392.xy, 1)).xy));
(__inlineResulthalf4MatrixEffect_Stage1_c0half4float2282391 = __output2393);
}
(_output_Stage12345 += (__inlineResulthalf4MatrixEffect_Stage1_c0half4float2282391 * _uKernel_Stage1[3].z));
(_coord2347 += _uIncrement_Stage1);
(_coordSampled2348 = _coord2347);
float4 __inlineResulthalf4MatrixEffect_Stage1_c0half4float2302394 = {0, 0, 0, 0};
float2 __inlineArghalf4MatrixEffect_Stage1_c0half4float231_12395 = _coordSampled2348;
{
float4 __output2396 = {0, 0, 0, 0};
(__output2396 = f_TextureEffect_Stage1_c0_c0_float4(float4(1.0, 1.0, 1.0, 1.0), mul(transpose(_umatrix_Stage1_c0), vec3_ctor(__inlineArghalf4MatrixEffect_Stage1_c0half4float231_12395.xy, 1)).xy));
(__inlineResulthalf4MatrixEffect_Stage1_c0half4float2302394 = __output2396);
}
(_output_Stage12345 += (__inlineResulthalf4MatrixEffect_Stage1_c0half4float2302394 * _uKernel_Stage1[3].w));
(_coord2347 += _uIncrement_Stage1);
(_coordSampled2348 = _coord2347);
float4 __inlineResulthalf4MatrixEffect_Stage1_c0half4float2322397 = {0, 0, 0, 0};
float2 __inlineArghalf4MatrixEffect_Stage1_c0half4float233_12398 = _coordSampled2348;
{
float4 __output2399 = {0, 0, 0, 0};
(__output2399 = f_TextureEffect_Stage1_c0_c0_float4(float4(1.0, 1.0, 1.0, 1.0), mul(transpose(_umatrix_Stage1_c0), vec3_ctor(__inlineArghalf4MatrixEffect_Stage1_c0half4float233_12398.xy, 1)).xy));
(__inlineResulthalf4MatrixEffect_Stage1_c0half4float2322397 = __output2399);
}
(_output_Stage12345 += (__inlineResulthalf4MatrixEffect_Stage1_c0half4float2322397 * _uKernel_Stage1[4].x));
(_coord2347 += _uIncrement_Stage1);
(_coordSampled2348 = _coord2347);
float4 __inlineResulthalf4MatrixEffect_Stage1_c0half4float2342400 = {0, 0, 0, 0};
float2 __inlineArghalf4MatrixEffect_Stage1_c0half4float235_12401 = _coordSampled2348;
{
float4 __output2402 = {0, 0, 0, 0};
(__output2402 = f_TextureEffect_Stage1_c0_c0_float4(float4(1.0, 1.0, 1.0, 1.0), mul(transpose(_umatrix_Stage1_c0), vec3_ctor(__inlineArghalf4MatrixEffect_Stage1_c0half4float235_12401.xy, 1)).xy));
(__inlineResulthalf4MatrixEffect_Stage1_c0half4float2342400 = __output2402);
}
(_output_Stage12345 += (__inlineResulthalf4MatrixEffect_Stage1_c0half4float2342400 * _uKernel_Stage1[4].y));
(_coord2347 += _uIncrement_Stage1);
(_coordSampled2348 = _coord2347);
float4 __inlineResulthalf4MatrixEffect_Stage1_c0half4float2362403 = {0, 0, 0, 0};
float2 __inlineArghalf4MatrixEffect_Stage1_c0half4float237_12404 = _coordSampled2348;
{
float4 __output2405 = {0, 0, 0, 0};
(__output2405 = f_TextureEffect_Stage1_c0_c0_float4(float4(1.0, 1.0, 1.0, 1.0), mul(transpose(_umatrix_Stage1_c0), vec3_ctor(__inlineArghalf4MatrixEffect_Stage1_c0half4float237_12404.xy, 1)).xy));
(__inlineResulthalf4MatrixEffect_Stage1_c0half4float2362403 = __output2405);
}
(_output_Stage12345 += (__inlineResulthalf4MatrixEffect_Stage1_c0half4float2362403 * _uKernel_Stage1[4].z));
(_coord2347 += _uIncrement_Stage1);
}
{
(gl_Color[0] = _output_Stage12345);
}
return generateOutput();
}
