mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 02:58:05 +02:00
etnaviv: move resource level dimension members to make comments line up
Width and height of the resource level are stored in pixels, while the padded dimensions are stored in samples. Move the members to make them line up with the comments. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Reviewed-by: Christian Gmeiner <cgmeiner@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23595>
This commit is contained in:
parent
8f3e298a58
commit
12e4988e82
1 changed files with 2 additions and 2 deletions
|
|
@ -54,8 +54,8 @@ struct etna_ts_sw_meta {
|
|||
};
|
||||
|
||||
struct etna_resource_level {
|
||||
unsigned width, padded_width; /* in pixels */
|
||||
unsigned height, padded_height; /* in samples */
|
||||
unsigned width, height; /* in pixels */
|
||||
unsigned padded_width, padded_height; /* in samples */
|
||||
unsigned depth;
|
||||
unsigned offset; /* offset into memory area */
|
||||
uint32_t stride; /* row stride */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue