agx: Bump preamble_storage_size to 512

nir_opt_preamble is now aware of the internal uniforms we insert, so it can use
the whole uniform file available to it. This lets us push more (all?) uniform
loads in Dolphin ubershaders to the preamble.

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20562>
This commit is contained in:
Alyssa Rosenzweig 2022-12-28 22:46:35 -05:00 committed by Marge Bot
parent 02fe57b7e9
commit 0f087b56d0

View file

@ -149,12 +149,7 @@ static const nir_opt_preamble_options preamble_options = {
.instr_cost_cb = instr_cost,
.rewrite_cost_cb = rewrite_cost,
.avoid_instr_cb = avoid_instr,
/* Storage size 16-bit words. Should be 512, but we push some sysvals ad hoc
* in the backend compiler, so we need to reserve space. When we move UBO and
* VBO lowering to NIR, this can be bumped up to 512.
*/
.preamble_storage_size = 256,
.preamble_storage_size = 512,
};
bool