HLSL: add precise keyword
This commit is contained in:
14
Test/hlsl.precise.frag
Normal file
14
Test/hlsl.precise.frag
Normal 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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user