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

Nils Wallménius nils.wallmenius at gmail.com
Thu Jul 14 10:33:38 UTC 2016


Den 13 juli 2016 9:48 em skrev "Kenneth Graunke" <kenneth at whitecape.org>:

>

> 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...

Ah, I figured it was a generic thing. Anyway it is used by the radeonsi
driver so cc: ing some amd guys.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20160714/b92240de/attachment-0001.html>


More information about the mesa-dev mailing list