We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca9e4de commit 82e45e7Copy full SHA for 82e45e7
ash/src/extensions/khr/mod.rs
@@ -40,6 +40,7 @@ pub mod surface;
40
pub mod swapchain;
41
pub mod synchronization2;
42
pub mod timeline_semaphore;
43
+pub mod video_decode_queue;
44
pub mod video_queue;
45
pub mod wayland_surface;
46
pub mod win32_surface;
ash/src/extensions/khr/video_decode_queue.rs
@@ -0,0 +1,15 @@
1
+//! <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VK_KHR_video_decode_queue.html>
2
+
3
+use crate::vk;
4
5
+impl crate::khr::video_decode_queue::Device {
6
+ #[inline]
7
+ /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCmdDecodeVideoKHR.html>
8
+ pub unsafe fn cmd_decode_video(
9
+ &self,
10
+ command_buffer: vk::CommandBuffer,
11
+ decode_info: &vk::VideoDecodeInfoKHR<'_>,
12
+ ) {
13
+ (self.fp.cmd_decode_video_khr)(command_buffer, decode_info);
14
+ }
15
+}
0 commit comments