mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-12-11 10:24:10 +01:00
[d3d9] Upload managed resource if needed before mip gen
This commit is contained in:
parent
04397e5a7b
commit
7e72010302
@ -4219,6 +4219,9 @@ namespace dxvk {
|
||||
|
||||
void D3D9DeviceEx::EmitGenerateMips(
|
||||
D3D9CommonTexture* pResource) {
|
||||
if (pResource->IsManaged())
|
||||
UploadManagedTexture(pResource);
|
||||
|
||||
EmitCs([
|
||||
cImageView = pResource->GetSampleView(false),
|
||||
cFilter = pResource->GetMipFilter()
|
||||
|
Loading…
Reference in New Issue
Block a user