summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2013-08-14 18:55:15 -0700
committerKenneth Graunke <[email protected]>2013-08-20 01:09:52 -0700
commita4ff1fd388369dbf80d324c84502b28b5f9d3da4 (patch)
tree28f06f17c7059adfbd9d28af547d8d2cc10677d5 /src/gallium/targets
parentce87c51e9ad131670fd8e4dcc0d023d0b057612b (diff)
i965: Shorten sampler loops in precompile key setup.
Now that we have the number of samplers available, we don't need to iterate over all 16. This should be particularly helpful for vertex shaders. v2: Use the correct shader program (caught by Paul Berry). This needs to initialize the exact same set of sampler swizzles as the actual key setup, or else we end up doing recompiles due to some being XYZW and others being 0. Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Paul Berry <[email protected]>
Diffstat (limited to 'src/gallium/targets')
0 files changed, 0 insertions, 0 deletions