mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-06 04:46:17 +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(
|
void D3D9DeviceEx::EmitGenerateMips(
|
||||||
D3D9CommonTexture* pResource) {
|
D3D9CommonTexture* pResource) {
|
||||||
|
if (pResource->IsManaged())
|
||||||
|
UploadManagedTexture(pResource);
|
||||||
|
|
||||||
EmitCs([
|
EmitCs([
|
||||||
cImageView = pResource->GetSampleView(false),
|
cImageView = pResource->GetSampleView(false),
|
||||||
cFilter = pResource->GetMipFilter()
|
cFilter = pResource->GetMipFilter()
|
||||||
|
Loading…
Reference in New Issue
Block a user