mirror of
https://github.com/vulkano-rs/vulkano.git
synced 2025-02-16 09:02:25 +00:00
Add 8-bit push constant support to vulkano-shaders (#1544)
This commit is contained in:
parent
bb51359d32
commit
cbd915b107
@ -33,8 +33,9 @@
|
||||
- Better documentation of everything in the `query` module.
|
||||
- An example demonstrating occlusion queries.
|
||||
- The deprecated `cause` trait function on Vulkano error types is replaced with `source`.
|
||||
- Vulkano-shaders: Fixed and refined the generation of the `readonly` descriptor attribute. It should now correctly mark uniforms and sampled images as read-only, but storage buffers and images only if explicitly marked as `readonly` in the shader.
|
||||
- Fixed bug in descriptor array layers check when the image is a cubemap.
|
||||
- Vulkano-shaders: Fixed and refined the generation of the `readonly` descriptor attribute. It should now correctly mark uniforms and sampled images as read-only, but storage buffers and images only if explicitly marked as `readonly` in the shader.
|
||||
- Vulkano-shaders: Added support for StoragePushConstant8 SPIR-V capability.
|
||||
|
||||
# Version 0.22.0 (2021-03-31)
|
||||
|
||||
|
@ -503,6 +503,9 @@ fn capability_requirement(cap: &Capability) -> DeviceRequirement {
|
||||
Capability::CapabilityStorageInputOutput8 => {
|
||||
DeviceRequirement::Extensions(&["khr_8bit_storage"])
|
||||
}
|
||||
Capability::CapabilityStoragePushConstant8 => {
|
||||
DeviceRequirement::Extensions(&["khr_8bit_storage"])
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -552,5 +552,6 @@ enumeration! {
|
||||
CapabilityStoragePushConstant16 = 4435,
|
||||
CapabilityStorageInputOutput16 = 4436,
|
||||
CapabilityStorageInputOutput8 = 4448,
|
||||
CapabilityStoragePushConstant8 = 4450,
|
||||
} Capability;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user