diff options
author | Kenneth Graunke <[email protected]> | 2014-02-10 11:06:03 -0800 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2014-02-19 15:35:53 -0800 |
commit | 6eeae17c02267c57ba3f9f2ace6252fb50dbc9ec (patch) | |
tree | 470309866edbe57c0054c78975327fdff5ce0869 /src/mapi/vgapi/Makefile.am | |
parent | 2ed5824a5d5400d1534139d2bda9858b95b67234 (diff) |
i965: Use ffs() for sample counting in gen7_surface_msaa_bits().
The enumerations are just log2(num_samples) shifted by 3, which we can
easily compute via ffs().
This also makes it reusable for Broadwell, which has 2x MSAA.
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Reviewed-by: Anuj Phogat <[email protected]>
Diffstat (limited to 'src/mapi/vgapi/Makefile.am')
0 files changed, 0 insertions, 0 deletions