projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c00065e
)
i915g: fix bug in ds clear logic (still disabled)
author
Roland Scheidegger
<sroland@vmware.com>
Sat, 5 Jun 2010 14:49:51 +0000
(16:49 +0200)
committer
Roland Scheidegger
<sroland@vmware.com>
Sat, 5 Jun 2010 14:54:36 +0000
(16:54 +0200)
src/gallium/drivers/i915/i915_surface.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/i915/i915_surface.c
b/src/gallium/drivers/i915/i915_surface.c
index 7869be8f68266ca9b1aae3db3746de1f52492807..f40876e708e26d92503a70fb0e15415ac3812c23 100644
(file)
--- a/
src/gallium/drivers/i915/i915_surface.c
+++ b/
src/gallium/drivers/i915/i915_surface.c
@@
-143,8
+143,8
@@
i915_clear_depth_stencil(struct pipe_context *pipe,
/* XXX presumably this does read-modify-write
(otherwise this won't work anyway). Hence will only want to
do it if really have stencil and it isn't cleared */
- if (
!(
(clear_flags & PIPE_CLEAR_STENCIL) ||
- (dst->format != PIPE_FORMAT_Z24_UNORM_S8_USCALED))
)
+ if ((clear_flags & PIPE_CLEAR_STENCIL) ||
+ (dst->format != PIPE_FORMAT_Z24_UNORM_S8_USCALED))
mask |= XY_COLOR_BLT_WRITE_ALPHA;
i915_fill_blit( i915_context(pipe),