isl: Fix gen8_choose_msaa_layout()
authorChad Versace <chad.versace@intel.com>
Sat, 23 Jan 2016 01:06:55 +0000 (17:06 -0800)
committerChad Versace <chad.versace@intel.com>
Sat, 23 Jan 2016 01:19:57 +0000 (17:19 -0800)
Gen8 requires any Y tiling, not any *standard* Y tiling.

src/isl/isl_gen8.c

index 2f434aa..a46427a 100644 (file)
@@ -48,7 +48,7 @@ gen8_choose_msaa_layout(const struct isl_device *dev,
     *
     * As usual, though, stencil is special.
     */
-   if (!isl_tiling_is_std_y(tiling) && !isl_surf_usage_is_stencil(info->usage))
+   if (!isl_tiling_is_any_y(tiling) && !isl_surf_usage_is_stencil(info->usage))
       return false;
 
    /* From the Broadwell PRM >> Volume2d: Command Structures >>