jeudi 14 janvier 2021

DirectXShaderCompiler and SPIR-V Reflection

We can use the DirectXShaderCompiler (DXC) API to compile HLSL code and do reflection on the created output - as described, for example, in this or this blog post.

Now, it seems like (please correct me if I'm wrong) the whole DXC API is poorly documented.

And that's why the following is not clear to me: If I compile my HLSL code into a SPIR-V binary (by passing the -spirv argument to IDxcCompiler::Compile), can I do reflection on the output using the DXC API itself or do I need to use another API, like SPIR-V Reflect, for that purpose?





Aucun commentaire:

Enregistrer un commentaire