Skip to content
Snippets Groups Projects
  1. Nov 10, 2018
    • Alejandro Piñeiro's avatar
      ParseHelper: assign global XfbBuffer to a block missing it · adba7dfc
      Alejandro Piñeiro authored
      If a block has assigned a XfbOffset it is assumed that it would
      inherit the current global XfbBuffer. This commit fixes two use cases:
      
      1) Getting the members of a Block with a XfbOffset to be assigned an
         offset, as explained on GLSL 4.60 spec, section "4.4.2 Output
         Layout Qualifiers", subsection "Transform Feedback Layout
         Qualifiers".
      
      2) Compute properly an error on overlapping ranges if a block is
         assigned a XfbOffset and one of it members is assigned a explicit
         one. This gets working because when the members of a block get
         assigned a Offset/Buffer at fixBlockXfbOffsets, then the block is
         deassigned the Offsets, so ranges are computed only with the block
         members.
      
      BTW, this is already done when redeclaring block builtins.
      
      Fixes #1535
      adba7dfc
  2. Nov 09, 2018
  3. Nov 08, 2018
  4. Nov 07, 2018
  5. Nov 06, 2018
  6. Nov 02, 2018
    • John Kessenich's avatar
      Merge pull request #1559 from jeffbolznv/glslang_pch · 1c1c2d64
      John Kessenich authored
      Use precompiled headers for some glslang projects (MSVC-only)
      1c1c2d64
    • John Kessenich's avatar
      Merge pull request #1557 from nicebyte/spec-const-decorations · cdf7a85b
      John Kessenich authored
      Add names for composite spec constants in SPIR-V
      cdf7a85b
    • Grigory Dzhavadyan's avatar
      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
      4c9876b3
  7. Oct 31, 2018
  8. Oct 30, 2018
  9. Oct 29, 2018
  10. Oct 26, 2018
  11. Oct 25, 2018
  12. Oct 24, 2018
  13. Oct 22, 2018
  14. Oct 21, 2018
  15. Oct 20, 2018
  16. Oct 17, 2018
  17. Oct 16, 2018
  18. Oct 10, 2018
  19. Oct 05, 2018
Loading