diff options
author | Marek Olšák <[email protected]> | 2010-07-25 23:40:51 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2010-07-25 23:40:51 +0200 |
commit | 6f2936c654c68388b9c43a189a1b8c06f3a9d241 (patch) | |
tree | f9bb4191f6b07f59b604e5067005b22e41756fa5 /src/gallium/auxiliary/draw/draw_gs.c | |
parent | 451a0ddb190e5185372fed9ec57d24a822442ecc (diff) |
r300g: implement D24X8 texture sampling for r3xx-r4xx
Because the hw can't sample it, I reinterpret the format as G16R16 and
sample the G component. This gives 16 bits of precision, which should be
enough for depth texturing (surprisingly, the sampled values are exactly
the same as in D16 textures).
This also enables EXT_packed_depth_stencil on those old chipsets, finally.
Diffstat (limited to 'src/gallium/auxiliary/draw/draw_gs.c')
0 files changed, 0 insertions, 0 deletions