aboutsummaryrefslogtreecommitdiffstats
path: root/src/freedreno/vulkan/tu_wsi.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/freedreno/vulkan/tu_wsi.c')
-rw-r--r--src/freedreno/vulkan/tu_wsi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/freedreno/vulkan/tu_wsi.c b/src/freedreno/vulkan/tu_wsi.c
index c80e489399f..7117f6766bd 100644
--- a/src/freedreno/vulkan/tu_wsi.c
+++ b/src/freedreno/vulkan/tu_wsi.c
@@ -40,10 +40,10 @@ tu_wsi_image_get_modifier(VkImage _image)
{
TU_FROM_HANDLE(tu_image, image, _image);
- if (!image->tile_mode)
+ if (!image->layout.tile_mode)
return DRM_FORMAT_MOD_LINEAR;
- if (image->ubwc_size)
+ if (image->layout.ubwc_size)
return DRM_FORMAT_MOD_QCOM_COMPRESSED;
/* TODO invent a modifier for tiled but not UBWC buffers: */