diff options
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. |