Hello.
I've been trying to get dxc to compile to SPIRV, stripping reflection infro from the shader and generate reflection info for SPIRV-reflect using a single command like this:
dxc -Qstrip_reflect -spirv -fspv-reflect -fspv-target-env=vulkan1.3 -HV 2021 -T ps_6_7 -Fre reflect/base.frag.ref -Fo bin/base.frag.spv base.frag.hlsl
But instead of two files - one .ref and .spv, I only get the .spv one, with (what it looks like) reflection info in it, as SPIRV-Reflect is able to read the reflection info from it.
I've been trying to do it according to the description in this issue, but wasn't able to and this issue was closed, as the OP was using the SDK and I have to use the commandline.
Any suggestions?
Hello.
I've been trying to get
dxcto compile to SPIRV, stripping reflection infro from the shader and generate reflection info for SPIRV-reflect using a single command like this:But instead of two files - one
.refand.spv, I only get the.spvone, with (what it looks like) reflection info in it, as SPIRV-Reflect is able to read the reflection info from it.I've been trying to do it according to the description in this issue, but wasn't able to and this issue was closed, as the OP was using the SDK and I have to use the commandline.
Any suggestions?