freedreno/a6xx: Fix LRZ

LRZ fastclear offset can be greater than 16b.

Fixes: b1937f76ff ("freedreno/a6xx: Allocate lrcfc when needed for direction tracking")
Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30649>
This commit is contained in:
Rob Clark
2024-08-13 10:38:47 -07:00
committed by Marge Bot
parent 4a59c319dc
commit 141466eb27
@@ -168,7 +168,7 @@ struct fd_resource {
uint16_t lrz_width; // for lrz clear, does this differ from lrz_pitch?
uint16_t lrz_height;
uint16_t lrz_pitch;
uint16_t lrz_fc_offset;
uint32_t lrz_fc_offset;
struct fd_bo *lrz;
};