DX12: fix invalid state when creating a BLIT_DST texture without mem block (#3656)

* DX12: fix invalid state when creating a BLIT_DST texture without mem block

* Only set state when it's not external texture.

---------

Co-authored-by: Branimir Karadžić <branimirkaradzic@gmail.com>
This commit is contained in:
Vincent Bousquet
2026-04-15 01:28:37 +02:00
committed by GitHub
parent cc109f587b
commit e9a4f671bc

View File

@@ -5781,6 +5781,10 @@ namespace bgfx { namespace d3d12
s_renderD3D12->m_cmd.release(staging);
}
else if (0 == _external)
{
setState(commandList, state);
}
if (0 != kk)
{