aboutsummaryrefslogtreecommitdiffstats
path: root/src/vulkan/wsi/wsi_common_x11.c
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2017-01-24 17:10:45 -0800
committerJason Ekstrand <[email protected]>2017-01-25 09:05:30 -0800
commitd6397dd62542215e655c0cab557729474c2ae973 (patch)
treebc7c749ac5be31a33ae851ab80e7f76ddb062088 /src/vulkan/wsi/wsi_common_x11.c
parent659edd9f5ce995aa47e2ab02425508cc29140cce (diff)
vulkan/wsi: Lower the maximum image sizes
Reviewed-by: Lionel Landwerlin <[email protected]> Cc: "17.0" <[email protected]>
Diffstat (limited to 'src/vulkan/wsi/wsi_common_x11.c')
-rw-r--r--src/vulkan/wsi/wsi_common_x11.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vulkan/wsi/wsi_common_x11.c b/src/vulkan/wsi/wsi_common_x11.c
index f6cc056d33b..64ba92196fc 100644
--- a/src/vulkan/wsi/wsi_common_x11.c
+++ b/src/vulkan/wsi/wsi_common_x11.c
@@ -370,7 +370,8 @@ x11_surface_get_capabilities(VkIcdSurfaceBase *icd_surface,
*/
caps->currentExtent = (VkExtent2D) { -1, -1 };
caps->minImageExtent = (VkExtent2D) { 1, 1 };
- caps->maxImageExtent = (VkExtent2D) { INT16_MAX, INT16_MAX };
+ /* This is the maximum supported size on Intel */
+ caps->maxImageExtent = (VkExtent2D) { 1 << 14, 1 << 14 };
}
free(err);
free(geom);