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:
@@ -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 */
|
||||
|
Reference in New Issue
Block a user