Skip to content
Snippets Groups Projects
  1. Nov 26, 2018
    • Neil Henning's avatar
      Add conversion folding when the source is a constant. · 81a63f1d
      Neil Henning authored
      This change adds unary conversion folding when the source is a constant.
      This fixes an ISV issue whereby:
      
      ```
      const float16_t f = float16_t(42.0);
      ```
      
      Wouldn't compile because the conversion operator would always produce an
      EvqTemporary when it could have produced an EvqConst.
      
      I've also added a test case that proves out that all basic-type to
      basic-type conversions work.
      81a63f1d
  2. Nov 25, 2018
  3. Nov 21, 2018
  4. Nov 16, 2018
  5. Nov 15, 2018
  6. Nov 14, 2018
  7. Nov 13, 2018
  8. Nov 12, 2018
  9. Nov 09, 2018
  10. Nov 08, 2018
  11. Nov 07, 2018
  12. Nov 06, 2018
  13. 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
  14. Oct 31, 2018
Loading