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 2f434aabb2e3304867d982dc657428d3a42e194b..a46427aacc8e9b61407b69fff7204127ad8949fb 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 >>