diff options
| author | 2022-01-10 19:44:19 -0500 | |
|---|---|---|
| committer | 2022-01-11 16:01:12 -0500 | |
| commit | d92b5fc435b5444314fc1ce407a908ba0222f318 (patch) | |
| tree | 09d1be56d9cb49ec7bbe0ff3663c5f0b9fd8ca84 /src/shader_recompiler/frontend/maxwell/control_flow.cpp | |
| parent | Merge pull request #7683 from liushuyu/fmt-8.1 (diff) | |
| download | yuzu-d92b5fc435b5444314fc1ce407a908ba0222f318.tar.gz yuzu-d92b5fc435b5444314fc1ce407a908ba0222f318.tar.xz yuzu-d92b5fc435b5444314fc1ce407a908ba0222f318.zip | |
common: bit_util: Add IsPow2 helper function
Makes use of std::has_single_bit() to check whether the value is a power of 2.
Diffstat (limited to 'src/shader_recompiler/frontend/maxwell/control_flow.cpp')
0 files changed, 0 insertions, 0 deletions