HLSL: Fix #1960: fmod() was not converting int args to float.
This commit is contained in:
parent
f34cdc70ca
commit
e7cb9cb9c4
3 changed files with 6086 additions and 6065 deletions
1
glslang/MachineIndependent/Intermediate.cpp
Normal file → Executable file
1
glslang/MachineIndependent/Intermediate.cpp
Normal file → Executable file
|
|
@ -1129,6 +1129,7 @@ TIntermTyped* TIntermediate::addConversion(TOperator op, const TType& type, TInt
|
|||
case EOpLit:
|
||||
case EOpMax:
|
||||
case EOpMin:
|
||||
case EOpMod:
|
||||
case EOpModf:
|
||||
case EOpPow:
|
||||
case EOpReflect:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue