WIP: HLSL: add f16tof32 and f32tof16 decompositions.

This commit is contained in:
steve-lunarg
2017-02-27 13:09:32 -07:00
parent 42e33c9bec
commit 86b510efd1
7 changed files with 1079 additions and 177 deletions

View File

@@ -0,0 +1,29 @@
uint PixelShaderFunctionS(float inF0)
{
return f32tof16(inF0);
}
uint1 PixelShaderFunction1(float1 inF0)
{
return f32tof16(inF0);
}
uint2 PixelShaderFunction2(float2 inF0)
{
return f32tof16(inF0);
}
uint3 PixelShaderFunction3(float3 inF0)
{
return f32tof16(inF0);
}
uint4 PixelShaderFunction(float4 inF0)
{
return f32tof16(inF0);
}
float4 main() : SV_Target0
{
return 0;
}