[Mesa-dev] [PATCH] mesa/readpix: clamp SNORM properly (v2)
Dave Airlie
airlied at gmail.com
Sun Jun 5 20:09:07 UTC 2016
On 6 June 2016 at 05:40, Dave Airlie <airlied at gmail.com> wrote:
> From: Dave Airlie <airlied at redhat.com>
>
> The clamping code always clamps to 0..1, which for SNORM is
> incorrect. This adds a bit to say that clamping is for
> an snorm and to use the correct range.
>
> This fixes a number of SNORM cases in:
> GL33-CTS.texture_size_promotion.functional
actually ignore this, it's a test bug I think now that I've reread the spec.
Dave.
More information about the mesa-dev
mailing list