summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/get_hash_params.py
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:55 +0200
commit34f741b0809a0d7bb5dbc262bbc3ff2eb743090f (patch)
treee532656b4f82b18cabdaede7935046bdb25fc932 /src/mesa/main/get_hash_params.py
parent11a5b776c20a9f9dd7fd822d56e3a8a979278151 (diff)
mesa: Use bitmask/ffs to iterate the enabled textures.
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/get_hash_params.py')
0 files changed, 0 insertions, 0 deletions