mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-12-13 16:08:50 +01:00
[dxvk] Fix MSVC build.
This commit is contained in:
parent
c50a650b13
commit
58909e4582
@ -354,7 +354,7 @@ namespace dxvk {
|
|||||||
std::vector<HashEntry> m_hashMap;
|
std::vector<HashEntry> m_hashMap;
|
||||||
|
|
||||||
static size_t computeHash(K key) {
|
static size_t computeHash(K key) {
|
||||||
return size_t(reinterpret_cast<uint64_t>(key));
|
return size_t(uint64_t(key));
|
||||||
}
|
}
|
||||||
|
|
||||||
size_t computeIndex(K key) const {
|
size_t computeIndex(K key) const {
|
||||||
|
@ -65,7 +65,7 @@ namespace dxvk {
|
|||||||
state.add(depthView);
|
state.add(depthView);
|
||||||
for (uint32_t i = 0; i < MaxNumRenderTargets; i++)
|
for (uint32_t i = 0; i < MaxNumRenderTargets; i++)
|
||||||
state.add(colorViews[i]);
|
state.add(colorViews[i]);
|
||||||
state.add(reinterpret_cast<uint64_t>(renderPass));
|
state.add(uint64_t(renderPass));
|
||||||
return state;
|
return state;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user