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

[d3d9] Don't mark D3DUSAGE_AUTOGENMIPMAP as renderable

We can't access those mips via locking in D3D9 so it's a-okay! :)
This commit is contained in:
Joshua Ashton 2020-01-24 05:47:00 +00:00
parent 2004fba22c
commit 13792df4c5

View File

@ -3833,7 +3833,7 @@ namespace dxvk {
pResource->SetLockFlags(Subresource, Flags); pResource->SetLockFlags(Subresource, Flags);
bool renderable = desc.Usage & (D3DUSAGE_RENDERTARGET | D3DUSAGE_DEPTHSTENCIL | D3DUSAGE_AUTOGENMIPMAP); bool renderable = desc.Usage & (D3DUSAGE_RENDERTARGET | D3DUSAGE_DEPTHSTENCIL);
// If we are dirty, then we need to copy -> buffer // If we are dirty, then we need to copy -> buffer
// We are also always dirty if we are a render target, // We are also always dirty if we are a render target,