Mesa (master): st/nine: Fix locking CubeTexture surfaces.
Axel Davy
axeldavy at kemper.freedesktop.org
Mon Oct 24 19:57:27 UTC 2016
Module: Mesa
Branch: master
Commit: eed605a473554575305e1bf10c3641761a85feb9
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=eed605a473554575305e1bf10c3641761a85feb9
Author: Axel Davy <axel.davy at ens.fr>
Date: Sat Oct 22 12:00:40 2016 +0200
st/nine: Fix locking CubeTexture surfaces.
Only one face of Cubetextures was locked when in DEFAULT Pool.
Fixes:
https://github.com/iXit/Mesa-3D/issues/129
CC: "12.0 13.0" <mesa-stable at lists.freedesktop.org>
Signed-off-by: Axel Davy <axel.davy at ens.fr>
---
src/gallium/state_trackers/nine/surface9.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/gallium/state_trackers/nine/surface9.c b/src/gallium/state_trackers/nine/surface9.c
index 1b00b96..2efdfd1 100644
--- a/src/gallium/state_trackers/nine/surface9.c
+++ b/src/gallium/state_trackers/nine/surface9.c
@@ -447,6 +447,7 @@ NineSurface9_LockRect( struct NineSurface9 *This,
} else {
u_box_origin_2d(This->desc.Width, This->desc.Height, &box);
}
+ box.z = This->layer;
user_warn(This->desc.Format == D3DFMT_NULL);
More information about the mesa-commit
mailing list