ShaderConductor
ShaderConductor copied to clipboard
Expose access to reflection data
Is your feature request related to a problem? Please describe. With the current API it is not possible to get reflection data from built shaders.
Describe the solution you'd like A way of accessing the SPIRV-Cross reflection data (if SPIRV-Cross is used) and DXC reflection data.
Additional context There is an example of how to get DXC reflection data in their tests here, but looks like it's Windows only. SPIRV-Cross has a wiki page for their reflection API.
This will be the major feature in version 0.4. Thanks for reporting!
Is there any progress or plan on this issue? Or should I use something like #45 for now?
The code review of #45 is not finished. Waiting for a change from author. I'll contact him for a revision.
No news from @sunnypchen, right? 😞
I added reflection features to my ShaderConductor fork. It's for SPIRV-Cross. It's very specific to what I need for the MonoGame shader compiler, but it might still be helpful. After all most projects will probably have somewhat similar reflection requirements.
A preliminary dxil reflection is added in 063c0ea6c30698f1e632d82ad425f987b9c7e713