From ff1a5aadbf607bdd91e1aaae8b98b75cfa36291f Mon Sep 17 00:00:00 2001 From: Lionel Landwerlin Date: Fri, 4 Oct 2019 15:47:49 +0300 Subject: [PATCH] intel/isl: set surface array appropriately This doesn't seem to affect anything. Signed-off-by: Lionel Landwerlin Reviewed-by: Kenneth Graunke --- src/intel/isl/isl_surface_state.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- 2.30.2