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:
Lucas Stach
2023-06-12 12:38:30 +02:00
committed by Marge Bot
parent 8f3e298a58
commit 12e4988e82

View File

@@ -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 */