diff options
author | Nicolai Hähnle <[email protected]> | 2016-11-07 17:49:24 +0100 |
---|---|---|
committer | Nicolai Hähnle <[email protected]> | 2016-11-16 10:31:25 +0100 |
commit | 2fb4b5bdf6d10599d4b52bfca7095155a1437164 (patch) | |
tree | 966b46a95f9f66a3c159d46648142d5dcddc13b0 /src/mesa/state_tracker/st_glsl_to_nir.cpp | |
parent | 3817a7a1d7434ae5ae069599013cea81cf809aa5 (diff) |
st/mesa: fix ReadPixels into packed formats with PBO
When using the GPU download path, we bind the PBO as a buffer texture,
so call is_format_supported accordingly. On radeonsi, this means that
GPU downloads aren't used for UNSIGNED_SHORT_5_6_5 destinations, for
example.
Fixes parts of GL45-CTS.gtf32.GL3Tests.packed_pixels.packed_pixels_pbo.
Reviewed-by: Marek Olšák <[email protected]>
Reviewed-by: Edward O'Callaghan <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker/st_glsl_to_nir.cpp')
0 files changed, 0 insertions, 0 deletions