mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-04-20 10:29:00 +02:00
FUCKCLANG
This commit is contained in:
parent
a7377f552a
commit
144e20800f
1 changed files with 0 additions and 1 deletions
|
|
@ -590,7 +590,6 @@ static TexelWeightParams DecodeBlockInfo(InputBitStream& strm) {
|
|||
// Replicates low num_bits such that [(to_bit - 1):(to_bit - 1 - from_bit)]
|
||||
// is the same as [(num_bits - 1):0] and repeats all the way down.
|
||||
[[nodiscard]] constexpr u32 Replicate(u32 v, u32 num_bits, u32 to_bit) {
|
||||
auto const mask = u32(1 << num_bits) - 1;
|
||||
auto val = v;
|
||||
for (; num_bits < to_bit; num_bits <<= 1)
|
||||
val |= val << u32(num_bits);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue