vulkan-wsi-layer/layer/VkLayer_window_system_integration.json
Dennis Tsiang 2bc2109194 Add support for VK_EXT_image_compression_control_swapchain
Implement support for VK_EXT_image_compression_control_swapchain
for both the Wayland and the headless windowing systems.
The extension can be conditionally enabled through the new build option
BUILD_WSI_IMAGE_COMPRESSION_CONTROL_SWAPCHAIN. Compiling with this
option enabled requires recent Vulkan headers (1.3.213)
Note also that support in the layer is enabled conditionally to
the ICD supporting VK_EXT_image_compression_control.

Update the WSIALLOC interface to version 2 and add support to
prefer selection of a format with the highest fixed rate compression
from the formats provided. This is used to pick a fixed rate
compression when VK_IMAGE_COMPRESSION_FIXED_RATE_EXPLICIT_EXT is
specified during swapchain creation.

Signed-off-by: Dennis Tsiang <dennis.tsiang@arm.com>
Signed-off-by: Rosen Zhelev <rosen.zhelev@arm.com>
Signed-off-by: Normunds Rieksts <normunds.rieksts@arm.com>
Signed-off-by: Matteo Franchin <matteo.franchin@arm.com>
Change-Id: Ie37e6901042a65f2a408e428a705b5a24227b262
2022-05-25 16:49:52 +01:00

41 lines
1.6 KiB
JSON

{
"file_format_version": "1.1.2",
"layer": {
"name": "VK_LAYER_window_system_integration",
"type": "GLOBAL",
"library_path": "./libVkLayer_window_system_integration.so",
"api_version": "1.2.191",
"implementation_version": "1",
"description": "Window system integration layer",
"functions": {
"vkNegotiateLoaderLayerInterfaceVersion": "wsi_layer_vkNegotiateLoaderLayerInterfaceVersion"
},
"instance_extensions": [
{"name" : "VK_EXT_headless_surface", "spec_version" : "1"},
{"name" : "VK_KHR_wayland_surface", "spec_version" : "6"},
{"name" : "VK_KHR_surface", "spec_version" : "25"},
{"name" : "VK_KHR_get_surface_capabilities2", "spec_version" : "1"}
],
"device_extensions": [
{"name": "VK_EXT_image_compression_control_swapchain", "spec_version": "1"},
{
"name": "VK_KHR_swapchain",
"spec_version": "70",
"entrypoints": [
"vkAcquireNextImageKHR",
"vkCreateSwapchainKHR",
"vkDestroySwapchainKHR",
"vkGetSwapchainImagesKHR",
"vkQueuePresentKHR",
"vkAcquireNextImage2KHR",
"vkGetDeviceGroupPresentCapabilitiesKHR",
"vkGetDeviceGroupSurfacePresentModesKHR",
"vkGetPhysicalDevicePresentRectanglesKHR"
]
}
],
"disable_environment": {
"DISABLE_WSI_LAYER": "1"
}
}
}