зеркало из https://github.com/AvaloniaUI/angle.git
Fix matrix by matrix multiplication
TRAC #11751 Signed-off-by: Shannon Woods Signed-off-by: Daniel Koch Author: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/trunk@187 736b8ea6-26fd-11df-bfd4-992fa37f6226
This commit is contained in:
Родитель
eab1ef126b
Коммит
69f084b1b7
|
@ -950,7 +950,7 @@ bool OutputHLSL::visitBinary(Visit visit, TIntermBinary *node)
|
|||
case EOpMatrixTimesScalar: outputTriplet(visit, "(", " * ", ")"); break;
|
||||
case EOpVectorTimesMatrix: outputTriplet(visit, "mul(", ", transpose(", "))"); break;
|
||||
case EOpMatrixTimesVector: outputTriplet(visit, "mul(transpose(", "), ", ")"); break;
|
||||
case EOpMatrixTimesMatrix: outputTriplet(visit, "mul(", ", ", ")"); break;
|
||||
case EOpMatrixTimesMatrix: outputTriplet(visit, "transpose(mul(transpose(", "), transpose(", ")))"); break;
|
||||
case EOpLogicalOr: outputTriplet(visit, "(", " || ", ")"); break;
|
||||
case EOpLogicalXor: outputTriplet(visit, "xor(", ", ", ")"); break;
|
||||
case EOpLogicalAnd: outputTriplet(visit, "(", " && ", ")"); break;
|
||||
|
|
Загрузка…
Ссылка в новой задаче