mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-10 02:50:28 +01:00
agx: add main_size info
so we can fastlink when there are preambles Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28483>
This commit is contained in:
parent
0298c5d905
commit
66862fa160
1 changed files with 3 additions and 0 deletions
|
|
@ -73,6 +73,9 @@ struct agx_shader_info {
|
|||
/* Scratch memory allocation in bytes for main/preamble respectively */
|
||||
unsigned scratch_size, preamble_scratch_size;
|
||||
|
||||
/* Size in bytes of the main sahder */
|
||||
unsigned main_size;
|
||||
|
||||
/* Does the shader have a preamble? If so, it is at offset preamble_offset.
|
||||
* The main shader is at offset main_offset. The preamble is executed first.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue