mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 08:40:11 +01:00
panfrost: Add Valhall fields to panfrost_batch
There are new data structures that we need to (dirty) track. Add the corresponding fields so we can proceed as with Bifrost dirty tracking. Trivial increase in memory usage, but that should not matter as batches are few. Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15797>
This commit is contained in:
parent
270e3e02f2
commit
fed04de481
1 changed files with 11 additions and 0 deletions
|
|
@ -129,6 +129,17 @@ struct panfrost_batch {
|
|||
mali_ptr attrib_bufs[PIPE_SHADER_TYPES];
|
||||
mali_ptr uniform_buffers[PIPE_SHADER_TYPES];
|
||||
mali_ptr push_uniforms[PIPE_SHADER_TYPES];
|
||||
mali_ptr depth_stencil;
|
||||
mali_ptr blend;
|
||||
|
||||
/* Valhall: struct mali_scissor_packed */
|
||||
unsigned scissor[2];
|
||||
float minimum_z, maximum_z;
|
||||
|
||||
/* Used on Valhall only. Midgard includes attributes in-band with
|
||||
* attributes, wildly enough.
|
||||
*/
|
||||
mali_ptr images[PIPE_SHADER_TYPES];
|
||||
|
||||
/* Referenced resources */
|
||||
struct set *resources;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue