Rename feature shader_f3264 to shader_float64 (#1440)

Fixes shader_f3264 device feature name
This commit is contained in:
Cassiano Honorio da Silva 2020-11-23 07:34:02 -03:00 committed by GitHub
parent 4ebc2c8211
commit 620b829bdb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 8 additions and 4 deletions

View File

@ -7,6 +7,9 @@
+ `PhysicalDevice16BitStorageFeatures`
+ `PhysicalDeviceShaderFloat16Int8Features`
- Fix feature name in `PhysicalDeviceFeatures`:
+ Rename `shaderf3264` to `shaderFloat64`
# Version 0.5.2 (2020-06-01)
- Added support for the physical storage buffer access.

View File

@ -13,6 +13,7 @@
- Added `debug_marker_begin`, `debug_marker_end` and `debug_marker_insert` to `AutoCommandBufferBuilder`.
- Fixed surface creation function on Windows(PR #1410).
- Travis CI Linux Nightly job temporary disabled until #1423 resolved.
- Renamed feature from `shader_f3264` to `shader_float64`.
# Version 0.19.0 (2020-06-01)

View File

@ -1169,7 +1169,7 @@ pub struct PhysicalDeviceFeatures {
pub shaderStorageImageArrayDynamicIndexing: Bool32,
pub shaderClipDistance: Bool32,
pub shaderCullDistance: Bool32,
pub shaderf3264: Bool32,
pub shaderFloat64: Bool32,
pub shaderInt64: Bool32,
pub shaderInt16: Bool32,
pub shaderResourceResidency: Bool32,

View File

@ -373,7 +373,7 @@ fn capability_requirement(cap: &Capability) -> DeviceRequirement {
Capability::CapabilityVector16 => panic!(), // not supported
Capability::CapabilityFloat16Buffer => panic!(), // not supported
Capability::CapabilityFloat16 => panic!(), // not supported
Capability::CapabilityFloat64 => DeviceRequirement::Features(&["shader_f3264"]),
Capability::CapabilityFloat64 => DeviceRequirement::Features(&["shader_float64"]),
Capability::CapabilityInt64 => DeviceRequirement::Features(&["shader_int64"]),
Capability::CapabilityInt64Atomics => panic!(), // not supported
Capability::CapabilityImageBasic => panic!(), // not supported

View File

@ -242,7 +242,7 @@ pub struct Features {
pub shader_storage_image_array_dynamic_indexing: bool,
pub shader_clip_distance: bool,
pub shader_cull_distance: bool,
pub shader_f3264: bool,
pub shader_float64: bool,
pub shader_int64: bool,
pub shader_int16: bool,
pub shader_resource_residency: bool,
@ -479,7 +479,7 @@ features! {
core { shader_storage_image_array_dynamic_indexing => shaderStorageImageArrayDynamicIndexing },
core { shader_clip_distance => shaderClipDistance },
core { shader_cull_distance => shaderCullDistance },
core { shader_f3264 => shaderf3264 },
core { shader_float64 => shaderFloat64 },
core { shader_int64 => shaderInt64 },
core { shader_int16 => shaderInt16 },
core { shader_resource_residency => shaderResourceResidency },