mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-03 13:40:11 +01:00
radeonsi: remove 8 bytes from si_resource, turn other 4 bytes into padding
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10813>
This commit is contained in:
parent
5af124c92c
commit
712f74f590
1 changed files with 3 additions and 3 deletions
|
|
@ -300,8 +300,8 @@ struct si_resource {
|
|||
/* Resource properties. */
|
||||
uint64_t bo_size;
|
||||
uint8_t bo_alignment_log2;
|
||||
enum radeon_bo_domain domains;
|
||||
enum radeon_bo_flag flags;
|
||||
enum radeon_bo_domain domains:8;
|
||||
enum radeon_bo_flag flags:16;
|
||||
unsigned bind_history;
|
||||
int max_forced_staging_uploads;
|
||||
|
||||
|
|
@ -332,7 +332,7 @@ struct si_resource {
|
|||
bool image_handle_allocated;
|
||||
|
||||
/* Whether the resource has been exported via resource_get_handle. */
|
||||
unsigned external_usage; /* PIPE_HANDLE_USAGE_* */
|
||||
uint8_t external_usage; /* PIPE_HANDLE_USAGE_* */
|
||||
};
|
||||
|
||||
struct si_transfer {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue