Mesa (mesa_7_7_branch): wgl: Don't export pure-stencil pixel formats.

Jose Fonseca jrfonseca at kemper.freedesktop.org
Tue Jan 19 14:14:27 UTC 2010


Module: Mesa
Branch: mesa_7_7_branch
Commit: 5e870f4fe9e71b7f467f2a0b03934352f90846cc
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5e870f4fe9e71b7f467f2a0b03934352f90846cc

Author: José Fonseca <jfonseca at vmware.com>
Date:   Tue Jan 19 06:12:10 2010 -0800

wgl: Don't export pure-stencil pixel formats.

They cause DCT's conform to always fail.

---

 src/gallium/state_trackers/wgl/stw_pixelformat.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/src/gallium/state_trackers/wgl/stw_pixelformat.c b/src/gallium/state_trackers/wgl/stw_pixelformat.c
index 7abe5d9..c310c78 100644
--- a/src/gallium/state_trackers/wgl/stw_pixelformat.c
+++ b/src/gallium/state_trackers/wgl/stw_pixelformat.c
@@ -94,8 +94,6 @@ stw_pf_depth_stencil[] = {
    { PIPE_FORMAT_Z24X8_UNORM, {24, 0} },
    { PIPE_FORMAT_X8Z24_UNORM, {24, 0} },
    { PIPE_FORMAT_Z16_UNORM,   {16, 0} },
-   /* pure stencil */
-   { PIPE_FORMAT_S8_UNORM,    { 0, 8} },
    /* combined depth-stencil */
    { PIPE_FORMAT_S8Z24_UNORM, {24, 8} },
    { PIPE_FORMAT_Z24S8_UNORM, {24, 8} }




More information about the mesa-commit mailing list