pub unsafe fn create_persistent_layout(
device: VkDevice,
max_bindings: u32,
) -> Result<VkDescriptorSetLayout, IcdError>Expand description
Create Set0 layout for storage buffers
ยงSafety
This function is unsafe because:
- The device must be a valid VkDevice handle
- Calls vkCreateDescriptorSetLayout through ICD function pointer
- The returned layout must be destroyed with vkDestroyDescriptorSetLayout
- Invalid device handle will cause undefined behavior
- The ICD must be properly initialized with valid function pointers