Add asdouble, fma, & mad intrinsics and change profile to allow doubles when parsing prototypes
This commit is contained in:
parent
e5a807276f
commit
1b7fd0f7b7
13 changed files with 810 additions and 745 deletions
11
Test/hlsl.intrinsics.double.frag
Normal file
11
Test/hlsl.intrinsics.double.frag
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
|
||||
float PixelShaderFunction(double inDV1a, double inDV1b, double inDV1c,
|
||||
double2 inDV2, double3 inDV3, double4 inDV4,
|
||||
uint inU1a, uint inU1b)
|
||||
{
|
||||
double r00 = fma(inDV1a, inDV1b, inDV1c);
|
||||
double r01 = asdouble(inU1a, inU1b);
|
||||
|
||||
return 0.0;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue