Commit f9bf3b3 1 parent 6a7a9d6 commit f9bf3b3 Copy full SHA for f9bf3b3
File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -903,11 +903,6 @@ impl PhysicalDeviceProperties {
903
903
if requested_features. contains ( wgt:: Features :: TEXTURE_FORMAT_NV12 ) {
904
904
extensions. push ( khr:: sampler_ycbcr_conversion:: NAME ) ;
905
905
}
906
-
907
- // Optional `VK_KHR_external_memory_win32`
908
- if self . supports_extension ( khr:: external_memory_win32:: NAME ) {
909
- extensions. push ( khr:: external_memory_win32:: NAME ) ;
910
- }
911
906
}
912
907
913
908
if self . device_api_version < vk:: API_VERSION_1_2 {
@@ -975,6 +970,11 @@ impl PhysicalDeviceProperties {
975
970
extensions. push ( ext:: robustness2:: NAME ) ;
976
971
}
977
972
973
+ // Optional `VK_KHR_external_memory_win32`
974
+ if self . supports_extension ( khr:: external_memory_win32:: NAME ) {
975
+ extensions. push ( khr:: external_memory_win32:: NAME ) ;
976
+ }
977
+
978
978
// Require `VK_KHR_draw_indirect_count` if the associated feature was requested
979
979
// Even though Vulkan 1.2 has promoted the extension to core, we must require the extension to avoid
980
980
// large amounts of spaghetti involved with using PhysicalDeviceVulkan12Features.
You can’t perform that action at this time.
0 commit comments