Re: d3dcompiler_43/tests: fixed nonconformant C string literals in HLSL test suite
5 Jan
2011
5 Jan
'11
9 a.m.
On 4 January 2011 22:25, Travis Athougies <iammisc(a)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.
5458
Age (days ago)
5458
Last active (days ago)
0 comments
1 participants
participants (1)
-
Henri Verbeet