vc4: Decide the HW's format before laying out the miptree.
authorEric Anholt <eric@anholt.net>
Mon, 23 Mar 2015 23:21:25 +0000 (16:21 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 24 Mar 2015 17:39:12 +0000 (10:39 -0700)
commit04605c21f65bfbc78018c5bafa8cbf49e96a33b5
treef2eb2bfabf6ff6c309a8cb13278e891d0cab16ef
parent25d60763d9c2767c279f28ac2a7eddcd245f4259
vc4: Decide the HW's format before laying out the miptree.

I'm experimenting with a workaround for raster texture misrendering on
hardware, and this lets me look at the format chosen when computing
strides.
src/gallium/drivers/vc4/vc4_resource.c