r600g: suballocate memory for the STRMOUT_BUFFER_FILLED_SIZE register
authorMarek Olšák <maraeo@gmail.com>
Sun, 9 Dec 2012 16:56:26 +0000 (17:56 +0100)
committerMarek Olšák <maraeo@gmail.com>
Wed, 12 Dec 2012 12:12:28 +0000 (13:12 +0100)
commit8df3855eed67302e83e4b181c4fa02183ccc185a
tree51415a2636e6341c093befb37e59a2b09278c991
parentcc2d908572d0ed97171e37e446372ab039ed5422
r600g: suballocate memory for the STRMOUT_BUFFER_FILLED_SIZE register

Instead of having a 4-byte buffer for each streamout target, we suballocate
each dword from a 4K buffer.

This further reduces the overall number of relocations.

Tested-by: Aaron Watry <awatry@gmail.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
src/gallium/drivers/r600/r600.h
src/gallium/drivers/r600/r600_hw_context.c
src/gallium/drivers/r600/r600_pipe.c
src/gallium/drivers/r600/r600_pipe.h
src/gallium/drivers/r600/r600_state_common.c