Crate rspirv_reflect

Crate rspirv_reflect 

Source
Expand description

Basic SPIR-V reflection library to extract binding information

let info = rspirv_reflect::Reflection::new_from_spirv(&spirv_blob).expect("Invalid SPIR-V");
dbg!(info.get_descriptor_sets().expect("Failed to extract descriptor bindings"));

Re-exports§

pub use rspirv;
pub use rspirv::spirv;

Structs§

DescriptorInfo
DescriptorType
These are bit-exact with ash and the Vulkan specification, they’re mirrored here to prevent a dependency on ash
PushConstantInfo
Reflection

Enums§

BindingCount
ReflectError