···161161 bool used;
162162};
163163164164+/// Holds an array of @ref comp_scratch_view_state to match the number of views
164165struct comp_render_scratch_state
165166{
166167 struct comp_scratch_view_state views[2];
···173174 *
174175 */
175176177177+/// Zeroes the object pointed to by @p crss then populates it with the image indices.
176178static void
177179scratch_get_init(struct comp_render_scratch_state *crss, struct comp_renderer *r, uint32_t view_count)
178180{
···184186 }
185187}
186188189189+/// Calls done or discard on each view in @p crss, depending on whether "used" is set.
187190static void
188191scratch_get_fini(struct comp_render_scratch_state *crss, struct comp_renderer *r, uint32_t view_count)
189192{