Skip to content
Snippets Groups Projects
  1. Mar 26, 2018
    • John Kessenich's avatar
      Types: Fix #1290: Rationalize and correct "mixed" style array dimensioning. · 859b0342
      John Kessenich authored
      There a couple functional problems, which when reduced down also led to
      some good simplifications and rationalization.  So, this commit:
       - corrects "mixed" functionality: int[A] f[B] -> f[B][A]
       - correct multi-identifier decls: int[A] f[B], g[C] -> f and g are independently sized.
       - increases symmetry between different places in the code that do this
       - makes fewer ways to do the same thing; several methods are just gone now
       - makes more clear when something is copied or shared
      859b0342
  2. Mar 25, 2018
  3. Mar 23, 2018
  4. Mar 21, 2018
  5. Mar 19, 2018
  6. Mar 17, 2018
  7. Mar 16, 2018
  8. Mar 14, 2018
  9. Mar 13, 2018
    • Daniel Koch's avatar
      Fix build several build errors · bfe09521
      Daniel Koch authored
      glslang/SPIRV/SpvBuilder.cpp:2533:27: error: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Werror,-Wsign-compare]
              for (int c = 0; c < accessChain.swizzle.size(); ++c)
                              ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~
      1 error generated.
      
      glslang/hlsl/hlslParseHelper.cpp:69:5: error: field 'cullDistanceInput' will be initialized after field 'clipDistanceOutput' [-Werror,-Wreorder]
          cullDistanceInput(nullptr),
          ^
      1 error generated.
      
      glslang/glslang/MachineIndependent/attribute.cpp:85:16: error: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Werror,-Wsign-compare]
          if (argNum >= args->getSequence().size())
              ~~~~~~ ^  ~~~~~~~~~~~~~~~~~~~~~~~~~~
      1 error generated.
      bfe09521
    • John Kessenich's avatar
      Merge pull request #1293 from baldurk/remove-en-dash · 3e2a3c46
      John Kessenich authored
      Replace en-dash with simple ASCII hyphen
    • Baldur Karlsson's avatar
      Replace en-dash with simple ASCII hyphen · 34cd7630
      Baldur Karlsson authored
      * This means the source file is ASCII instead of (assumed) UTF-8 and
        doesn't cause warnings when compiling on non-western codepages.
      34cd7630
    • Ben Clayton's avatar
    • Neil Roberts's avatar
      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
      eddb1318
  10. Mar 12, 2018
  11. Mar 11, 2018
  12. Mar 10, 2018
  13. Mar 08, 2018
  14. Mar 07, 2018
Loading