commit | 3817a7a1d7434ae5ae069599013cea81cf809aa5 | [log] [tgz] |
---|---|---|
author | Nicolai Hähnle <nicolai.haehnle@amd.com> | Mon Nov 07 15:55:52 2016 +0100 |
committer | Nicolai Hähnle <nicolai.haehnle@amd.com> | Wed Nov 16 10:31:21 2016 +0100 |
tree | 3758d474e6c4d8f12e306846abeec92623668c05 | |
parent | ab5fd10eaa7e9a7cca20f6aa6b01240e8fd62c49 [diff] |
util/blitter: add clamping during SINT <-> UINT blits Even though glBlitFramebuffer cannot be used for SINT <-> UINT blits, we still need to handle this type of blit here because it can happen as part of texture uploads / downloads, e.g. uploading a GL_RGBA8I texture from GL_UNSIGNED_INT data. Fixes parts of GL45-CTS.gtf32.GL3Tests.packed_pixels.packed_pixels. Reviewed-by: Marek Olšák <marek.olsak@amd.com> Reviewed-by: Edward O'Callaghan <funfunctor@folklore1984.net>