Skip to content

Commit 0b5b1a4

Browse files
authored
extensions/amd: Add VK_AMD_anti_lag extension (#943)
1 parent 078b7d3 commit 0b5b1a4

File tree

3 files changed

+14
-0
lines changed

3 files changed

+14
-0
lines changed

Changelog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1212
- Update Vulkan-Headers to 1.3.296 (#910)
1313
- Added `VK_KHR_get_display_properties2` instance extension (#932)
1414
- Added `VK_EXT_metal_objects` device extension (#942)
15+
- Added `VK_AMD_anti_lag` device extension (#943)
1516

1617
## [0.38.0] - 2024-04-01
1718

ash/src/extensions/amd/anti_lag.rs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
//! <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VK_AMD_anti_lag.html>
2+
3+
use crate::vk;
4+
5+
impl crate::amd::anti_lag::Device {
6+
/// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkAntiLagUpdateAMD.html>
7+
#[inline]
8+
#[doc(alias = "vkAntiLagUpdateAMD")]
9+
pub unsafe fn anti_lag_update(&self, data: &vk::AntiLagDataAMD<'_>) {
10+
(self.fp.anti_lag_update_amd)(self.handle, data)
11+
}
12+
}

ash/src/extensions/amd/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1+
pub mod anti_lag;
12
pub mod buffer_marker;
23
pub mod shader_info;

0 commit comments

Comments
 (0)