llvmpipe: Don't advertise S8_UNORM (with feeble attempt at supporting it).
authorJosé Fonseca <jfonseca@vmware.com>
Tue, 29 Jan 2013 13:27:44 +0000 (13:27 +0000)
committerJosé Fonseca <jfonseca@vmware.com>
Tue, 29 Jan 2013 16:41:56 +0000 (16:41 +0000)
commit42f762dcf682957a8a5c85ca1d30b28f41ea4bd0
treed276e9294d1f1218e374d43c1320b376ee265ad4
parent3b683700efe81f82ba2f978d6c645385e5ccfa97
llvmpipe: Don't advertise S8_UNORM (with feeble attempt at supporting it).

S8_UNORM was inadvertedly supported together with Z16_UNORM.

I tried to update the code to accomodate stencil-only -- it seemed a simple
thing to do -- but "fbo-stencil clear GL_STENCIL_INDEX8" still fails,
and it's not worth debugging.

Therefore although this change tries to update for S8_UNORM, it also
disables it completely.

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
src/gallium/drivers/llvmpipe/lp_bld_depth.c
src/gallium/drivers/llvmpipe/lp_screen.c