vc4: Clarify some values implicitly chosen for binning config.
authorEric Anholt <eric@anholt.net>
Tue, 5 Aug 2014 18:00:08 +0000 (11:00 -0700)
committerEric Anholt <eric@anholt.net>
Mon, 11 Aug 2014 21:45:32 +0000 (14:45 -0700)
These #defines are 0, but it should help make math above make more sense.

src/gallium/drivers/vc4/vc4_draw.c

index a76880cbb7fb592392b4b4bb3ef8320d91e47140..2fb57aaede7d220785e3ef77c631bf87c52a49ec 100644 (file)
@@ -67,7 +67,10 @@ vc4_start_draw(struct vc4_context *vc4)
         cl_reloc(vc4, &vc4->bcl, vc4->tile_state, 0);
         cl_u8(&vc4->bcl, tilew);
         cl_u8(&vc4->bcl, tileh);
-        cl_u8(&vc4->bcl, VC4_BIN_CONFIG_AUTO_INIT_TSDA);
+        cl_u8(&vc4->bcl,
+              VC4_BIN_CONFIG_AUTO_INIT_TSDA |
+              VC4_BIN_CONFIG_ALLOC_BLOCK_SIZE_32 |
+              VC4_BIN_CONFIG_ALLOC_INIT_BLOCK_SIZE_32);
 
         cl_u8(&vc4->bcl, VC4_PACKET_START_TILE_BINNING);