commit | 00b6635407c93de066f9f32a61aba16b014ced3d | [log] [tgz] |
---|---|---|
author | Faith Ekstrand <faith.ekstrand@collabora.com> | Mon Aug 12 12:24:44 2024 -0500 |
committer | Marge Bot <emma+marge@anholt.net> | Sat Aug 17 20:32:27 2024 +0000 |
tree | 124e0d6bf2d23d9751a727c89b1f8d34c426ff47 | |
parent | 7d6cc15ab81178be7660a27b26626734773c267f [diff] |
nvk: Emit NVK_MME_SCRATCH_DRAW_BEGIN as part of flush_ia_state() We're always storing it in a scratch register for register pressure reasons anyway. We may as well just stash it there as a state reg and we can avoid emitting it all over the place. This reduces each draw call to nvk_flush_gfx_state() followed by the actual draw, which is now independenty of any dynamic state. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30703>