mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-31 14:52:11 +01:00
[util] Add simple [] operator to our bitset
This commit is contained in:
parent
7d0ddc4b3b
commit
9919ffe5ca
@ -252,6 +252,10 @@ namespace dxvk::bit {
|
||||
return Dwords;
|
||||
}
|
||||
|
||||
constexpr bool operator [] (uint32_t idx) const {
|
||||
return get(idx);
|
||||
}
|
||||
|
||||
private:
|
||||
|
||||
uint32_t m_dwords[Dwords];
|
||||
|
Loading…
x
Reference in New Issue
Block a user