mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-03-06 20:58:37 +01:00
[util] Add simple [] operator to our bitset
This commit is contained in:
parent
7d0ddc4b3b
commit
9919ffe5ca
1 changed files with 4 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue