intel: honor image tiling request
diff --git a/icd/intel/layout.c b/icd/intel/layout.c
index 51bbd1c..f1894d4 100644
--- a/icd/intel/layout.c
+++ b/icd/intel/layout.c
@@ -462,6 +462,9 @@
    const XGL_FORMAT format = layout->format;
    unsigned valid_tilings = LAYOUT_TILING_ALL;
 
+   if (info->tiling == XGL_LINEAR_TILING)
+       valid_tilings &= LAYOUT_TILING_NONE;
+
    /*
     * From the Sandy Bridge PRM, volume 2 part 1, page 318:
     *