HLSL: add precise keyword

This commit is contained in:
steve-lunarg
2016-08-24 23:49:36 -06:00
parent fcc0aa3b64
commit 36e87d0871
4 changed files with 119 additions and 0 deletions

14
Test/hlsl.precise.frag Normal file
View File

@@ -0,0 +1,14 @@
struct PS_OUTPUT { precise float4 color : SV_Target0; };
precise float precisefloat;
void MyFunction(in precise float myfloat, out precise float3 myfloat3) { }
PS_OUTPUT main()
{
PS_OUTPUT ps_output;
ps_output.color = 1.0;
return ps_output;
}