st/mesa: also move yoffset to zoffset for 1d array textures
authorIlia Mirkin <imirkin@alum.mit.edu>
Sun, 16 Aug 2015 01:42:02 +0000 (21:42 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Mon, 17 Aug 2015 05:00:43 +0000 (01:00 -0400)
commitbb9881fccf4c3606e66ec607dfb0387c9e068e3d
tree3e2bc553548a6b52854004adc10583d51efb0a70
parentafccbd725655e6e607029a8b359886f62e4aa807
st/mesa: also move yoffset to zoffset for 1d array textures

Do the same as in st_TexSubImage. This fixes
arb_get_texture_sub_image-get on llvmpipe when it is set to prefer
blits, and nouveau when it uses the 3d engine for blits.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/mesa/state_tracker/st_cb_texture.c