summaryrefslogtreecommitdiffstats
path: root/docs/gears.png
diff options
context:
space:
mode:
authorMathias Fröhlich <[email protected]>2016-05-22 14:10:19 +0200
committerMathias Fröhlich <[email protected]>2016-06-16 05:50:53 +0200
commit9a3fcb010c8ecbcbae0b7b299b64165051b03b85 (patch)
treed332fa710bf4c2858cf26b398543ef537c46426e /docs/gears.png
parent664aec437088dbee299499f0539adc3fc9a2386f (diff)
tnl: Use bitmask/ffs to iterate enabled lights
Replaces loops that iterate all lights and test which of them is enabled by a loop only iterating over the bits set in the enabled 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 'docs/gears.png')
0 files changed, 0 insertions, 0 deletions