Commit graph

5 commits

Author SHA1 Message Date
GPUCode
a019d98af9 texture: Use spans 2023-07-20 15:43:24 +03:00
Wunkolo
119c908aa7 Add explicit return-type overload for getBits
Allows the return-type to be specified, allowing a concise final cast
after extracting the bit-type.  Addresses the remaining `C4244` warnings
regarding `getBits`.
2023-07-10 12:33:37 -07:00
Wunkolo
2c94d0d683 Add Helpers:{getBits,getBit}
`constexpr` functions for extractint bitfields that lends itself a bit
better to emitting instructions like `bextr` on x86 or `ubfx` on arm64.
And may subjectively make things a bit more readable.
"Extract `5` bits" rather than `& 0x1F`.
2023-06-10 00:48:06 -07:00
wheremyfoodat
05cbdba965 Fix typo 2023-04-30 15:16:45 +03:00
wheremyfoodat
0cd3f581d3 [PICA] Add ETC1 and ETC1A4 support 2023-03-01 01:42:46 +02:00