summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/osmesa
diff options
context:
space:
mode:
authorKenneth Graunke <kenneth@whitecape.org>2013-08-14 18:55:15 -0700
committerKenneth Graunke <kenneth@whitecape.org>2013-08-20 01:09:52 -0700
commita4ff1fd388369dbf80d324c84502b28b5f9d3da4 (patch)
tree28f06f17c7059adfbd9d28af547d8d2cc10677d5 /src/gallium/targets/osmesa
parentce87c51e9ad131670fd8e4dcc0d023d0b057612b (diff)
downloadexternal_mesa3d-a4ff1fd388369dbf80d324c84502b28b5f9d3da4.zip
external_mesa3d-a4ff1fd388369dbf80d324c84502b28b5f9d3da4.tar.gz
external_mesa3d-a4ff1fd388369dbf80d324c84502b28b5f9d3da4.tar.bz2
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 <kenneth@whitecape.org> Reviewed-by: Paul Berry <stereotype441@gmail.com>
Diffstat (limited to 'src/gallium/targets/osmesa')
0 files changed, 0 insertions, 0 deletions