Skip to content

Commit

Permalink
Update Vulkan-Headers to 1.3.262
Browse files Browse the repository at this point in the history
  • Loading branch information
MarijnS95 committed Aug 25, 2023
1 parent 991d328 commit d3afa9b
Show file tree
Hide file tree
Showing 8 changed files with 486 additions and 5 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.261 (#760, #763, #783)
- Update Vulkan-Headers to 1.3.262 (#760, #763, #783)
- Added `VK_NV_memory_decompression` device extension (#761)
- Added `VK_GOOGLE_display_timing` device extension (#765)
- Added `VK_ANDROID_external_memory_android_hardware_buffer` device extension (#769)
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.261"
version = "0.37.0+1.3.262"
authors = [
"Maik Klein <maikklein@googlemail.com>",
"Benjamin Saunders <ben.e.saunders@gmail.com>",
Expand Down
56 changes: 56 additions & 0 deletions ash/src/vk/const_debugs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -484,6 +484,20 @@ impl fmt::Debug for BlendOverlapEXT {
}
}
}
impl fmt::Debug for BlockMatchWindowCompareModeQCOM {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
let name = match *self {
Self::MIN => Some("MIN"),
Self::MAX => Some("MAX"),
_ => None,
};
if let Some(x) = name {
f.write_str(x)
} else {
self.0.fmt(f)
}
}
}
impl fmt::Debug for BorderColor {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
let name = match *self {
Expand Down Expand Up @@ -1086,6 +1100,22 @@ impl fmt::Debug for CoverageReductionModeNV {
}
}
}
impl fmt::Debug for CubicFilterWeightsQCOM {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
let name = match *self {
Self::CATMULL_ROM => Some("CATMULL_ROM"),
Self::ZERO_TANGENT_CARDINAL => Some("ZERO_TANGENT_CARDINAL"),
Self::B_SPLINE => Some("B_SPLINE"),
Self::MITCHELL_NETRAVALI => Some("MITCHELL_NETRAVALI"),
_ => None,
};
if let Some(x) = name {
f.write_str(x)
} else {
self.0.fmt(f)
}
}
}
impl fmt::Debug for CullModeFlags {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[
Expand Down Expand Up @@ -4473,6 +4503,7 @@ impl fmt::Debug for SamplerReductionMode {
Self::WEIGHTED_AVERAGE => Some("WEIGHTED_AVERAGE"),
Self::MIN => Some("MIN"),
Self::MAX => Some("MAX"),
Self::WEIGHTED_AVERAGE_RANGECLAMP_QCOM => Some("WEIGHTED_AVERAGE_RANGECLAMP_QCOM"),
_ => None,
};
if let Some(x) = name {
Expand Down Expand Up @@ -6278,6 +6309,31 @@ impl fmt::Debug for StructureType {
Self::MULTIVIEW_PER_VIEW_RENDER_AREAS_RENDER_PASS_BEGIN_INFO_QCOM => {
Some("MULTIVIEW_PER_VIEW_RENDER_AREAS_RENDER_PASS_BEGIN_INFO_QCOM")
}
Self::PHYSICAL_DEVICE_IMAGE_PROCESSING_2_FEATURES_QCOM => {
Some("PHYSICAL_DEVICE_IMAGE_PROCESSING_2_FEATURES_QCOM")
}
Self::PHYSICAL_DEVICE_IMAGE_PROCESSING_2_PROPERTIES_QCOM => {
Some("PHYSICAL_DEVICE_IMAGE_PROCESSING_2_PROPERTIES_QCOM")
}
Self::SAMPLER_BLOCK_MATCH_WINDOW_CREATE_INFO_QCOM => {
Some("SAMPLER_BLOCK_MATCH_WINDOW_CREATE_INFO_QCOM")
}
Self::SAMPLER_CUBIC_WEIGHTS_CREATE_INFO_QCOM => {
Some("SAMPLER_CUBIC_WEIGHTS_CREATE_INFO_QCOM")
}
Self::PHYSICAL_DEVICE_CUBIC_WEIGHTS_FEATURES_QCOM => {
Some("PHYSICAL_DEVICE_CUBIC_WEIGHTS_FEATURES_QCOM")
}
Self::BLIT_IMAGE_CUBIC_WEIGHTS_INFO_QCOM => Some("BLIT_IMAGE_CUBIC_WEIGHTS_INFO_QCOM"),
Self::PHYSICAL_DEVICE_YCBCR_DEGAMMA_FEATURES_QCOM => {
Some("PHYSICAL_DEVICE_YCBCR_DEGAMMA_FEATURES_QCOM")
}
Self::SAMPLER_YCBCR_CONVERSION_YCBCR_DEGAMMA_CREATE_INFO_QCOM => {
Some("SAMPLER_YCBCR_CONVERSION_YCBCR_DEGAMMA_CREATE_INFO_QCOM")
}
Self::PHYSICAL_DEVICE_CUBIC_CLAMP_FEATURES_QCOM => {
Some("PHYSICAL_DEVICE_CUBIC_CLAMP_FEATURES_QCOM")
}
Self::PHYSICAL_DEVICE_ATTACHMENT_FEEDBACK_LOOP_DYNAMIC_STATE_FEATURES_EXT => {
Some("PHYSICAL_DEVICE_ATTACHMENT_FEEDBACK_LOOP_DYNAMIC_STATE_FEATURES_EXT")
}
Expand Down
Loading

0 comments on commit d3afa9b

Please sign in to comment.