public void Execute() { buffer1[0] = float.NaN; buffer1[1] = float.PositiveInfinity; buffer1[2] = float.NegativeInfinity; buffer1[3] = Hlsl.IsNaN(buffer1[0]) ? 1 : 0; buffer1[4] = Hlsl.IsInfinite(buffer1[1]) ? 1 : 0; buffer1[5] = Hlsl.IsInfinite(buffer1[2]) ? 1 : 0; buffer1[6] = float1; buffer1[7] = float2; buffer1[8] = float3; buffer1[9] = Hlsl.IsNaN(buffer1[6]) ? 1 : 0; buffer1[10] = Hlsl.IsInfinite(buffer1[7]) ? 1 : 0; buffer1[11] = Hlsl.IsInfinite(buffer1[8]) ? 1 : 0; buffer2[0] = double.NaN; buffer2[1] = double.PositiveInfinity; buffer2[2] = double.NegativeInfinity; buffer2[3] = double1; buffer2[4] = double2; buffer2[5] = double3; }