HLSL: Fix #1960: fmod() was not converting int args to float.

This commit is contained in:
John Kessenich 2019-11-12 05:32:51 -07:00
parent f34cdc70ca
commit e7cb9cb9c4
3 changed files with 6086 additions and 6065 deletions

1
glslang/MachineIndependent/Intermediate.cpp Normal file → Executable file
View 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: