v2: require PIPE_CAP_SAMPLER_VIEW_TARGET; technically only needed for some of the texture targets, but all hardware that has shader images should also have this cap.
ed0e986 st/mesa: implement PBO downloads for ReadPixels
src/mesa/state_tracker/st_cb_readpixels.c | 142 ++++++++++++++++++++++++++++-
src/mesa/state_tracker/st_pbo.c | 17 ++++
src/mesa/state_tracker/st_pbo.h | 4 +
3 files changed, 160 insertions(+), 3 deletions(-)
Upstream: cgit.freedesktop.org