diff options
author | Gregory Hainaut <[email protected]> | 2016-06-24 10:07:02 +0200 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2016-07-05 16:44:31 +1000 |
commit | 6a524c76f502fe15bb3612065a23ece693aed237 (patch) | |
tree | 3ca20d9043342502b503abc81b44d489870215db /.travis.yml | |
parent | cb728df9670d8399479db8502145bbc6f653cfb3 (diff) |
mesa: faster validation of sampler unit mapping for SSO
Code was inspired from _mesa_update_shader_textures_used
However unlike _mesa_update_shader_textures_used that only check for a single
stage, it will check all stages.
It avoids to loop on all uniforms, only active samplers are checked.
For my use case: high FS frequency switches with few samplers.
Perf event (relative to nouveau_dri.so) goes from 5.01% to 1.68% for
the _mesa_sampler_uniforms_pipeline_are_valid function.
Signed-off-by: Gregory Hainaut <[email protected]>
Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to '.travis.yml')
0 files changed, 0 insertions, 0 deletions