[Mesa-dev] [PATCH 0/4] GL_EXT_packed_float

Brian Paul brianp at vmware.com
Thu Apr 28 07:05:58 PDT 2011


On 04/28/2011 06:04 AM, Marek Olšák wrote:
> Hi,
>
> This series implements another GL3 extension: GL_EXT_packed_float
>
> This one is quite simple, because its code is very similar to that of GL_EXT_texture_shared_exponent -- all the pack, unpack, texstore, texfetch, and mipmap functions are equivalent, but instead of calling rgb9e5_to_float3 and vice versa, I used r11g11b10f_to_float3 and vice versa.
>
> I should mention I obtained the code for conversion between float and f11 and between float and f10 from here:
> http://www.opengl-redbook.com/appendices/AppJ.pdf
> I guess that's not a problem.
>
> There is only r600g support for now. Although sampler and mipmap-gen support for swrast, softpipe, and llvmpipe has been tested and works, the extension also requires renderbuffer and blending support, which is not implemented by this series.
>
> BTW, there are 5 piglit tests for this extension already:
> - fbo-alphatest-formats
> - fbo-blending-formats
> - fbo-clear-formats
> - fbo-generatemipmap-formats
> - texwrap
>
> Please review.

Reviewed-by: Brian Paul <brianp at vmware.com>



More information about the mesa-dev mailing list