Skip to content

Commit

Permalink
Update Vulkan-Headers to 1.3.254
Browse files Browse the repository at this point in the history
  • Loading branch information
MarijnS95 committed Jun 16, 2023
1 parent 6242840 commit ce5f822
Show file tree
Hide file tree
Showing 7 changed files with 580 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- Added `Handle::is_null()` to allow checking if a handle is a `NULL` value (#694)
- Allow building `Entry`/`Instance`/`Device` from handle+fns (see their `from_parts_1_x()` associated functions) (#748)
- Update Vulkan-Headers to 1.3.253 (#760)
- Update Vulkan-Headers to 1.3.254 (#760)

### Changed

Expand Down
2 changes: 1 addition & 1 deletion ash/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ash"
version = "0.37.0+1.3.253"
version = "0.37.0+1.3.254"
authors = [
"Maik Klein <[email protected]>",
"Benjamin Saunders <[email protected]>",
Expand Down
35 changes: 35 additions & 0 deletions ash/src/vk/const_debugs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1129,6 +1129,23 @@ impl fmt::Debug for DependencyFlags {
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for DepthBiasRepresentationEXT {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
let name = match *self {
Self::LEAST_REPRESENTABLE_VALUE_FORMAT => Some("LEAST_REPRESENTABLE_VALUE_FORMAT"),
Self::LEAST_REPRESENTABLE_VALUE_FORCE_UNORM => {
Some("LEAST_REPRESENTABLE_VALUE_FORCE_UNORM")
}
Self::FLOAT => Some("FLOAT"),
_ => None,
};
if let Some(x) = name {
f.write_str(x)
} else {
self.0.fmt(f)
}
}
}
impl fmt::Debug for DescriptorBindingFlags {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[
Expand Down Expand Up @@ -1761,6 +1778,10 @@ impl fmt::Debug for ExternalMemoryHandleTypeFlags {
ExternalMemoryHandleTypeFlags::RDMA_ADDRESS_NV.0,
"RDMA_ADDRESS_NV",
),
(
ExternalMemoryHandleTypeFlags::SCREEN_BUFFER_QNX.0,
"SCREEN_BUFFER_QNX",
),
];
debug_flags(f, KNOWN, self.0)
}
Expand Down Expand Up @@ -5434,6 +5455,11 @@ impl fmt::Debug for StructureType {
Self::RENDER_PASS_TRANSFORM_BEGIN_INFO_QCOM => {
Some("RENDER_PASS_TRANSFORM_BEGIN_INFO_QCOM")
}
Self::PHYSICAL_DEVICE_DEPTH_BIAS_CONTROL_FEATURES_EXT => {
Some("PHYSICAL_DEVICE_DEPTH_BIAS_CONTROL_FEATURES_EXT")
}
Self::DEPTH_BIAS_INFO_EXT => Some("DEPTH_BIAS_INFO_EXT"),
Self::DEPTH_BIAS_REPRESENTATION_INFO_EXT => Some("DEPTH_BIAS_REPRESENTATION_INFO_EXT"),
Self::PHYSICAL_DEVICE_DEVICE_MEMORY_REPORT_FEATURES_EXT => {
Some("PHYSICAL_DEVICE_DEVICE_MEMORY_REPORT_FEATURES_EXT")
}
Expand Down Expand Up @@ -5972,6 +5998,15 @@ impl fmt::Debug for StructureType {
Self::PHYSICAL_DEVICE_ATTACHMENT_FEEDBACK_LOOP_DYNAMIC_STATE_FEATURES_EXT => {
Some("PHYSICAL_DEVICE_ATTACHMENT_FEEDBACK_LOOP_DYNAMIC_STATE_FEATURES_EXT")
}
Self::SCREEN_BUFFER_PROPERTIES_QNX => Some("SCREEN_BUFFER_PROPERTIES_QNX"),
Self::SCREEN_BUFFER_FORMAT_PROPERTIES_QNX => {
Some("SCREEN_BUFFER_FORMAT_PROPERTIES_QNX")
}
Self::IMPORT_SCREEN_BUFFER_INFO_QNX => Some("IMPORT_SCREEN_BUFFER_INFO_QNX"),
Self::EXTERNAL_FORMAT_QNX => Some("EXTERNAL_FORMAT_QNX"),
Self::PHYSICAL_DEVICE_EXTERNAL_MEMORY_SCREEN_BUFFER_FEATURES_QNX => {
Some("PHYSICAL_DEVICE_EXTERNAL_MEMORY_SCREEN_BUFFER_FEATURES_QNX")
}
Self::PHYSICAL_DEVICE_SUBGROUP_PROPERTIES => {
Some("PHYSICAL_DEVICE_SUBGROUP_PROPERTIES")
}
Expand Down
Loading

0 comments on commit ce5f822

Please sign in to comment.