mirror of
https://github.com/vulkano-rs/vulkano.git
synced 2024-11-25 08:14:20 +00:00
Add CapabilityDrawParameters (#1587)
This commit is contained in:
parent
2b7956be74
commit
c09a46dea3
@ -522,6 +522,9 @@ fn capability_requirement(cap: &Capability) -> DeviceRequirement {
|
||||
DeviceRequirement::Features(&["shader_storage_image_write_without_format"])
|
||||
}
|
||||
Capability::CapabilityMultiViewport => DeviceRequirement::Features(&["multi_viewport"]),
|
||||
Capability::CapabilityDrawParameters => {
|
||||
DeviceRequirement::Features(&["shader_draw_parameters"])
|
||||
}
|
||||
Capability::CapabilityStorageUniformBufferBlock16 => {
|
||||
DeviceRequirement::Extensions(&["khr_16bit_storage"])
|
||||
}
|
||||
|
@ -547,6 +547,7 @@ enumeration! {
|
||||
CapabilityStorageImageReadWithoutFormat = 55,
|
||||
CapabilityStorageImageWriteWithoutFormat = 56,
|
||||
CapabilityMultiViewport = 57,
|
||||
CapabilityDrawParameters = 4427,
|
||||
CapabilityStorageUniformBufferBlock16 = 4433,
|
||||
CapabilityStorageUniform16 = 4434,
|
||||
CapabilityStoragePushConstant16 = 4435,
|
||||
|
Loading…
Reference in New Issue
Block a user