mirror of https://github.com/doitsujin/dxvk
[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:
parent
6d16bb4c87
commit
c934d85b85
|
@ -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 {
|
|||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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 {
|
|||
|
||||
};
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue