diff options
author | Bas Nieuwenhuizen <[email protected]> | 2016-03-10 21:19:37 +0100 |
---|---|---|
committer | Bas Nieuwenhuizen <[email protected]> | 2016-04-19 18:10:30 +0200 |
commit | 0d7ddd6819b1007ee1490755068660fbc436e974 (patch) | |
tree | a814f6c8b4256369a621cd21f616e11f715520ed /src/gallium/drivers/radeonsi/si_state.h | |
parent | 86c71ff989f39401e3a8195aabcaae8dae89146b (diff) |
radeonsi: Allocate chunks of CE ram.
v2: Use 32 byte alignment.
v3: Don't allocate CE space for vertex buffer descriptors.
Signed-off-by: Bas Nieuwenhuizen <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_state.h')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_state.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/si_state.h b/src/gallium/drivers/radeonsi/si_state.h index 6748f802c7d..fbdc8ee64bc 100644 --- a/src/gallium/drivers/radeonsi/si_state.h +++ b/src/gallium/drivers/radeonsi/si_state.h @@ -198,6 +198,9 @@ struct si_descriptors { struct r600_resource *buffer; unsigned buffer_offset; + /* Offset in CE RAM */ + unsigned ce_offset; + /* The i-th bit is set if that element is enabled (non-NULL resource). */ uint64_t enabled_mask; |