mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
ac/surface: use uint16_t for mipmap level pitches
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com>
This commit is contained in:
parent
680d806950
commit
09ea2de2b8
1 changed files with 1 additions and 1 deletions
|
|
@ -155,7 +155,7 @@ struct gfx9_surf_layout {
|
|||
/* Mipmap level offset within the slice in bytes. Only valid for LINEAR. */
|
||||
uint32_t offset[RADEON_SURF_MAX_LEVELS];
|
||||
/* Mipmap level pitch in elements. Only valid for LINEAR. */
|
||||
uint32_t pitch[RADEON_SURF_MAX_LEVELS];
|
||||
uint16_t pitch[RADEON_SURF_MAX_LEVELS];
|
||||
|
||||
uint64_t stencil_offset; /* separate stencil */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue