intel/isl: set surface array appropriately

This doesn't seem to affect anything.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
Lionel Landwerlin
2019-10-04 15:47:49 +03:00
parent c445d6f66e
commit ff1a5aadbf
+1 -1
View File
@@ -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,