broadcom/vc5: Start using nir_opt_move_load_ubo().

In the absence of a general NIR or VIR-level scheduler, this at least
avoids spilling in
GTF-GLES3.gtf.GL3Tests.uniform_buffer_object.uniform_buffer_object_storage_layouts
This commit is contained in:
Eric Anholt 2018-03-28 11:19:35 -07:00
parent 1fe4c748f7
commit 81f82ecc56
1 changed files with 2 additions and 0 deletions

View File

@ -1202,6 +1202,8 @@ v3d_optimize_nir(struct nir_shader *s)
NIR_PASS(progress, s, nir_opt_constant_folding);
NIR_PASS(progress, s, nir_opt_undef);
} while (progress);
NIR_PASS(progress, s, nir_opt_move_load_ubo);
}
static int