diff options
author | Marek Olšák <[email protected]> | 2016-11-06 15:46:26 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2017-03-30 14:44:33 +0200 |
commit | de55e57e29d3392bfc7a7cb31ddf883e382d8138 (patch) | |
tree | f3aaceb10f403ba3e26b4cfaaf9ce55f65fe7522 /src/gallium/drivers/radeon/radeon_winsys.h | |
parent | bd1da6b33975d7fb3be6b2150899e1002c666ef7 (diff) |
radeonsi/gfx9: set/validate GFX9 BO metadata
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeon/radeon_winsys.h')
-rw-r--r-- | src/gallium/drivers/radeon/radeon_winsys.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeon/radeon_winsys.h b/src/gallium/drivers/radeon/radeon_winsys.h index b3c7608c81e..78391703479 100644 --- a/src/gallium/drivers/radeon/radeon_winsys.h +++ b/src/gallium/drivers/radeon/radeon_winsys.h @@ -250,6 +250,11 @@ struct radeon_bo_metadata { unsigned stride; bool scanout; } legacy; + + struct { + /* surface flags */ + unsigned swizzle_mode:5; + } gfx9; } u; /* Additional metadata associated with the buffer, in bytes. |