1. 13 Mar, 2018 1 commit
    • Use the correct type for the constant for matrix/scalar division · eddb1318
      Neil Roberts authored
      When a matrix is divided by a scalar it tries to take the reciprocal
      of the scalar to convert the operation into a multiply. However it was
      always doing this by making a 32-bit constant. If the scalar is a
      double then this would end up making an FDiv instruction with
      different types in the operands.
      
      This patch adds a helper method called makeFpConstant which makes a
      floating-point constant of the given type. The code to take the
      reciprocal now uses it to make the same type as the result.
      
      Fixes https://github.com/KhronosGroup/glslang/issues/1278
  2. 12 Mar, 2018 4 commits
  3. 11 Mar, 2018 1 commit
  4. 10 Mar, 2018 2 commits
  5. 08 Mar, 2018 4 commits
  6. 07 Mar, 2018 13 commits
  7. 06 Mar, 2018 10 commits
  8. 03 Mar, 2018 5 commits