A System for Rapid Exploration of Shader Optimization Choices




  • Paper topic: Rendering
  • Software type: Code
  • Able to run a replicability test: True
  • Replicability score: 1
  • Software language: C/C++, Shader language
  • License: MIT
  • Build mechanism: IDE Project (VS,..)
  • Dependencies: DirectX
  • Documentation score {0,1,2}: 1
  • Reviewer: Nicolas Mellado <nmellado0@gmail.com>
  • Time spent for the test (build->first run, timeout at 100min): 20min

Source code information


Needed to add missing directive #include <intrin.h> in hello.cpp to compile.

At runtime, DirectX throws the following error (from hello.cpp:180): 
D3D11 ERROR: ID3D11Device::CreateInputLayout: The provided input signature expects to read an element with SemanticName/Index: 'position'/0, but the declaration doesn't provide a matching name. [ STATE_CREATION ERROR #163: CREATEINPUTLAYOUT_MISSINGELEMENT]

I couldn't debug this error, as I didn't know if the matching problem came from the input spire shader, or from the processes in spire that convert the spire shader to a DirectX shader.

Note that the follow-up Slang (Sigg 2018) is however marked as reproducible.

If you want to contribute with another review, please follow these instructions.

Please consider to cut/paste/edit the raw JSON data attached to this paper.