diff options
Diffstat (limited to 'src/freedreno/fdl/fd6_layout.c')
-rw-r--r-- | src/freedreno/fdl/fd6_layout.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/freedreno/fdl/fd6_layout.c b/src/freedreno/fdl/fd6_layout.c index b5ffde5f8fe..47a6c852da7 100644 --- a/src/freedreno/fdl/fd6_layout.c +++ b/src/freedreno/fdl/fd6_layout.c @@ -218,7 +218,7 @@ fdl6_layout(struct fdl_layout *layout, if (level == mip_levels - 1) height = align(nblocksy, 4); - slice->offset = layout->size; + slice->offset = offset + layout->size; slice->pitch = align(u_minify(pitch0, level), pitchalign); /* 1d array and 2d array textures must all have the same layer size |