swr: fix texture layout for compressed formats
authorIlia Mirkin <imirkin@alum.mit.edu>
Wed, 9 Nov 2016 21:41:16 +0000 (16:41 -0500)
committerIlia Mirkin <imirkin@alum.mit.edu>
Wed, 16 Nov 2016 01:25:15 +0000 (20:25 -0500)
commit8c0f76e961ae023bbe7c8deed1abd04496e9691b
treebef6fa81f60809360e27565910e41a896a48e5ac
parent00efbbc38ccc1507b0963da4d60c601b9e0cb932
swr: fix texture layout for compressed formats

Fixes the texsubimage piglit and lets the copyteximage one get further.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com>
src/gallium/drivers/swr/swr_context.cpp
src/gallium/drivers/swr/swr_screen.cpp