Module: Mesa
Branch: main
Commit: fa81da9e2f0b4b379b0bcf4c260fe4bc6b8e1ba6
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=fa81da9e2f0b4b379b0bcf4c260fe4bc6b8e1ba6

Author: Asahi Lina <[email protected]>
Date:   Tue Nov  8 10:35:27 2022 -0500

asahi: Add render scanout to resource

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19606>

---

 src/gallium/drivers/asahi/agx_state.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/gallium/drivers/asahi/agx_state.h 
b/src/gallium/drivers/asahi/agx_state.h
index 62b95b383e7..3b9562ed16a 100644
--- a/src/gallium/drivers/asahi/agx_state.h
+++ b/src/gallium/drivers/asahi/agx_state.h
@@ -288,6 +288,8 @@ struct agx_resource {
    struct sw_displaytarget     *dt;
    unsigned dt_stride;
 
+   struct renderonly_scanout *scanout;
+
    BITSET_DECLARE(data_valid, PIPE_MAX_TEXTURE_LEVELS);
 
    struct ail_layout layout;

Reply via email to