@@ -44,9 +44,6 @@ pub struct PhysicalDeviceFeatures {
44
44
pub ( super ) descriptor_indexing :
45
45
Option < vk:: PhysicalDeviceDescriptorIndexingFeaturesEXT < ' static > > ,
46
46
47
- /// Features provided by `VK_KHR_imageless_framebuffer`, promoted to Vulkan 1.2.
48
- imageless_framebuffer : Option < vk:: PhysicalDeviceImagelessFramebufferFeaturesKHR < ' static > > ,
49
-
50
47
/// Features provided by `VK_KHR_timeline_semaphore`, promoted to Vulkan 1.2
51
48
timeline_semaphore : Option < vk:: PhysicalDeviceTimelineSemaphoreFeaturesKHR < ' static > > ,
52
49
@@ -138,9 +135,6 @@ impl PhysicalDeviceFeatures {
138
135
if let Some ( ref mut feature) = self . descriptor_indexing {
139
136
info = info. push_next ( feature) ;
140
137
}
141
- if let Some ( ref mut feature) = self . imageless_framebuffer {
142
- info = info. push_next ( feature) ;
143
- }
144
138
if let Some ( ref mut feature) = self . timeline_semaphore {
145
139
info = info. push_next ( feature) ;
146
140
}
@@ -329,16 +323,6 @@ impl PhysicalDeviceFeatures {
329
323
} else {
330
324
None
331
325
} ,
332
- imageless_framebuffer : if device_api_version >= vk:: API_VERSION_1_2
333
- || enabled_extensions. contains ( & khr:: imageless_framebuffer:: NAME )
334
- {
335
- Some (
336
- vk:: PhysicalDeviceImagelessFramebufferFeaturesKHR :: default ( )
337
- . imageless_framebuffer ( private_caps. imageless_framebuffers ) ,
338
- )
339
- } else {
340
- None
341
- } ,
342
326
timeline_semaphore : if device_api_version >= vk:: API_VERSION_1_2
343
327
|| enabled_extensions. contains ( & khr:: timeline_semaphore:: NAME )
344
328
{
@@ -976,15 +960,6 @@ impl PhysicalDeviceProperties {
976
960
extensions. push ( khr:: image_format_list:: NAME ) ;
977
961
}
978
962
979
- // Optional `VK_KHR_imageless_framebuffer`
980
- if self . supports_extension ( khr:: imageless_framebuffer:: NAME ) {
981
- extensions. push ( khr:: imageless_framebuffer:: NAME ) ;
982
- // Require `VK_KHR_maintenance2` due to it being a dependency
983
- if self . device_api_version < vk:: API_VERSION_1_1 {
984
- extensions. push ( khr:: maintenance2:: NAME ) ;
985
- }
986
- }
987
-
988
963
// Optional `VK_KHR_driver_properties`
989
964
if self . supports_extension ( khr:: driver_properties:: NAME ) {
990
965
extensions. push ( khr:: driver_properties:: NAME ) ;
@@ -1420,15 +1395,6 @@ impl super::InstanceShared {
1420
1395
features2 = features2. push_next ( next) ;
1421
1396
}
1422
1397
1423
- // `VK_KHR_imageless_framebuffer` is promoted to 1.2, but has no
1424
- // changes, so we can keep using the extension unconditionally.
1425
- if capabilities. supports_extension ( khr:: imageless_framebuffer:: NAME ) {
1426
- let next = features
1427
- . imageless_framebuffer
1428
- . insert ( vk:: PhysicalDeviceImagelessFramebufferFeaturesKHR :: default ( ) ) ;
1429
- features2 = features2. push_next ( next) ;
1430
- }
1431
-
1432
1398
// `VK_KHR_timeline_semaphore` is promoted to 1.2, but has no
1433
1399
// changes, so we can keep using the extension unconditionally.
1434
1400
if capabilities. supports_extension ( khr:: timeline_semaphore:: NAME ) {
@@ -1655,12 +1621,6 @@ impl super::Instance {
1655
1621
}
1656
1622
1657
1623
let private_caps = super :: PrivateCapabilities {
1658
- imageless_framebuffers : match phd_features. imageless_framebuffer {
1659
- Some ( features) => features. imageless_framebuffer == vk:: TRUE ,
1660
- None => phd_features
1661
- . imageless_framebuffer
1662
- . is_some_and ( |ext| ext. imageless_framebuffer != 0 ) ,
1663
- } ,
1664
1624
image_view_usage : phd_capabilities. device_api_version >= vk:: API_VERSION_1_1
1665
1625
|| phd_capabilities. supports_extension ( khr:: maintenance2:: NAME ) ,
1666
1626
timeline_semaphores : match phd_features. timeline_semaphore {
0 commit comments