diff options
| author | kopaka1822 <felixbruell@live.de> | 2023-05-23 20:59:21 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-05-23 11:59:21 -0700 |
| commit | a291dbf0ce774fdc11c820471e26bda656bf1666 (patch) | |
| tree | 3c0635119e4b095e9746afac73ac124efce0453f /source | |
| parent | 192c318900c9bc4248cacc1b9bb6b195baf2b23e (diff) | |
fixed incorrect handling of D3D12_RENDER_TARGET_VIEW_DESC.ViewDimensi… (#2897)
* fixed incorrect handling of D3D12_RENDER_TARGET_VIEW_DESC.ViewDimension for arrays (needs to be set based on the underlying resource and not the requested view. Otherwise members like FirstArraySlice can not be set properly).
Also fixes problems with D3D12_RENDER_TARGET_VIEW_DESC.PlaneSlice since Texture2DArray.PlaneSlice and Texture2D.PlaneSlice do not share the same memory location (unlike the MipSlice).
* fixed isArray definition for d3d12 texture views
---------
Co-authored-by: Yong He <yonghe@outlook.com>
Diffstat (limited to 'source')
0 files changed, 0 insertions, 0 deletions
