Open yeetari opened 3 years ago
Maybe change title to "refactoring" or "improvements", otherwise people might think it's about actual reflection in rendering :D
I think I will take over this pull request and implement it based on spirv-cross
. I mentioned on Discord already that I don't see much sense in writing the shader reflection code ourselves, even though spirv-cross might be more massive of a library than we need :) Also, it looks like it's being tested and maintained continuously.
This PR introduces SPIR-V reflection to parse the execution stage and push constant size from each shader. We can take this further and extract more things like descriptor set layouts in the future.