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