projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9427780
)
st/nine: Fix mistake in Volume9 UnlockBox
author
Axel Davy
<axel.davy@ens.fr>
Sat, 22 Oct 2016 09:59:11 +0000
(11:59 +0200)
committer
Axel Davy
<axel.davy@ens.fr>
Mon, 24 Oct 2016 19:56:44 +0000
(21:56 +0200)
In the format fallback path,
the height was used instead of the depth.
CC: "12.0 13.0" <mesa-stable@lists.freedesktop.org>
Signed-off-by: Axel Davy <axel.davy@ens.fr>
src/gallium/state_trackers/nine/volume9.c
patch
|
blob
|
history
diff --git
a/src/gallium/state_trackers/nine/volume9.c
b/src/gallium/state_trackers/nine/volume9.c
index 89565f247320e7236278c747a6f858c076f44861..a31dc0ad88e8908126a0374927c017c662e98799 100644
(file)
--- a/
src/gallium/state_trackers/nine/volume9.c
+++ b/
src/gallium/state_trackers/nine/volume9.c
@@
-373,7
+373,7
@@
NineVolume9_UnlockBox( struct NineVolume9 *This )
This->layer_stride_conversion,
0, 0, 0,
This->desc.Width, This->desc.Height,
- This->desc.
Height
);
+ This->desc.
Depth
);
if (!This->data)
pipe_transfer_unmap(This->pipe, transfer);