[Mesa-dev] [PATCH] i965/vec4: Use the sampler for pull constant loads on Broadwell.
Matt Turner
mattst88 at gmail.com
Sat Jun 14 13:11:01 PDT 2014
On Sat, Jun 14, 2014 at 12:58 PM, Kenneth Graunke <kenneth at whitecape.org> wrote:
> We've used the LD sampler message for pull constant loads on earlier
> hardware for some time, and also were already using it for the FS on
> Broadwell. This patch makes us use it for Broadwell VS/GS as well.
>
> I believe that when I wrote this code in 2012, we still used the data
> port in some cases, and I somehow neglected to convert it while
> rebasing.
>
> Improves performance in GLBenchmark 2.7 Egypt by 416.978% +/- 2.25821%
> (n = 17). Many other applications should benefit similarly: this speeds
> up uniform array access in the VS, which is commonly used for skinning
> shaders, among other things.
Wow.
Reviewed-by: Matt Turner <mattst88 at gmail.com>
More information about the mesa-dev
mailing list