Signed-off-by: Arno Messiaen <arnomessiaen@gmail.com>
Reviewed-by: Vasily Khoruzhick <anarsoul@gmail.com>
Reviewed-by: Erico Nunes <nunes.erico@gmail.com>
else {
/* for padded linear texture */
if (lima_res->levels[first_level].width != width) {
- desc->stride = lima_res->levels[first_level].width;
+ desc->stride = lima_res->levels[first_level].stride;
desc->has_stride = 1;
}
layout = 0;
uint32_t format : 6;
uint32_t flag1: 1;
uint32_t swap_r_b: 1;
- uint32_t unknown_0_1: 10;
- uint32_t stride: 13;
+ uint32_t unknown_0_1: 8;
+ uint32_t stride: 15;
uint32_t unknown_0_2: 1;
/* Word 1-3 */