Mesa (master): intel/isl: set surface array appropriately
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Sat Oct 5 21:07:55 UTC 2019
Module: Mesa
Branch: master
Commit: ff1a5aadbf607bdd91e1aaae8b98b75cfa36291f
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ff1a5aadbf607bdd91e1aaae8b98b75cfa36291f
Author: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Date: Fri Oct 4 15:47:49 2019 +0300
intel/isl: set surface array appropriately
This doesn't seem to affect anything.
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
---
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,
More information about the mesa-commit
mailing list