diff --git a/src/util/util_bit.h b/src/util/util_bit.h index 981981fb4..319dbae1f 100644 --- a/src/util/util_bit.h +++ b/src/util/util_bit.h @@ -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];