pvr: move pvr_load_op_state to pvr_mrt.h

Signed-off-by: Ella Stanforth <ella@igalia.com>
Acked-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38744>
This commit is contained in:
Ella Stanforth 2025-10-13 11:43:00 +01:00 committed by Marge Bot
parent 3d1e2b3976
commit b076f8170e
2 changed files with 9 additions and 9 deletions

View file

@ -119,15 +119,6 @@ struct pvr_renderpass_colorinit {
VkAttachmentLoadOp op; VkAttachmentLoadOp op;
}; };
struct pvr_load_op_state {
uint32_t load_op_count;
/* Load op array indexed by HW render view (not by the index in the view
* mask).
*/
struct pvr_load_op *load_ops;
};
struct pvr_renderpass_hwsetup_render { struct pvr_renderpass_hwsetup_render {
/* Number of pixel output registers to allocate for this render. */ /* Number of pixel output registers to allocate for this render. */
uint32_t output_regs_count; uint32_t output_regs_count;

View file

@ -168,4 +168,13 @@ CHECK_MASK_SIZE(pvr_load_op,
#undef CHECK_MASK_SIZE #undef CHECK_MASK_SIZE
struct pvr_load_op_state {
uint32_t load_op_count;
/* Load op array indexed by HW render view (not by the index in the view
* mask).
*/
struct pvr_load_op *load_ops;
};
#endif #endif