]> git.cworth.org Git - apitrace/blobdiff - README.markdown
d3dretrace: Dump D3D8 images too.
[apitrace] / README.markdown
index c82149545f474e90b5e3135214470da0ab7a0ebd..b1eb08397aa4bf1a64d1db5b2e7cf3dd11248599 100644 (file)
@@ -241,6 +241,13 @@ Then run the application as usual.
 You can specify the written trace filename by setting the `TRACE_FILE`
 environment variable before running.
 
+For D3D10 and higher you really must use `apitrace trace -a DXGI ...`. This is
+because D3D10-11 API span many DLLs which depend on each other, and once a DLL
+with a given name is loaded Windows will reuse it for LoadLibrary calls of the
+same name, causing internal calls to be traced erroneously. `apitrace trace`
+solves this issue by injecting a DLL `dxgitrace.dll` and patching all modules
+to hook only the APIs of interest.
+
 
 Emitting annotations to the trace
 ---------------------------------