float4 PS(in float4 vPosition : SV_POSITION) : SV_TARGET
{
return float4(f32tof16(1.5), 1.5, 1, 1);
}And finally I looked up the output. The red channel was 0x73c0 (incorrect) and the blue channel 0x3e00 (correct 1.5 representation).
Posted 17 August 2012 - 04:36 AM
float4 PS(in float4 vPosition : SV_POSITION) : SV_TARGET
{
return float4(f32tof16(1.5), 1.5, 1, 1);
}Posted 17 August 2012 - 04:33 AM
Posted 17 August 2012 - 04:33 AM
Posted 17 August 2012 - 04:32 AM
Posted 17 August 2012 - 04:32 AM