[Mesa-dev] [PATCH] main: memcpy larger chunks in _mesa_propagate_uniforms_to_driver_storage

Kenneth Graunke 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...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20160713/5cf9b653/attachment.sig>


More information about the mesa-dev mailing list