vc4: Make the miptree debug code available under VC4_DEBUG=surf
authorEric Anholt <eric@anholt.net>
Thu, 29 Jun 2017 00:39:34 +0000 (17:39 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 12 Jul 2017 17:58:33 +0000 (10:58 -0700)
commit111b6b77cb3147b12fd7907d75309e0bf023ced0
treea1fba7d7699f0c307b99f640366c24093a3a6073
parenta2d87a00191a7cfecfea65185ff1eca3ca958160
vc4: Make the miptree debug code available under VC4_DEBUG=surf

I kept flipping the bool on for debug, so let's just make it available.

Reviewed-by: Daniel Stone <daniels@collabora.com>
src/gallium/drivers/vc4/vc4_resource.c
src/gallium/drivers/vc4/vc4_screen.c
src/gallium/drivers/vc4/vc4_screen.h