summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/vc4/vc4_program.c
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2015-08-03 17:20:33 -0700
committerEric Anholt <[email protected]>2015-08-04 20:03:10 -0700
commit6c28ee20410afe97dd441b0c9c680b26eb4072fc (patch)
tree70327b3febc82959888aab103ce6d1a5738e4630 /src/gallium/drivers/vc4/vc4_program.c
parent45248d3640f5a0356085e26c44548bf3af5dec0f (diff)
nir: Add a nir_lower_load_const_to_scalar() pass.
This is useful to increase the CSE opportunities for a scalar backend. It avoids regressions when dropping vc4's custom CSE implementation. v2: Cleanups by Matt (decl in the for loop, and unreachable()). Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/gallium/drivers/vc4/vc4_program.c')
0 files changed, 0 insertions, 0 deletions