[Mesa-dev] [PATCH] main: memcpy larger chunks in _mesa_propagate_uniforms_to_driver_storage
kenneth at whitecape.org
Wed Jul 13 19:48:12 UTC 2016
On Wednesday, July 13, 2016 1:53:26 PM PDT Nils Wallménius wrote:
> 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.
> Signed-off-by: Nils Wallménius <nils.wallmenius at gmail.com>
Huh. I didn't think any drivers used the driver_storage mechanism...
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 819 bytes
Desc: This is a digitally signed message part.
More information about the mesa-dev