Mesa (openchrome-branch): openchrome: fbo: Hardware interleave of depth and stencil buffers.

Thomas Hellstrom thomash at kemper.freedesktop.org
Sun Feb 22 09:43:35 UTC 2009


Module: Mesa
Branch: openchrome-branch
Commit: 92d56c67da5c6cd8b60670a85ae93b3000aa2107
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=92d56c67da5c6cd8b60670a85ae93b3000aa2107

Author: Thomas Hellstrom <thomas-at-shipmail-dot-org>
Date:   Sun Feb 22 10:42:38 2009 +0100

openchrome: fbo: Hardware interleave of depth and stencil buffers.

---

 src/mesa/drivers/dri/openchrome/via_depthstencil.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/src/mesa/drivers/dri/openchrome/via_depthstencil.c b/src/mesa/drivers/dri/openchrome/via_depthstencil.c
index e10f943..220c150 100644
--- a/src/mesa/drivers/dri/openchrome/via_depthstencil.c
+++ b/src/mesa/drivers/dri/openchrome/via_depthstencil.c
@@ -306,9 +306,7 @@ via_validate_paired_depth_stencil(GLcontext * ctx, struct gl_framebuffer *fb)
 		       GL_DEPTH24_STENCIL8_EXT);
 
 		/* establish new pairing: interleave stencil into depth buffer */
-		map_buffers(ctx, depthRb, stencilRb);
 		via_insert_stencil(ctx, &depthRb->Base, &stencilRb->Base);
-		unmap_buffers(ctx, depthRb, stencilRb);
 		depthRb->PairedStencil = stencilRb->Base.Name;
 		stencilRb->PairedDepth = depthRb->Base.Name;
 	    }




More information about the mesa-commit mailing list