Mesa (master): isl: Use ARRAY_PITCH_SPAN_FULL for depth/ stencil surfaces on gen7
Jason Ekstrand
jekstrand at kemper.freedesktop.org
Wed Jul 13 18:48:04 UTC 2016
Module: Mesa
Branch: master
Commit: a52f26d6e84d27adfab628cea16a7399149f4233
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a52f26d6e84d27adfab628cea16a7399149f4233
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date: Tue Jul 12 14:57:30 2016 -0700
isl: Use ARRAY_PITCH_SPAN_FULL for depth/stencil surfaces on gen7
We helpfully inserted a PRM quotation about how we need to use
ARRAY_PITCH_SPAN_FULL and then set it to COMPACT. Oops...
Reviewed-by: Chad Versace <chad.versace at intel.com>
---
src/intel/isl/isl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/intel/isl/isl.c b/src/intel/isl/isl.c
index decba3d..e745548 100644
--- a/src/intel/isl/isl.c
+++ b/src/intel/isl/isl.c
@@ -308,7 +308,7 @@ isl_choose_array_pitch_span(const struct isl_device *dev,
* the depth buffer and stencil buffer have an implied value of
* ARYSPC_FULL):
*/
- return ISL_ARRAY_PITCH_SPAN_COMPACT;
+ return ISL_ARRAY_PITCH_SPAN_FULL;
}
if (info->levels == 1) {
More information about the mesa-commit
mailing list