wgl: Don't export pure-stencil pixel formats.
authorJosé Fonseca <jfonseca@vmware.com>
Tue, 19 Jan 2010 14:12:10 +0000 (06:12 -0800)
committerJosé Fonseca <jfonseca@vmware.com>
Tue, 19 Jan 2010 14:14:12 +0000 (06:14 -0800)
They cause DCT's conform to always fail.

src/gallium/state_trackers/wgl/stw_pixelformat.c

index 7abe5d9f7fa19a9cadaefc1dcccc31f6d295198b..c310c78ccf1e5e4294aa1d26ae16dbf12e8e85d2 100644 (file)
@@ -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} }