1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-01-18 02:52:10 +01:00

Fix raw() accessor on the Flags class

The current implementation has a bug where it casts the underlying
int type to a uint32_t. The is incorrect for enums like DxvkShaderFlag
which are based on uint64_t.
This commit is contained in:
Mahdi Tayarani 2021-08-24 15:51:27 -04:00 committed by Philip Rebohle
parent 4b50d24231
commit ae881981f9

View File

@ -64,7 +64,7 @@ namespace dxvk {
m_bits = 0;
}
uint32_t raw() const {
IntType raw() const {
return m_bits;
}