vc4: Fix write-only texsubimage when we had to align.
authorEric Anholt <eric@anholt.net>
Sat, 20 Jun 2015 02:41:25 +0000 (19:41 -0700)
committerEric Anholt <eric@anholt.net>
Sat, 20 Jun 2015 07:16:32 +0000 (00:16 -0700)
commitbb107110a4d97191841985076dd9f2fbd0937dfc
tree5c27e3cbb9d1a5b203406208fc1db17465dd2457
parent028590cbc758e877b963ba430f0a0cb49e882a6b
vc4: Fix write-only texsubimage when we had to align.

We need to make sure that when we store the aligned box, we've got
initialized contents in the border.  We could potentially just load the
border area, but for now let's get text rendering working in X (and fix
the GL_TEXTURE_2D errors in piglit's texsubimage test and
gl-2.1-pbo/test_tex_image)
src/gallium/drivers/vc4/vc4_resource.c
src/mesa/main/extensions.c