diff options
author | Eric Anholt <[email protected]> | 2013-02-19 14:36:06 -0800 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2013-03-11 12:11:54 -0700 |
commit | f179f419d1d0a03fad36c2b0a58e8b853bae6118 (patch) | |
tree | ecbb1cd461996b93e37fc85c7e1bb35c37e3d266 /src/mesa/program/prog_noise.c | |
parent | 4dc7e6dcbf0d9c360e257c704774c9b083511b47 (diff) |
i965/fs: Improve live variables calculation performance.
We can execute way fewer instructions by doing our boolean manipulation
on an "int" of bits at a time, while also reducing our working set size.
Reduces compile time of L4D2's slowest shader from 4s to 1.1s
(-72.4% +/- 0.2%, n=10)
v2: Remove redundant masking (noted by Ken)
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/program/prog_noise.c')
0 files changed, 0 insertions, 0 deletions