summaryrefslogtreecommitdiffstats
path: root/m4
diff options
context:
space:
mode:
authorNils Wallménius <nils.wallmenius@gmail.com>2016-07-22 13:10:03 +0200
committerNicolai Hähnle <nicolai.haehnle@amd.com>2016-07-25 13:51:16 +0200
commita354c389f524c2aa0fa64ac8b7e3d93c2cea4b81 (patch)
treec2bc04c2cbc3d9bb6935ee55cb2cbc9871aea27c /m4
parentdd208ea006c3c66bf64f21ecc1eaffdc0e57db5e (diff)
downloadexternal_mesa3d-a354c389f524c2aa0fa64ac8b7e3d93c2cea4b81.zip
external_mesa3d-a354c389f524c2aa0fa64ac8b7e3d93c2cea4b81.tar.gz
external_mesa3d-a354c389f524c2aa0fa64ac8b7e3d93c2cea4b81.tar.bz2
main: memcpy larger chunks in _mesa_propagate_uniforms_to_driver_storage
When possible, do the memcpy on larger blocks. This reduces cycles spent in _mesa_propagate_uniforms_to_driver_storage from 1.51 % to 0.62% according to perf during the Unigine Heaven benchmark. It did not affect the framerate of the benchmark. The system used for testing was an i5 6600K with a Radeon R9 380. Piglit hangs randomly on this system both with and without the patch so i could not make a comparison. v2: fixed whitespace Signed-off-by: Nils Wallménius <nils.wallmenius@gmail.com> Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
Diffstat (limited to 'm4')
0 files changed, 0 insertions, 0 deletions