mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-07 17:20:21 +01:00
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:
parent
02fe57b7e9
commit
0f087b56d0
1 changed files with 1 additions and 6 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue