summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2017-06-10 23:12:25 +0200
committerMarek Olšák <[email protected]>2017-06-22 01:51:02 +0200
commit4d6fab245eec3880e2a59424a579851f44857ce8 (patch)
tree28bc3a24c0db8b436b8356f949db3156387cf18e /scripts
parentc8459846905bf7adfb6b5010a77aee9269228bdb (diff)
cso: don't track the number of sampler states bound
This removes 2 loops from hot codepaths and adds 1 loop to a rare codepath (restore_sampler_states), and makes sanitize_hash() slightly worse. Sampler states, when bound, are not unbound for draw calls that don't need them. That's OK, because bound sampler states don't add any overhead. This results in lower CPU overhead in most cases. Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions