From: Eric Anholt Date: Tue, 5 Aug 2014 18:00:08 +0000 (-0700) Subject: vc4: Clarify some values implicitly chosen for binning config. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7050ab510decce2606ffcd0298b3c7fb13a1401e;p=mesa.git vc4: Clarify some values implicitly chosen for binning config. These #defines are 0, but it should help make math above make more sense. --- diff --git a/src/gallium/drivers/vc4/vc4_draw.c b/src/gallium/drivers/vc4/vc4_draw.c index a76880cbb7f..2fb57aaede7 100644 --- a/src/gallium/drivers/vc4/vc4_draw.c +++ b/src/gallium/drivers/vc4/vc4_draw.c @@ -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);