HLSL: Emit the OpSource HLSL instruction for HLSL, using new headers.
This commit is contained in:
parent
7962bda334
commit
6fa17641b5
214 changed files with 611 additions and 433 deletions
|
|
@ -920,7 +920,7 @@ bool TIntermediate::canImplicitlyPromote(TBasicType from, TBasicType to, TOperat
|
|||
case EbtUint:
|
||||
switch (from) {
|
||||
case EbtInt:
|
||||
return version >= 400;
|
||||
return version >= 400 || (source == EShSourceHlsl);
|
||||
case EbtUint:
|
||||
return true;
|
||||
case EbtBool:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue