Assign viewInfo.minLayer for D3D11VideoProcessorInputView

This commit is contained in:
VPInventions 2025-01-27 00:55:22 +01:00 committed by GitHub
parent 5b21286377
commit 89a833b37b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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