[Mesa-dev] [PATCH 00/13] Floating-point depth buffers

Marek Olšák maraeo at gmail.com
Mon Jul 11 05:58:40 PDT 2011

It should be fixed by now. There is a bug in our beloved build system
such that the assert macro is disabled if some completely-unrelated
configure options are enabled. I will send a fix for that soon as


On Mon, Jul 11, 2011 at 5:00 AM, Eric Anholt <eric at anholt.net> wrote:
> On Fri,  1 Jul 2011 02:29:32 +0200, Marek Olšák <maraeo at gmail.com> wrote:
>> Hi,
>> 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'
> failed.

More information about the mesa-dev mailing list