[Mesa-dev] [PATCH 0/5] GL_EXT_texture_shared_exponent

Brian Paul brianp at vmware.com
Tue Apr 26 07:57:58 PDT 2011


On 04/26/2011 04:57 AM, Marek Olšák wrote:
> Hi,
>
> this series implements GL_EXT_texture_shared_exponent.
>
> The file rgb9e5.h has all its functions inline, because it's shared
> between classic and gallium. In that file, there are functions
> rgb9e5_to_float3 and float3_to_rgb9e5, which are used pretty much
> everywhere.

I think I'd opt to put the code for this in gallium/util and include 
it in Mesa with a wrapper header.  In the future I think we're more 
likely to use additional Gallium utility code in Mesa than vice versa.


> I usually do some hardware support and the driver of my choice was
> so far r300g. Because r500 hw can't do this extension, I am adding
> support to r600g instead.
>
> There is swrast, softpipe, llvmpipe, and r600g support. There is no
> renderbuffer support, because r600 can't do it and the spec doesn't
> require it anyway. (I guess it wasn't meant to be used as a
> renderbuffer)
>
> Please review.

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

Were you going to make a piglit test too?

-Brian


More information about the mesa-dev mailing list