[Mesa-dev] [PATCH 13/29] nouveau: Use bitmask/ffs to iterate enabled lights
From: Mathias FröhlichReplaces a loop that iterates 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-dev] [PATCH 13/29] nouveau: Use bitmask/ffs to iterate enabled lights
From: Mathias FröhlichReplaces a loop that iterates all lights and test which of them is enabled by a loop only iterating over the bits set in the enabled bitmask. Signed-off-by: Mathias Fröhlich ---