Skip to content

Commit

Permalink
extensions/amd: Add VK_AMD_anti_lag extension (#943)
Browse files Browse the repository at this point in the history
  • Loading branch information
MarijnS95 authored Dec 2, 2024
1 parent 078b7d3 commit 0b5b1a4
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Update Vulkan-Headers to 1.3.296 (#910)
- Added `VK_KHR_get_display_properties2` instance extension (#932)
- Added `VK_EXT_metal_objects` device extension (#942)
- Added `VK_AMD_anti_lag` device extension (#943)

## [0.38.0] - 2024-04-01

Expand Down
12 changes: 12 additions & 0 deletions ash/src/extensions/amd/anti_lag.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
//! <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VK_AMD_anti_lag.html>
use crate::vk;

impl crate::amd::anti_lag::Device {
/// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkAntiLagUpdateAMD.html>
#[inline]
#[doc(alias = "vkAntiLagUpdateAMD")]
pub unsafe fn anti_lag_update(&self, data: &vk::AntiLagDataAMD<'_>) {
(self.fp.anti_lag_update_amd)(self.handle, data)
}
}
1 change: 1 addition & 0 deletions ash/src/extensions/amd/mod.rs
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
pub mod anti_lag;
pub mod buffer_marker;
pub mod shader_info;

0 comments on commit 0b5b1a4

Please sign in to comment.