diff options
author | Mathias Fröhlich <[email protected]> | 2016-05-22 14:10:19 +0200 |
---|---|---|
committer | Mathias Fröhlich <[email protected]> | 2016-06-16 05:50:54 +0200 |
commit | dc9e604ef16ee19cf7480325100e6edd768dbb16 (patch) | |
tree | 40052cf394cb694710869b8003fc04c8ced48837 /src/mesa/main/vdpau.h | |
parent | d8a3ac90df67ab1b397b59acdaf4f8e5dc27203a (diff) |
mesa: Use bitmask/ffs to iterate enabled clip planes.
Replaces an iterate and test bit in a bitmask loop by a
loop only iterating over the bits set in the bitmask.
v2: Use _mesa_bit_scan{,64} instead of open coding.
v3: Use u_bit_scan{,64} instead of _mesa_bit_scan{,64}.
Reviewed-by: Brian Paul <[email protected]>
Signed-off-by: Mathias Fröhlich <[email protected]>
Diffstat (limited to 'src/mesa/main/vdpau.h')
0 files changed, 0 insertions, 0 deletions