Skip to content

Commit

Permalink
Update Vulkan-Headers to 1.3.257
Browse files Browse the repository at this point in the history
  • Loading branch information
MarijnS95 committed Jul 11, 2023
1 parent 9d4fdd7 commit a40ddee
Show file tree
Hide file tree
Showing 8 changed files with 31 additions and 94 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.255 (#760, #763)
- Update Vulkan-Headers to 1.3.257 (#760, #763)
- Added `VK_NV_memory_decompression` device extension (#761)

### 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.255"
version = "0.37.0+1.3.257"
authors = [
"Maik Klein <[email protected]>",
"Benjamin Saunders <[email protected]>",
Expand Down
2 changes: 2 additions & 0 deletions ash/src/vk/aliases.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ pub type CopyAccelerationStructureModeNV = CopyAccelerationStructureModeKHR;
pub type AccelerationStructureTypeNV = AccelerationStructureTypeKHR;
pub type GeometryTypeNV = GeometryTypeKHR;
pub type RayTracingShaderGroupTypeNV = RayTracingShaderGroupTypeKHR;
pub type ScopeNV = ScopeKHR;
pub type ComponentTypeNV = ComponentTypeKHR;
pub type TessellationDomainOriginKHR = TessellationDomainOrigin;
pub type SamplerYcbcrModelConversionKHR = SamplerYcbcrModelConversion;
pub type SamplerYcbcrRangeKHR = SamplerYcbcrRange;
Expand Down
43 changes: 2 additions & 41 deletions ash/src/vk/const_debugs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -910,29 +910,6 @@ impl fmt::Debug for ComponentTypeKHR {
}
}
}
impl fmt::Debug for ComponentTypeNV {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
let name = match *self {
Self::FLOAT16 => Some("FLOAT16"),
Self::FLOAT32 => Some("FLOAT32"),
Self::FLOAT64 => Some("FLOAT64"),
Self::SINT8 => Some("SINT8"),
Self::SINT16 => Some("SINT16"),
Self::SINT32 => Some("SINT32"),
Self::SINT64 => Some("SINT64"),
Self::UINT8 => Some("UINT8"),
Self::UINT16 => Some("UINT16"),
Self::UINT32 => Some("UINT32"),
Self::UINT64 => Some("UINT64"),
_ => None,
};
if let Some(x) = name {
f.write_str(x)
} else {
self.0.fmt(f)
}
}
}
impl fmt::Debug for CompositeAlphaFlagsKHR {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[
Expand Down Expand Up @@ -3777,8 +3754,8 @@ impl fmt::Debug for PipelineStageFlags2 {
(PipelineStageFlags2::TASK_SHADER_EXT.0, "TASK_SHADER_EXT"),
(PipelineStageFlags2::MESH_SHADER_EXT.0, "MESH_SHADER_EXT"),
(
PipelineStageFlags2::SUBPASS_SHADING_HUAWEI.0,
"SUBPASS_SHADING_HUAWEI",
PipelineStageFlags2::SUBPASS_SHADER_HUAWEI.0,
"SUBPASS_SHADER_HUAWEI",
),
(
PipelineStageFlags2::INVOCATION_MASK_HUAWEI.0,
Expand Down Expand Up @@ -4332,22 +4309,6 @@ impl fmt::Debug for ScopeKHR {
}
}
}
impl fmt::Debug for ScopeNV {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
let name = match *self {
Self::DEVICE => Some("DEVICE"),
Self::WORKGROUP => Some("WORKGROUP"),
Self::SUBGROUP => Some("SUBGROUP"),
Self::QUEUE_FAMILY => Some("QUEUE_FAMILY"),
_ => None,
};
if let Some(x) = name {
f.write_str(x)
} else {
self.0.fmt(f)
}
}
}
impl fmt::Debug for ScreenSurfaceCreateFlagsQNX {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[];
Expand Down
2 changes: 1 addition & 1 deletion ash/src/vk/definitions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ pub const API_VERSION_1_2: u32 = make_api_version(0, 1, 2, 0);
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VK_API_VERSION_1_3.html>"]
pub const API_VERSION_1_3: u32 = make_api_version(0, 1, 3, 0);
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VK_HEADER_VERSION.html>"]
pub const HEADER_VERSION: u32 = 255;
pub const HEADER_VERSION: u32 = 257;
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VK_HEADER_VERSION_COMPLETE.html>"]
pub const HEADER_VERSION_COMPLETE: u32 = make_api_version(0, 1, 3, HEADER_VERSION);
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkSampleMask.html>"]
Expand Down
47 changes: 0 additions & 47 deletions ash/src/vk/enums.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2053,53 +2053,6 @@ impl MemoryOverallocationBehaviorAMD {
}
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)]
#[repr(transparent)]
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkScopeNV.html>"]
pub struct ScopeNV(pub(crate) i32);
impl ScopeNV {
#[inline]
pub const fn from_raw(x: i32) -> Self {
Self(x)
}
#[inline]
pub const fn as_raw(self) -> i32 {
self.0
}
}
impl ScopeNV {
pub const DEVICE: Self = Self(1);
pub const WORKGROUP: Self = Self(2);
pub const SUBGROUP: Self = Self(3);
pub const QUEUE_FAMILY: Self = Self(5);
}
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)]
#[repr(transparent)]
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkComponentTypeNV.html>"]
pub struct ComponentTypeNV(pub(crate) i32);
impl ComponentTypeNV {
#[inline]
pub const fn from_raw(x: i32) -> Self {
Self(x)
}
#[inline]
pub const fn as_raw(self) -> i32 {
self.0
}
}
impl ComponentTypeNV {
pub const FLOAT16: Self = Self(0);
pub const FLOAT32: Self = Self(1);
pub const FLOAT64: Self = Self(2);
pub const SINT8: Self = Self(3);
pub const SINT16: Self = Self(4);
pub const SINT32: Self = Self(5);
pub const SINT64: Self = Self(6);
pub const UINT8: Self = Self(7);
pub const UINT16: Self = Self(8);
pub const UINT32: Self = Self(9);
pub const UINT64: Self = Self(10);
}
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)]
#[repr(transparent)]
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkFullScreenExclusiveEXT.html>"]
pub struct FullScreenExclusiveEXT(pub(crate) i32);
impl FullScreenExclusiveEXT {
Expand Down
25 changes: 23 additions & 2 deletions ash/src/vk/extensions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11561,6 +11561,27 @@ impl NvCooperativeMatrixFn {
}
}
#[doc = "Generated from 'VK_NV_cooperative_matrix'"]
impl ComponentTypeKHR {
pub const FLOAT16_NV: Self = Self::FLOAT16;
pub const FLOAT32_NV: Self = Self::FLOAT32;
pub const FLOAT64_NV: Self = Self::FLOAT64;
pub const SINT8_NV: Self = Self::SINT8;
pub const SINT16_NV: Self = Self::SINT16;
pub const SINT32_NV: Self = Self::SINT32;
pub const SINT64_NV: Self = Self::SINT64;
pub const UINT8_NV: Self = Self::UINT8;
pub const UINT16_NV: Self = Self::UINT16;
pub const UINT32_NV: Self = Self::UINT32;
pub const UINT64_NV: Self = Self::UINT64;
}
#[doc = "Generated from 'VK_NV_cooperative_matrix'"]
impl ScopeKHR {
pub const DEVICE_NV: Self = Self::DEVICE;
pub const WORKGROUP_NV: Self = Self::WORKGROUP;
pub const SUBGROUP_NV: Self = Self::SUBGROUP;
pub const QUEUE_FAMILY_NV: Self = Self::QUEUE_FAMILY;
}
#[doc = "Generated from 'VK_NV_cooperative_matrix'"]
impl StructureType {
pub const PHYSICAL_DEVICE_COOPERATIVE_MATRIX_FEATURES_NV: Self = Self(1_000_249_000);
pub const COOPERATIVE_MATRIX_PROPERTIES_NV: Self = Self(1_000_249_001);
Expand Down Expand Up @@ -15997,7 +16018,7 @@ impl StructureType {
impl HuaweiSubpassShadingFn {
pub const NAME: &'static ::std::ffi::CStr =
unsafe { ::std::ffi::CStr::from_bytes_with_nul_unchecked(b"VK_HUAWEI_subpass_shading\0") };
pub const SPEC_VERSION: u32 = 2u32;
pub const SPEC_VERSION: u32 = 3u32;
}
#[allow(non_camel_case_types)]
pub type PFN_vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI = unsafe extern "system" fn(
Expand Down Expand Up @@ -16069,7 +16090,7 @@ impl PipelineBindPoint {
}
#[doc = "Generated from 'VK_HUAWEI_subpass_shading'"]
impl PipelineStageFlags2 {
pub const SUBPASS_SHADING_HUAWEI: Self =
pub const SUBPASS_SHADER_HUAWEI: Self =
Self(0b1000_0000_0000_0000_0000_0000_0000_0000_0000_0000);
}
#[doc = "Generated from 'VK_HUAWEI_subpass_shading'"]
Expand Down
2 changes: 1 addition & 1 deletion generator/Vulkan-Headers
Submodule Vulkan-Headers updated 43 files
+0 −1 .github/ISSUE_TEMPLATE/bug_report.md
+0 −1 .github/pull_request_template.md
+16 −3 .github/workflows/linux.yml
+0 −2 BUILD.md
+7 −22 CMakeLists.txt
+1 −1 CONTRIBUTING.md
+23 −2 README.md
+0 −5 cmake/VulkanHeadersConfig.cmake.in
+1 −0 include/vk_video/vulkan_video_codec_h264std.h
+1 −0 include/vk_video/vulkan_video_codec_h264std_decode.h
+1 −0 include/vk_video/vulkan_video_codec_h264std_encode.h
+1 −0 include/vk_video/vulkan_video_codec_h265std.h
+1 −0 include/vk_video/vulkan_video_codec_h265std_decode.h
+1 −0 include/vk_video/vulkan_video_codec_h265std_encode.h
+1 −0 include/vk_video/vulkan_video_codecs_common.h
+2,924 −0 include/vulkan/vulkan.cppm
+120 −9 include/vulkan/vulkan.hpp
+2 −0 include/vulkan/vulkan_android.h
+5 −0 include/vulkan/vulkan_beta.h
+322 −24 include/vulkan/vulkan_core.h
+1 −0 include/vulkan/vulkan_directfb.h
+4 −26 include/vulkan/vulkan_enums.hpp
+6 −6 include/vulkan/vulkan_format_traits.hpp
+4 −0 include/vulkan/vulkan_fuchsia.h
+2 −0 include/vulkan/vulkan_ggp.h
+1 −0 include/vulkan/vulkan_ios.h
+1 −0 include/vulkan/vulkan_macos.h
+2 −0 include/vulkan/vulkan_metal.h
+260 −305 include/vulkan/vulkan_raii.hpp
+2 −0 include/vulkan/vulkan_screen.h
+10 −10 include/vulkan/vulkan_structs.hpp
+3 −36 include/vulkan/vulkan_to_string.hpp
+1 −0 include/vulkan/vulkan_vi.h
+1 −0 include/vulkan/vulkan_wayland.h
+9 −0 include/vulkan/vulkan_win32.h
+1 −0 include/vulkan/vulkan_xcb.h
+1 −0 include/vulkan/vulkan_xlib.h
+1 −0 include/vulkan/vulkan_xlib_xrandr.h
+2 −0 registry/cgenerator.py
+495 −231 registry/validusage.json
+49 −49 registry/vk.xml
+23 −0 tests/add_subdirectory/CMakeLists.txt
+0 −9 tests/find_package/CMakeLists.txt

0 comments on commit a40ddee

Please sign in to comment.