diff options
author | Axel Davy <[email protected]> | 2015-01-14 12:10:48 +0100 |
---|---|---|
committer | Axel Davy <[email protected]> | 2015-02-06 00:07:19 +0100 |
commit | bf0adf248f3562e6fb205b31d14f650ab0a14c8e (patch) | |
tree | bb222a2658eb8307b41b9e859b97a569260688f3 /src/gbm/backends/dri/gbm_dri.c | |
parent | 34292754d2852980cd685fb0ef54b40f38235aab (diff) |
st/nine: Add D3DFMT_DF16 support
This depth buffer format, like D3DFMT_INTZ, can be used to read
the depth buffer values when bound to a shader.
Some apps may use this format to get better performance when
they don't need the precision of INTZ (24 bits for depth, 8 for
stencil, whereas DF16 is just 16 bits for depth)
We don't add support for DF24 yet, because it implies support
for FETCH4, which we don't support for now.
Reviewed-by: Tiziano Bacocco <[email protected]>
Signed-off-by: Axel Davy <[email protected]>
Diffstat (limited to 'src/gbm/backends/dri/gbm_dri.c')
0 files changed, 0 insertions, 0 deletions