On 04/02/2014 01:04 AM, Chris Forbes wrote:
> Previously, we would unpack the texels to floats using *_TO_FLOAT_TEX,
> and then pack them into the desired format using FLOAT_TO_*. Unfortunately,
> this isn't quite the inverse operation, and so some texel values would
> end up off-by-one.
These fun
On 04/02/2014 02:04 AM, Chris Forbes wrote:
Previously, we would unpack the texels to floats using *_TO_FLOAT_TEX,
and then pack them into the desired format using FLOAT_TO_*. Unfortunately,
this isn't quite the inverse operation, and so some texel values would
end up off-by-one.
This fixes the
Previously, we would unpack the texels to floats using *_TO_FLOAT_TEX,
and then pack them into the desired format using FLOAT_TO_*. Unfortunately,
this isn't quite the inverse operation, and so some texel values would
end up off-by-one.
This fixes the GL_RGB8_SNORM and GL_RGB16_SNORM subcases in p