projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
i915g: actually try to clear 16bit depth bufs
[mesa.git]
/
src
/
gallium
/
drivers
/
i915
/
i915_clear.c
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 {
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;
}
}
depth_clear_bbp = 16;
}
}