summaryrefslogtreecommitdiffstats
path: root/src/hgl/GLRendererRoster.h
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2017-10-07 14:37:50 -0700
committerJason Ekstrand <[email protected]>2017-10-07 17:12:38 -0700
commit6c7720ed78db754d52f204cbb74897aa9e65ea7e (patch)
tree8c4a33c2f8f17de0e25886c2fd12079eadf188ae /src/hgl/GLRendererRoster.h
parente262845e371217d23e345d2e315931e01aa0ee04 (diff)
anv/wsi: Allocate enough memory for the entire image
Previously, we allocated memory for image->plane[0].surface.isl.size which is great if there is no compression. However, on BDW, we can do CCS_D on X-tiled images so we also have to allocate space for the auxiliary buffer. This fixes hangs in some of the WSI CTS tests and should also reduce hangs in real applications. In particular, it fixes the dEQP-VK.wsi.*.incremental_present.* test group. When we hand the image off to X11 or Wayland, it will ignore the CCS entirely which is ok because we do a resolve when it's transitioned to VK_IMAGE_LAYOUT_PRESENT_SRC_KHR. Reviewed-by: Lionel Landwerlin <[email protected]> Cc: [email protected]
Diffstat (limited to 'src/hgl/GLRendererRoster.h')
0 files changed, 0 insertions, 0 deletions