st/mesa: add PBO download enable bit and fragment shaders
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Tue, 26 Apr 2016 02:56:47 +0000 (21:56 -0500)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Wed, 1 Jun 2016 20:37:34 +0000 (22:37 +0200)
commit852d3fcd3b4e0a1612540045f18c46975a49dec6
treed3f6af7cda1639c98444aa302372c93d71ec5909
parent581c001532fb9890b0f66b8e78ab134a16ae56ce
st/mesa: add PBO download enable bit and fragment shaders

For downloads, the fragment shader must know the source texture target, hence
we may cache multiple fragment shaders.

v2: break long line (Marek)

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/mesa/state_tracker/st_context.h
src/mesa/state_tracker/st_pbo.c