st/mesa: use shader stencil export to accelerate shader drawpixels.
authorDave Airlie <airlied@redhat.com>
Tue, 5 Oct 2010 23:35:07 +0000 (09:35 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 12 Oct 2010 23:30:04 +0000 (09:30 +1000)
commitef8bb7ada98f1ddc8e2554a7336af5d669cb1290
treebbd81789000fa2c33ef5d4c2ccbd26a8646f40ff
parent06642c61757b459f4f9283b721ad93b6f15386a7
st/mesa: use shader stencil export to accelerate shader drawpixels.

If the pipe driver has shader stencil export we can accelerate DrawPixels
using it. It tries to pick an S8 texture and works its way to X24S8 and S8X24
if that isn't supported.
src/mesa/state_tracker/st_cb_drawpixels.c
src/mesa/state_tracker/st_mesa_to_tgsi.c
src/mesa/state_tracker/st_program.c
src/mesa/state_tracker/st_texture.h