On Sun, Sep 25, 2011 at 7:09 PM, Dave Airlie <[email protected]> wrote:
> From: Dave Airlie <[email protected]>
>
> This add support for unsigned/signed integer types via adding a 'pure' bit
> in the format description table. It adds 4 new u_format get/put hooks,
> for get/put uint and get/put sint so that accessors can get native access
> to the integer bits. This is used to avoid precision loss via float converting
> paths.
>
> It doesn't add any float fetchers for these types at the moment, GL doesn't
> require float fetching from these types and I expect we'll introduce a lot
> of hidden bugs if we start allowing such conversions without an API mandating
> it.
>

Just a note to say there is one missing bit from this for GL support,
the UINT types should have SINT fetchers,
and the SINT types should have UINT fetchers, thanks to calim for reminding me.

I'll add this in a later iteration.

Dave.
_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to