vc4: Clarify some values implicitly chosen for binning config.

These #defines are 0, but it should help make math above make more sense.
This commit is contained in:
Eric Anholt 2014-08-05 11:00:08 -07:00
parent ed5cb5d7d5
commit 7050ab510d
1 changed files with 4 additions and 1 deletions

View 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);