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
|
|
@ -338,8 +338,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