1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-03-04 10:29:15 +01:00

Assign viewInfo.minLayer for D3D11VideoProcessorInputView

This commit is contained in:
VPInventions 2025-01-27 00:55:22 +01:00 committed by Philip Rebohle
parent 5b21286377
commit 3d35925a05

View File

@ -200,7 +200,7 @@ namespace dxvk {
viewInfo.viewType = VK_IMAGE_VIEW_TYPE_2D; viewInfo.viewType = VK_IMAGE_VIEW_TYPE_2D;
viewInfo.mipIndex = m_desc.Texture2D.MipSlice; viewInfo.mipIndex = m_desc.Texture2D.MipSlice;
viewInfo.mipCount = 1; viewInfo.mipCount = 1;
viewInfo.layerIndex = 0; viewInfo.layerIndex = m_desc.Texture2D.ArraySlice;
viewInfo.layerCount = 1; viewInfo.layerCount = 1;
break; break;