summaryrefslogtreecommitdiffstats
path: root/src/intel/isl
diff options
context:
space:
mode:
authorLionel Landwerlin <[email protected]>2019-10-04 15:47:49 +0300
committerLionel Landwerlin <[email protected]>2019-10-05 20:54:33 +0000
commitff1a5aadbf607bdd91e1aaae8b98b75cfa36291f (patch)
tree2d6dd36ca85e64e2443cfd8c0d72a11d5981ee5b /src/intel/isl
parentc445d6f66e336d9486c7dfd72dbdf698de93a650 (diff)
intel/isl: set surface array appropriately
This doesn't seem to affect anything. Signed-off-by: Lionel Landwerlin <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/intel/isl')
-rw-r--r--src/intel/isl/isl_surface_state.c2
1 files changed, 1 insertions, 1 deletions
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,