diff options
author | Rob Clark <[email protected]> | 2017-06-03 13:36:25 -0400 |
---|---|---|
committer | Rob Clark <[email protected]> | 2017-06-07 12:32:00 -0400 |
commit | 5b60004525876616c4719bb790108db4650b1f49 (patch) | |
tree | cc11b8987407f837a7967a8b2a4087d3a3deaed2 /src/gallium/drivers/freedreno/freedreno_resource.h | |
parent | 313f6360aa1204eea8639112d5ddce697a7aabdf (diff) |
freedreno/a5xx: LRZ support
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/freedreno_resource.h')
-rw-r--r-- | src/gallium/drivers/freedreno/freedreno_resource.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/gallium/drivers/freedreno/freedreno_resource.h b/src/gallium/drivers/freedreno/freedreno_resource.h index 9f6da5c21c1..5bdb0075761 100644 --- a/src/gallium/drivers/freedreno/freedreno_resource.h +++ b/src/gallium/drivers/freedreno/freedreno_resource.h @@ -95,6 +95,15 @@ struct fd_resource { * shadowed. */ uint32_t bc_batch_mask; + + /* + * LRZ + */ + bool lrz_valid : 1; + uint16_t lrz_width; // for lrz clear, does this differ from lrz_pitch? + uint16_t lrz_height; + uint16_t lrz_pitch; + struct fd_bo *lrz; }; static inline struct fd_resource * |