diff options
author | Arno Messiaen <[email protected]> | 2019-09-29 23:21:39 +0200 |
---|---|---|
committer | Vasily Khoruzhick <[email protected]> | 2019-10-31 06:29:31 +0000 |
commit | f3686083a4144e520090b109640cde5945a0b307 (patch) | |
tree | 8790e2edaa376bcf8fab6a9a1e58c21b4e35b5b1 /src/gallium/drivers/lima/lima_texture.c | |
parent | 7b3f38ef69769f1d2bc022186b404885396b1136 (diff) |
lima: fix stride in texture descriptor
Signed-off-by: Arno Messiaen <[email protected]>
Reviewed-by: Vasily Khoruzhick <[email protected]>
Reviewed-by: Erico Nunes <[email protected]>
Diffstat (limited to 'src/gallium/drivers/lima/lima_texture.c')
-rw-r--r-- | src/gallium/drivers/lima/lima_texture.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/lima/lima_texture.c b/src/gallium/drivers/lima/lima_texture.c index a259a1c7b7a..b25d84ec20f 100644 --- a/src/gallium/drivers/lima/lima_texture.c +++ b/src/gallium/drivers/lima/lima_texture.c @@ -89,7 +89,7 @@ lima_texture_desc_set_res(struct lima_context *ctx, lima_tex_desc *desc, 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; |