From: Lionel Landwerlin Date: Fri, 4 Oct 2019 12:47:49 +0000 (+0300) Subject: intel/isl: set surface array appropriately X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ff1a5aadbf607bdd91e1aaae8b98b75cfa36291f;p=mesa.git intel/isl: set surface array appropriately This doesn't seem to affect anything. Signed-off-by: Lionel Landwerlin Reviewed-by: Kenneth Graunke --- diff --git a/src/intel/isl/isl_surface_state.c b/src/intel/isl/isl_surface_state.c index 30c98945c3f..4f61c1012d9 100644 --- a/src/intel/isl/isl_surface_state.c +++ b/src/intel/isl/isl_surface_state.c @@ -796,7 +796,7 @@ isl_genX(null_fill_state)(void *state, struct isl_extent3d size) */ .SurfaceFormat = ISL_FORMAT_R32_UINT, #if GEN_GEN >= 7 - .SurfaceArray = size.depth > 0, + .SurfaceArray = size.depth > 1, #endif #if GEN_GEN >= 8 .TileMode = YMAJOR,