hasvk: Expose VK_KHR_video_maintenance1 and VK_KHR_video_maintenance2.

Assisted-by: Claude
This commit is contained in:
dancingmirrors authored and elwrcl committed 2026-07-21 22:25:23 +03:00
1 parent 0f70099a69
commit 881ec70b2f
1 file changed
+8
+8
View File
@@ -271,6 +271,8 @@ get_device_extensions(const struct anv_physical_device *device,
.KHR_video_queue = video_decode, .KHR_video_queue = video_decode,
.KHR_video_decode_queue = video_decode, .KHR_video_decode_queue = video_decode,
.KHR_video_decode_h264 = video_decode, .KHR_video_decode_h264 = video_decode,
.KHR_video_maintenance1 = video_decode,
.KHR_video_maintenance2 = video_decode,
.KHR_synchronization2 = true, .KHR_synchronization2 = true,
.KHR_timeline_semaphore = true, .KHR_timeline_semaphore = true,
.KHR_uniform_buffer_standard_layout = true, .KHR_uniform_buffer_standard_layout = true,
@@ -677,6 +679,12 @@ get_features(const struct anv_physical_device *pdevice,
/* VK_KHR_maintenance6 */ /* VK_KHR_maintenance6 */
.maintenance6 = true, .maintenance6 = true,
/* VK_KHR_video_maintenance1 */
.videoMaintenance1 = true,
/* VK_KHR_video_maintenance2 */
.videoMaintenance2 = true,
}; };
/* We can't do image stores in vec4 shaders */ /* We can't do image stores in vec4 shaders */