AnsweredAssumed Answered

agsDriverExtensionsDX11_SetDepthBounds - how to specify which device context?

Question asked by hodgman on Jan 15, 2018
Latest reply on Feb 8, 2018 by hodgman

(sorry I didn't find a D3D sub-forum)

Hi, I've just started implementing the AGS driver extensions into our D3D11 back-end, and have run into one major road block. How do functions such as agsDriverExtensionsDX11_SetDepthBounds know which ID3D11DeviceContext they apply to? The first parameter of these functions is a AGSContext*, which is associated with a D3D11 device (all contexts!?). Do they apply to the immediate context, or to all contexts owned by that device?


Is it safe / possible to use the AMD driver extensions in an application that uses multiple device contexts? Are there thread-safety guarantees with these functions?