[Mesa-dev] [PATCH 1/3] u_format: implement fetch_rgba_uint and fetch_rgba_sint for integer formats

Dave Airlie airlied at gmail.com
Mon Jan 2 06:31:24 PST 2012


On Mon, Jan 2, 2012 at 1:07 PM, Marek Olšák <maraeo at gmail.com> wrote:
> Fetching int as float and vice versa is not allowed.
> Fetching unsigned int as signed int and vice versa is not allowed either.

The first is true, the second isn't, otherwise I'd have implemented
this that way.

> Doing conversions like that isn't allowed in OpenGL.

I don't have chapter/verse but EXT_texture_integer doesn't seem to
disallow this.

Dave.


More information about the mesa-dev mailing list