diff options
author | Kenneth Graunke <[email protected]> | 2012-01-26 05:38:28 -0800 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2012-01-27 18:02:43 -0800 |
commit | 4aa158d09aab294845d33027dc1ef42056dec90a (patch) | |
tree | aabb598fc07ab1120eedfa90c36b70728b13129d /src/mesa/swrast/s_copypix.c | |
parent | 38b76cf8319168c3628cc18c6231e9a081a2481b (diff) |
i965/vs: Use the sampler for VS pull constant loading on Ivybridge.
Substantially increases performance in GLBenchmark PRO:
- 320x240 => 3.28x
- 1920x1080 => 1.47x
- 2560x1440 => 1.27x
The LD message ignores the sampler unit index and SAMPLER_STATE pointer,
instead relying on hard-wired default state. Thus, there's no need to
worry about running out of sampler units or providing SAMPLER_STATE;
this small patch should be all that's required.
NOTE: This is a candidate for release branches.
(It requires the preceding commit to compile.)
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
(cherry picked from commit 259b65e2e7938de4aab323033cfe2b33369ddb07)
Diffstat (limited to 'src/mesa/swrast/s_copypix.c')
0 files changed, 0 insertions, 0 deletions