[d3d11] Move D3D11ImmediateContext constexpr values to .cpp file

In my winelib builds, I get unresolved dxvk::D3D11ImmediateContext::MinFlushIntervalUs symbol. I'm not sure why it doesn't inline this constexpr, but it doesn't seem useful to expose that in header anyway.
This commit is contained in:
Jacek Caban 2018-07-15 19:45:40 +02:00 committed by Philip Rebohle
parent 6d16bb4c87
commit c934d85b85
2 changed files with 5 additions and 4 deletions

View File

@ -3,6 +3,9 @@
#include "d3d11_device.h"
#include "d3d11_texture.h"
constexpr static uint32_t MinFlushIntervalUs = 1250;
constexpr static uint32_t MaxPendingSubmits = 3;
namespace dxvk {
D3D11ImmediateContext::D3D11ImmediateContext(
@ -552,4 +555,4 @@ namespace dxvk {
}
}
}
}

View File

@ -10,8 +10,6 @@ namespace dxvk {
class D3D11CommonTexture;
class D3D11ImmediateContext : public D3D11DeviceContext {
constexpr static uint32_t MinFlushIntervalUs = 1250;
constexpr static uint32_t MaxPendingSubmits = 3;
public:
D3D11ImmediateContext(
@ -159,4 +157,4 @@ namespace dxvk {
};
}
}