diff --git a/src/d3d11/d3d11_context.cpp b/src/d3d11/d3d11_context.cpp index 04b24411..bc11fe69 100644 --- a/src/d3d11/d3d11_context.cpp +++ b/src/d3d11/d3d11_context.cpp @@ -4,6 +4,7 @@ #include "d3d11_device.h" #include "d3d11_query.h" #include "d3d11_texture.h" +#include "d3d11_video.h" #include "../dxbc/dxbc_util.h" @@ -959,6 +960,7 @@ namespace dxvk { auto dsv = dynamic_cast(pView); auto rtv = dynamic_cast(pView); auto uav = dynamic_cast(pView); + auto vov = dynamic_cast(pView); // Retrieve underlying resource view Rc bufView; @@ -975,6 +977,9 @@ namespace dxvk { imgView = uav->GetImageView(); } + if (vov != nullptr) + imgView = vov->GetView(); + // 3D views are unsupported if (imgView != nullptr && imgView->info().type == VK_IMAGE_VIEW_TYPE_3D)