Merge pull request #357 from steve-lunarg/intrinsics
HLSL: Add asdouble, fma, & mad intrinsics
This commit is contained in:
commit
187254b92c
13 changed files with 810 additions and 745 deletions
|
|
@ -524,6 +524,7 @@ enum TOperator {
|
|||
EOpF16tof32, // HLSL conversion: half of an UnpackHalf2x16
|
||||
EOpLit, // HLSL lighting coefficient vector
|
||||
EOpTextureBias, // HLSL texture bias: will be lowered to EOpTexture
|
||||
EOpAsDouble, // slightly different from EOpUint64BitsToDouble
|
||||
};
|
||||
|
||||
class TIntermTraverser;
|
||||
|
|
|
|||
|
|
@ -368,8 +368,8 @@ bool DeduceVersionProfile(TInfoSink& infoSink, EShLanguage stage, bool versionNo
|
|||
bool correct = true;
|
||||
|
||||
if (source == EShSourceHlsl) {
|
||||
version = 450; // TODO: GLSL parser is still used for builtins.
|
||||
profile = ENoProfile;
|
||||
version = 450; // TODO: GLSL parser is still used for builtins.
|
||||
profile = ECoreProfile; // allow doubles in prototype parsing
|
||||
return correct;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue