Skip to content
Snippets Groups Projects
  1. Nov 02, 2018
    • 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
  2. Oct 29, 2018
  3. Oct 26, 2018
  4. Oct 25, 2018
  5. Oct 24, 2018
  6. Oct 22, 2018
  7. Oct 21, 2018
  8. Oct 20, 2018
  9. Oct 17, 2018
  10. Oct 16, 2018
  11. Oct 10, 2018
  12. Oct 05, 2018
  13. Oct 04, 2018
    • Sahil Parmar's avatar
      Allow redeclaration of builtin interface blocks in mesh shader · 035cbbe3
      Sahil Parmar authored
      Apart from allowing redeclaration of gl_MeshPerVertexNV and gl_MeshPerPrimitiveNV blocks, this change also -
      - Resize clip/cull perview distances based on static index use
      - Error out use of both single-view and per-view builtins
      - Add new gtests with redeclared blocks and edit existing test output
      - Fix couple of typos
      035cbbe3
  14. Oct 03, 2018
  15. Oct 02, 2018
  16. Sep 28, 2018
  17. Sep 27, 2018
  18. Sep 26, 2018
Loading