Closed msiglreith closed 4 years ago
Is this different than providing it in the recently added entry_point
field in CompilerOptions
? https://github.com/grovesNL/spirv_cross/blob/a02b721e84817ca44b8626cf224b3ec54b9b556c/spirv_cross/src/hlsl.rs#L79-L81
In the HLSL tests there's an example that already contains entry points named main_vs
and main_fs
, so it seems like this should already work?
nope, just saw it 😅
This is required for dx12 to support SPIR-V modules with multiple entrypoints and non-
main
entrypoints