mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-11-29 01:24:11 +01:00
[dxvk] Don't override tracked write with a read
Fixes a regression in Control.
This commit is contained in:
parent
201e1628b0
commit
10fac66007
@ -545,7 +545,7 @@ namespace dxvk {
|
|||||||
*/
|
*/
|
||||||
void trackId(uint64_t trackingId, DxvkAccess access) {
|
void trackId(uint64_t trackingId, DxvkAccess access) {
|
||||||
// Encode write access in the least significant bit
|
// Encode write access in the least significant bit
|
||||||
m_trackId = (trackingId << 1u) + uint64_t(access == DxvkAccess::Write);
|
m_trackId = std::max(m_trackId, (trackingId << 1u) + uint64_t(access == DxvkAccess::Write));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user