AnsweredAssumed Answered

CrossFire, transfer texture after ID3D11DeviceContext->Unmap

Question asked by roger1 on Oct 27, 2016
Latest reply on Oct 27, 2016 by cgrant78@netzero.com

Hi,

 

 

In my application I have the following sequence :

  • Frame1: Function ID3D11DeviceContext->Map is used to get texture pointer.
  • Somewhere in between two frames: Texture is filled with data, using pointer from Frame1.
  • Frame2: ID3D11DeviceContext->Unmap is called and the texture is used.

 

 

It works fine, but not on CrossFire(AFR Friendly), because texture appears inside GPU1 memory(I think) and the application needs it inside GPU2 memory.

 

 

Is it possible to transfer texture to GPU2 after deviceContext->Unmap ?

 

 

If yes, where do I place functions ?

agsDriverExtensionsDX11_NotifyResourceBeginAllAccess

agsDriverExtensionsDX11_NotifyResourceEndWrites

agsDriverExtensionsDX11_NotifyResourceEndAllAccess

Outcomes