File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -1051,6 +1051,16 @@ impl PhysicalDeviceProperties {
1051
1051
extensions. push ( khr:: external_memory_win32:: NAME ) ;
1052
1052
}
1053
1053
1054
+ // Optional `VK_KHR_external_memory_fd`
1055
+ if self . supports_extension ( khr:: external_memory_fd:: NAME ) {
1056
+ extensions. push ( khr:: external_memory_fd:: NAME ) ;
1057
+ }
1058
+
1059
+ // Optional `VK_EXT_external_memory_dma`
1060
+ if self . supports_extension ( ext:: external_memory_dma_buf:: NAME ) {
1061
+ extensions. push ( ext:: external_memory_dma_buf:: NAME ) ;
1062
+ }
1063
+
1054
1064
// Require `VK_KHR_draw_indirect_count` if the associated feature was requested
1055
1065
// Even though Vulkan 1.2 has promoted the extension to core, we must require the extension to avoid
1056
1066
// large amounts of spaghetti involved with using PhysicalDeviceVulkan12Features.
You can’t perform that action at this time.
0 commit comments