mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-20 15:20:38 +01:00
ac/surface: reduce gfx9_surface_layout size.
152->144. Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
cc73ab9884
commit
e852ecd22b
1 changed files with 3 additions and 2 deletions
|
|
@ -130,11 +130,12 @@ struct gfx9_surf_layout {
|
|||
struct gfx9_surf_meta_flags cmask; /* metadata of fmask */
|
||||
|
||||
enum gfx9_resource_type resource_type; /* 1D, 2D or 3D */
|
||||
uint16_t surf_pitch; /* in blocks */
|
||||
uint16_t surf_height;
|
||||
|
||||
uint64_t surf_offset; /* 0 unless imported with an offset */
|
||||
/* The size of the 2D plane containing all mipmap levels. */
|
||||
uint64_t surf_slice_size;
|
||||
uint16_t surf_pitch; /* in blocks */
|
||||
uint16_t surf_height;
|
||||
/* Mipmap level offset within the slice in bytes. Only valid for LINEAR. */
|
||||
uint32_t offset[RADEON_SURF_MAX_LEVELS];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue