summaryrefslogtreecommitdiffstats
path: root/src/gallium/tests
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2015-11-11 17:09:40 -0800
committerEric Anholt <eric@anholt.net>2015-11-17 17:45:23 -0800
commitdd05ffebfcb5d2e7ca44def1907aa2fbadd5e19d (patch)
treec8f2b98de60ee51131fefe80b3f2581929a8cdc2 /src/gallium/tests
parentdffe7260cd5f9c70df4b817c26a4268ddad2475c (diff)
downloadexternal_mesa3d-dd05ffebfcb5d2e7ca44def1907aa2fbadd5e19d.zip
external_mesa3d-dd05ffebfcb5d2e7ca44def1907aa2fbadd5e19d.tar.gz
external_mesa3d-dd05ffebfcb5d2e7ca44def1907aa2fbadd5e19d.tar.bz2
vc4: Don't bother lowering uniforms when the same value is used twice.
DEQP likes to do math on uniforms, and the "fmaxabs dst, uni, uni" to get the absolute value would get lowered. The lowering doesn't bother to try to restrict the lifetime of the lowered uniforms, so we'd end up register allocation failng due to this on 5 of the tests (More tests still fail in RA, which look like we'll need to reduce lowered uniform lifetimes to fix). No changes on shader-db, though fewer extra MOVs are generated on even glxgears (MOVs pair well enough that it ends up being the same instruction count).
Diffstat (limited to 'src/gallium/tests')
0 files changed, 0 insertions, 0 deletions