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:
committed by
Marge Bot
parent
0298c5d905
commit
66862fa160
@@ -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.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user