projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
661b7ef
)
i915g: actually try to clear 16bit depth bufs
author
Daniel Vetter
<daniel.vetter@ffwll.ch>
Sun, 25 Sep 2011 16:35:12 +0000
(18:35 +0200)
committer
Daniel Vetter
<daniel.vetter@ffwll.ch>
Fri, 7 Oct 2011 12:31:17 +0000
(14:31 +0200)
... with the right value.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
src/gallium/drivers/i915/i915_clear.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/i915/i915_clear.c
b/src/gallium/drivers/i915/i915_clear.c
index bb8ff91767ad5aede5bd5d6bd1bd256ddf8ff7a3..8e2541d51d6e876e3b33c69ff8366e69a14f8e63 100644
(file)
--- a/
src/gallium/drivers/i915/i915_clear.c
+++ b/
src/gallium/drivers/i915/i915_clear.c
@@
-102,7
+102,7
@@
i915_clear_emit(struct pipe_context *pipe, unsigned buffers,
depth_clear_bbp = 32;
} else {
- clear_depth = (
clear_depth & 0xffff) | (clear_depth
<< 16);
+ clear_depth = (
packed_z_stencil & 0xffff) | (packed_z_stencil
<< 16);
depth_clear_bbp = 16;
}
}