d3dcompiler_43/tests: fixed nonconformant C string literals in HLSL test suite

Henri Verbeet hverbeet at gmail.com
Wed Jan 5 03:00:38 CST 2011


On 4 January 2011 22:25, Travis Athougies <iammisc at gmail.com> wrote:
> +        "float4 test(float x: TEXCOORD0): COLOR"
> +        "{"
> +        "    const float pi2 = 6.2831853;"
> +        "    float calcd_sin = (sin(x * pi2) + 1)/2;"
> +        "    float calcd_cos = (cos(x * pi2) + 1)/2;"
> +        "    return float4(calcd_sin, calcd_cos, 0, 0);"
> +        "}";
Some newlines probably wouldn't hurt.




More information about the wine-devel mailing list