mirror of
https://github.com/holub/mame
synced 2025-10-04 16:34:53 +03:00
DX12 not working under mingw so disabling it for now (nw)
This commit is contained in:
parent
dc4e3db9a5
commit
7acef62424
4
3rdparty/bgfx/src/bgfx.cpp
vendored
4
3rdparty/bgfx/src/bgfx.cpp
vendored
@ -1496,7 +1496,11 @@ again:
|
||||
|
||||
if (windowsVersionIs(Condition::GreaterEqual, 0x0602) )
|
||||
{
|
||||
#if defined(__MINGW32__)
|
||||
first = RendererType::Direct3D11;
|
||||
#else
|
||||
first = RendererType::Direct3D12;
|
||||
#endif // __MINGW32__
|
||||
second = RendererType::Direct3D11;
|
||||
if (!s_rendererCreator[second].supported)
|
||||
{
|
||||
|
12
3rdparty/bgfx/src/renderer_d3d12.cpp
vendored
12
3rdparty/bgfx/src/renderer_d3d12.cpp
vendored
@ -4199,6 +4199,12 @@ data.NumQualityLevels = 0;
|
||||
}
|
||||
}
|
||||
|
||||
struct Bind
|
||||
{
|
||||
D3D12_GPU_DESCRIPTOR_HANDLE m_srvHandle;
|
||||
uint16_t m_samplerStateIdx;
|
||||
};
|
||||
|
||||
void RendererContextD3D12::submit(Frame* _render, ClearQuad& /*_clearQuad*/, TextVideoMemBlitter& _textVideoMemBlitter)
|
||||
{
|
||||
// PIX_BEGINEVENT(D3DCOLOR_RGBA(0xff, 0x00, 0x00, 0xff), L"rendererSubmit");
|
||||
@ -4273,12 +4279,6 @@ data.NumQualityLevels = 0;
|
||||
|
||||
D3D12_GPU_VIRTUAL_ADDRESS gpuAddress = UINT64_C(0);
|
||||
|
||||
struct Bind
|
||||
{
|
||||
D3D12_GPU_DESCRIPTOR_HANDLE m_srvHandle;
|
||||
uint16_t m_samplerStateIdx;
|
||||
};
|
||||
|
||||
StateCacheLru<Bind, 64> bindLru;
|
||||
|
||||
setResourceBarrier(m_commandList
|
||||
|
Loading…
Reference in New Issue
Block a user