1. 26 Nov, 2018 2 commits
    • Implement GL_EXT_fragment_invocation_density · 5154db51
      Daniel Koch authored
      including SPV generation using SPV_EXT_fragment_invocation_density.
      This is an alias of the functionality in SPV_NV_shading_rate, and thus in some
      cases we can only have one set of the tokens present (switch statements), so
      we have picked the EXT version. This required updating the expected test
      results for SPV_NV_shading_rate.
      
      Also updated the known-good for spirv-headers so that the validator in
      spirv-tools knows about the new extension.
      
      
      
      
      
      
  2. 25 Nov, 2018 1 commit
  3. 21 Nov, 2018 1 commit
  4. 16 Nov, 2018 6 commits
  5. 15 Nov, 2018 5 commits
  6. 14 Nov, 2018 7 commits
  7. 13 Nov, 2018 2 commits
  8. 12 Nov, 2018 5 commits
  9. 09 Nov, 2018 2 commits
  10. 08 Nov, 2018 3 commits
  11. 07 Nov, 2018 2 commits
  12. 06 Nov, 2018 1 commit
  13. 02 Nov, 2018 3 commits
    • Merge pull request #1559 from jeffbolznv/glslang_pch · 1c1c2d64
      John Kessenich authored
      Use precompiled headers for some glslang projects (MSVC-only)
    • Merge pull request #1557 from nicebyte/spec-const-decorations · cdf7a85b
      John Kessenich authored
      Add names for composite spec constants in SPIR-V
    • Add names for composite constants in SPIR-V · 4c9876b3
      Grigory Dzhavadyan authored
      Consider the following code:
      
          layout(constant_id=0) const int Y = 1;
          layout(constant_id=1) const int Z = 2;
          layout(constant_id=3) const int X = Y + Z;
      
      Previously, it would produce SPIR-V decorations like this:
      
          Decorate 21(Y) SpecId 1
          Decorate 22 SpecId 3
          Decorate 33(Z) SpecId 0
      
      This seems inaccurate, since the spec constant `X` that is dependent on
      the two others did not get a name in the SPIR-V decorations. This behavior
      may potentially negatively affect shader introspection capabilities.
      
      This change alters the behavior to always add a name, which results in the code
      above producing the following decorations:
      
          Decorate 21(Y) SpecId 1
          Decorate 22(X) SpecId 3
          Decorate 33(Z) SpecId 0