mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2025-02-17 20:31:57 -05:00
Bind all depth slices of 3D textures.
This commit is contained in:
parent
7eb18e4a10
commit
88d7afe576
1 changed files with 1 additions and 1 deletions
|
@ -2427,7 +2427,7 @@ BX_PRAGMA_DIAGNOSTIC_POP();
|
||||||
desc.ViewDimension = D3D11_UAV_DIMENSION_TEXTURE3D;
|
desc.ViewDimension = D3D11_UAV_DIMENSION_TEXTURE3D;
|
||||||
desc.Texture3D.MipSlice = _mip;
|
desc.Texture3D.MipSlice = _mip;
|
||||||
desc.Texture3D.FirstWSlice = 0;
|
desc.Texture3D.FirstWSlice = 0;
|
||||||
desc.Texture3D.WSize = 1;
|
desc.Texture3D.WSize = -1;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue