Debian Codegraph @

src/extensions/khr/cooperative_matrix.rs

raw symbols SCIP
1 //! <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VK_KHR_cooperative_matrix.html>
2
3 use crate::prelude::*;
4 use crate::vk;
5 use alloc::vec::Vec;
6
7 impl crate::khr::cooperative_matrix::Instance {
8 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkGetPhysicalDeviceCooperativeMatrixPropertiesKHR.html>
9 #[inline]
10 pub unsafe fn get_physical_device_cooperative_matrix_properties(
11 &self,
12 physical_device: vk::PhysicalDevice,
13 ) -> VkResult<Vec<vk::CooperativeMatrixPropertiesKHR<'_>>> {
14 read_into_defaulted_vector(|count, data| {
15 (self
16 .fp
17 .get_physical_device_cooperative_matrix_properties_khr)(
18 physical_device,
19 count,
20 data,
21 )
22 })
23 }
24 }