summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/readpix.h
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:54 +0200
commitd4eb2f9cda1fa08949f8e28ef414bbb41e150459 (patch)
tree8747a1c1844b7c5a3e0beac5f27259bb769356b7 /src/mesa/main/readpix.h
parent3ee409bebfa88eaec34a7f912a1bbc86304a522f (diff)
mesa: Use bitmask/ffs to build ff fragment shader keys.
Replaces an iterate and test bit in a bitmask loop by a loop only iterating over the bits set in the bitmask. The bitmask used here for iteration is a combination of different enabled masks present for texture units. 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/readpix.h')
0 files changed, 0 insertions, 0 deletions