diff --git a/bicubic.c b/bicubic.c index 74c6fcf..33d2a80 100644 --- a/bicubic.c +++ b/bicubic.c @@ -123,7 +123,8 @@ getBicubicFragmentFunction (CompScreen *s, int handle = 0, i; static char *filterTemp[] = { - "hgX", "hgY", "cs00", "cs01", "cs10", "cs11" + "hgX", "hgY", "cs00", "cs01", "cs10", "cs11", + "tc00", "tc01", "tc10", "tc11" }; for (i = 0; i < sizeof (filterTemp) / sizeof (filterTemp[0]); i++) @@ -153,22 +154,22 @@ getBicubicFragmentFunction (CompScreen *s, "MAD cs00, program.env[%d], -hgY.x, cs00;", param + 1); ok &= addDataOpToFunctionData (data, - "ADD cs00, cs00, fragment.texcoord[0];"); + "ADD tc00, cs00, fragment.texcoord[0];"); ok &= addDataOpToFunctionData (data, - "ADD cs01, cs01, fragment.texcoord[0];"); + "ADD tc01, cs01, fragment.texcoord[0];"); ok &= addDataOpToFunctionData (data, - "ADD cs10, cs10, fragment.texcoord[0];"); + "ADD tc10, cs10, fragment.texcoord[0];"); ok &= addDataOpToFunctionData (data, - "ADD cs11, cs11, fragment.texcoord[0];"); + "ADD tc11, cs11, fragment.texcoord[0];"); ok &= addDataOpToFunctionData (data, - "TEX cs00, cs00, texture[0], %s;", targetString); + "TEX cs00, tc00, texture[0], %s;", targetString); ok &= addDataOpToFunctionData (data, - "TEX cs01, cs01, texture[0], %s;", targetString); + "TEX cs01, tc01, texture[0], %s;", targetString); ok &= addDataOpToFunctionData (data, - "TEX cs10, cs10, texture[0], %s;", targetString); + "TEX cs10, tc10, texture[0], %s;", targetString); ok &= addDataOpToFunctionData (data, - "TEX cs11, cs11, texture[0], %s;", targetString); + "TEX cs11, tc11, texture[0], %s;", targetString); ok &= addDataOpToFunctionData (data, "LRP cs00, hgY.z, cs00, cs01;"); ok &= addDataOpToFunctionData (data, "LRP cs10, hgY.z, cs10, cs11;");