Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move to Clang Format 15 | Levi Behunin | 2023-01-30 | 1 | -3/+3 |
| | | | | | | Depends on https://github.com/yuzu-emu/build-environments/pull/69 clang-15 primary run | ||||
* | general: Convert source file copyright comments over to SPDX | Morph | 2022-04-23 | 1 | -3/+2 |
| | | | | | This formats all copyright comments according to SPDX formatting guidelines. Additionally, this resolves the remaining GPLv2 only licensed files by relicensing them to GPLv2.0-or-later. | ||||
* | bit_util: Add `bit` utility function | Wunkolo | 2022-03-09 | 1 | -0/+7 |
| | | | | Extracts a singular bit, as a bool, from the specified compile-time index. | ||||
* | common: bit_util: Add IsPow2 helper function | Morph | 2022-01-11 | 1 | -0/+6 |
| | | | | Makes use of std::has_single_bit() to check whether the value is a power of 2. | ||||
* | TextureCache: Refactor and fix linux compiling. | Fernando Sahmkow | 2021-11-20 | 1 | -0/+7 |
| | |||||
* | common: Add missing include to bit_util.h | bunnei | 2021-01-22 | 1 | -0/+1 |
| | |||||
* | bit_util: Unify implementations of MostSignificantBit32/MostSignificantBit64 | Lioncash | 2021-01-21 | 1 | -35/+13 |
| | | | | | | We can use the standardized CLZ facilities to perform this. This also allows us to make utilizing functions constexpr and eliminate the inclusion of an intrinsics header. | ||||
* | common/bit_util: Replace CLZ/CTZ operations with standardized ones | Lioncash | 2021-01-15 | 1 | -76/+0 |
| | | | | Makes for less code that we need to maintain. | ||||
* | common: Make use of [[nodiscard]] where applicable | Lioncash | 2020-08-15 | 1 | -17/+17 |
| | | | | | | Now that clang-format makes [[nodiscard]] attributes format sensibly, we can apply them to several functions within the common library to allow the compiler to complain about any misuses of the functions. | ||||
* | texture_cache: Optimize GetMipBlockHeight and GetMipBlockDepth | Fernando Sahmkow | 2019-06-21 | 1 | -0/+44 |
| | |||||
* | common/bit_util: Make CountLeading/CountTrailing functions have the same return types | Lioncash | 2019-04-05 | 1 | -8/+8 |
| | | | | | | Makes the return type consistently uniform (like the intrinsics we're wrapping). This also conveniently silences a truncation warning within the kernel multi_level_queue. | ||||
* | Fixes and corrections on formatting. | Fernando Sahmkow | 2019-03-27 | 1 | -1/+0 |
| | |||||
* | Implement intrinsics CountTrailingZeroes and test it. | Fernando Sahmkow | 2019-03-27 | 1 | -12/+33 |
| | |||||
* | Implement a MultiLevelQueue | Fernando Sahmkow | 2019-03-27 | 1 | -0/+19 |
| | |||||
* | common: Add basic bit manipulation utility function to Common | Lioncash | 2018-12-21 | 1 | -0/+61 |