From: Ben Widawsky <[email protected]>
Cc: Ville Syrjälä <[email protected]>
Cc: Jason Ekstrand <[email protected]>
Signed-off-by: Ben Widawsky <[email protected]>
---
src/mesa/drivers/dri/i965/intel_screen.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/mesa/drivers/dri/i965/intel_screen.c
b/src/mesa/drivers/dri/i965/intel_screen.c
index f40761a..7ee21ee 100644
--- a/src/mesa/drivers/dri/i965/intel_screen.c
+++ b/src/mesa/drivers/dri/i965/intel_screen.c
@@ -961,7 +961,7 @@ intel_from_planar(__DRIimage *parent, int plane, void
*loaderPrivate)
if (parent == NULL || parent->planar_format == NULL) {
if (is_aux) {
offset = parent->aux_offset;
- stride = ALIGN(parent->pitch / 32, 128);
+ stride = ALIGN(parent->pitch / 64, 128);
dri_format = parent->dri_format;
goto done;
}
--
2.10.2
_______________________________________________
mesa-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-dev