[Mesa-dev] [PATCH 00/13] Floating-point depth buffers
eric at anholt.net
Sun Jul 10 20:00:13 PDT 2011
On Fri, 1 Jul 2011 02:29:32 +0200, Marek Olšák <maraeo at gmail.com> wrote:
> this patch series implements ARB_depth_buffer_float in Mesa and Gallium. There is complete r600g/r600-r700 support in my private branch, which passes the same tests that pass for Z24S8. Softpipe has only sampler support. This has turned out to be not so trivial, so it's possible I missed something.
> I did not implement NV_depth_buffer_float, because it's not compatible with the ARB variant. (GL_DEPTH_COMPONENT32F != GL_DEPTH_COMPONENT32F_NV etc.) The NV extension can operate on unclamped depth values, whereas the ARB one always clamps them.
My mesa is now crashing on startup with:
glxgears: main/formats.c:1488: _mesa_test_formats: Assertion
`info->DataType == 0x8C17 || info->DataType == 0x8F9C || info->DataType
== 0x1405 || info->DataType == 0x1404 || info->DataType == 0x1406'
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 197 bytes
Desc: not available
More information about the mesa-dev