HLSL specific options.

These are ignored if the source language is GLSL.

Variables

@:optionaloptionalfunctionality1:Null<Bool>

Whether the compiler should enable extension SPV_GOOGLE_hlsl_functionality1.

Defaults to false.

@:optionaloptionalioMapping:Null<Bool>

Whether the compiler should use HLSL IO mapping rules for bindings.

Defaults to false.

@:optionaloptionalregisterSetAndBinding:Null<Map<String, {set:String, binding:String}>>

Sets a descriptor set and binding for an HLSL register in the given stage.

@:optionaloptionalregisterSetAndBindingForStage:Null<Map<Kind, Map<String, {set:String, binding:String}>>>

Sets a descriptor set and binding for an HLSL register for all stages.