Skip to content
Snippets Groups Projects
Commit 0f087b56 authored by Alyssa Rosenzweig's avatar Alyssa Rosenzweig Committed by Marge Bot
Browse files

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: default avatarAlyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <!20562>
parent 02fe57b7
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment