Have been using spirv-reflect recently. Awesome library. Way more easy to use than any other spirv library I've found, especially including glslang and spirv-cross. And then I went to reflect some shaders in D3D11 andpic.twitter.com/poPiQOeop0
-
-
Vastauksena käyttäjälle @tloch14
Note that glslang does not include a SPIR-V reflection. It has a GLSL/AST reflection some people use as a proxy for SPIR-V reflection, and then note that it doesn't work very well.
1 vastaus 0 uudelleentwiittausta 0 tykkäystä -
Vastauksena käyttäjälle @johnkslang
I mean that of all the spirv related libs, spirv-reflect was the most straightforward and easy to use. Not that it was a comparable tool to glslang. I use both. Glslang to compile and spirv-reflect to remap/reflect. Also spirv-opt and spirv-cross.
1 vastaus 0 uudelleentwiittausta 0 tykkäystä -
Vastauksena käyttäjille @tloch14 ja @johnkslang
Spirv-reflect is a simple c api and very self-contained. Either drop the h/cpp into your project directly or prop up a small cmake to build a lib in my cmake toolchain. Code is laid out plainly and easy to follow. Same can’t be said of the others.
1 vastaus 0 uudelleentwiittausta 0 tykkäystä
It’s the reason why dear-imgui or the stb libs are so popular and well used. Solve a non-trivial problem and impose as little fuss as possible.
Lataaminen näyttää kestävän hetken.
Twitter saattaa olla ruuhkautunut tai ongelma on muuten hetkellinen. Yritä uudelleen tai käy Twitterin tilasivulla saadaksesi lisätietoja.