D3D12: Fixed initial data upload for buffers with UAV. (#3850)

This commit is contained in:
Branimir Karadžić
2026-07-25 21:55:32 -07:00
committed by GitHub
parent f0ff45697b
commit 3a5d1df4ff

View File

@@ -5654,7 +5654,7 @@ namespace bgfx { namespace d3d12
: D3D12_RESOURCE_STATE_GENERIC_READ
);
if (!m_dynamic)
if (NULL != _data)
{
update(commandList, 0, _size, _data);
}