HLSL specific options.
These are ignored if the source language is GLSL.
Variables
optionalfunctionality1:Null<Bool>
Whether the compiler should enable extension SPV_GOOGLE_hlsl_functionality1
.
Defaults to false
.
optionalioMapping:Null<Bool>
Whether the compiler should use HLSL IO mapping rules for bindings.
Defaults to false
.
optionalregisterSetAndBinding:Null<Map<String, {set:String, binding:String}>>
Sets a descriptor set and binding for an HLSL register in the given stage.
optionalregisterSetAndBindingForStage:Null<Map<Kind, Map<String, {set:String, binding:String}>>>
Sets a descriptor set and binding for an HLSL register for all stages.