General: address feedback
This commit is contained in:
parent
0d99b7962d
commit
ca3db0d7c9
30 changed files with 167 additions and 165 deletions
|
@ -195,7 +195,7 @@ public:
|
|||
BitField<24, 2, u32> num_dst_components_minus_one;
|
||||
};
|
||||
|
||||
Swizzle GetComponent(size_t i) {
|
||||
Swizzle GetComponent(size_t i) const {
|
||||
const u32 raw = dst_components_raw;
|
||||
return static_cast<Swizzle>((raw >> (i * 3)) & 0x7);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue