[Mesa-dev] [PATCH 0/0] gallium,radeonsi: pixel (un)packing fixes

Nicolai Hähnle nhaehnle at gmail.com
Wed Nov 9 15:01:48 UTC 2016


Hi,

this is a series of assorted patches that together fix
GL45-CTS.gtf32.GL3Tests.packed_pixels.* on radeonsi. The fixes are:

1. Fix SINT <-> UINT conversion in some places.
2. Honor all pixel pack settings in GetTexImage.
3. Disable some formats for PBO copies that aren't really supported.

Please review!

Thanks,
Nicolai
---
 src/gallium/auxiliary/util/u_blit.c          |   4 +-
 src/gallium/auxiliary/util/u_blitter.c       | 113 ++++++++++-------
 .../auxiliary/util/u_simple_shaders.c        |  80 +++++++++---
 .../auxiliary/util/u_simple_shaders.h        |   9 +-
 src/gallium/auxiliary/util/u_tests.c         |   1 +
 .../drivers/radeonsi/si_descriptors.c        |  26 +++-
 src/gallium/drivers/radeonsi/si_state.c      |  52 ++++++--
 src/gallium/drivers/radeonsi/si_state.h      |   6 +
 src/gallium/tests/trivial/quad-tex.c         |   1 +
 src/mesa/state_tracker/st_cb_readpixels.c    |   5 +-
 src/mesa/state_tracker/st_cb_texture.c       |  91 +++++--------
 src/mesa/state_tracker/st_context.h          |   4 +-
 src/mesa/state_tracker/st_pbo.c              |  94 ++++++++++++--
 src/mesa/state_tracker/st_pbo.h              |   8 +-
 14 files changed, 336 insertions(+), 158 deletions(-)



More information about the mesa-dev mailing list