diff options
author | Marek Olšák <[email protected]> | 2012-12-09 17:56:26 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2012-12-12 13:12:28 +0100 |
commit | 8df3855eed67302e83e4b181c4fa02183ccc185a (patch) | |
tree | 51415a2636e6341c093befb37e59a2b09278c991 /src/gallium/drivers/r600/r600_pipe.h | |
parent | cc2d908572d0ed97171e37e446372ab039ed5422 (diff) |
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 <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600/r600_pipe.h')
-rw-r--r-- | src/gallium/drivers/r600/r600_pipe.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/r600_pipe.h b/src/gallium/drivers/r600/r600_pipe.h index a61a6e8c082..e707a4adda6 100644 --- a/src/gallium/drivers/r600/r600_pipe.h +++ b/src/gallium/drivers/r600/r600_pipe.h @@ -28,6 +28,7 @@ #include "util/u_blitter.h" #include "util/u_slab.h" +#include "util/u_suballoc.h" #include "r600.h" #include "r600_llvm.h" #include "r600_public.h" @@ -389,6 +390,7 @@ struct r600_context { struct radeon_winsys_cs *cs; struct blitter_context *blitter; struct u_upload_mgr *uploader; + struct u_suballocator *allocator_so_filled_size; struct util_slab_mempool pool_transfers; /* Hardware info. */ |