mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-20 05:43:12 +01:00
D3D12: Fixed texture array UAV.
This commit is contained in:
@@ -4778,8 +4778,10 @@ namespace bgfx { namespace d3d12
|
||||
if (1 < numLayers)
|
||||
{
|
||||
m_uavd.ViewDimension = D3D12_UAV_DIMENSION_TEXTURE2DARRAY;
|
||||
m_uavd.Texture2DArray.MipSlice = 0;
|
||||
m_uavd.Texture2DArray.PlaneSlice = 0;
|
||||
m_uavd.Texture2DArray.MipSlice = 0;
|
||||
m_uavd.Texture2DArray.FirstArraySlice = 0;
|
||||
m_uavd.Texture2DArray.PlaneSlice = 0;
|
||||
m_uavd.Texture2DArray.ArraySize = numLayers;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user