summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texstate.c
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
commitc14ec9aafa156c01fabf14d5f75cfe6fc4302480 (patch)
tree8d2ddb67869dfae2457ae08e79ecef06e261d191 /src/mesa/main/texstate.c
parent53691b7cb1246286db38db04f8aeb88fef75feb7 (diff)
mesa: Use bitmask/ffs to iterate SamplersUsed
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/texstate.c')
0 files changed, 0 insertions, 0 deletions