projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
680d806
)
ac/surface: use uint16_t for mipmap level pitches
author
Samuel Pitoiset
<samuel.pitoiset@gmail.com>
Fri, 3 Jan 2020 07:07:58 +0000
(08:07 +0100)
committer
Samuel Pitoiset
<samuel.pitoiset@gmail.com>
Mon, 6 Jan 2020 06:59:50 +0000
(07:59 +0100)
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/amd/common/ac_surface.h
patch
|
blob
|
history
diff --git
a/src/amd/common/ac_surface.h
b/src/amd/common/ac_surface.h
index 1e90c08b2e53337c62d873dc08dcd869f02ba781..5de487baee48d70275f8ea79c24a0246497b0751 100644
(file)
--- a/
src/amd/common/ac_surface.h
+++ b/
src/amd/common/ac_surface.h
@@
-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. */
- uint
32
_t pitch[RADEON_SURF_MAX_LEVELS];
+ uint
16
_t pitch[RADEON_SURF_MAX_LEVELS];
uint64_t stencil_offset; /* separate stencil */