pub fn spirv_to_dxil(
    spirv_words: &[u32],
    specializations: Option<&[Specialization]>,
    entry_point: impl AsRef<str>,
    stage: ShaderStage,
    validator_version_max: ValidatorVersion,
    runtime_conf: &RuntimeConfig
) -> Result<DxilObject, SpirvToDxilError>
Expand description

Compile SPIR-V words to a DXIL blob.

If validator_version is not None, then dxil.dll must be in the load path to output a valid blob,

If validator_version is none, validation will be skipped and the resulting blobs will be fakesigned.