X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=README.markdown;h=b1eb08397aa4bf1a64d1db5b2e7cf3dd11248599;hb=cbb86175e81c2765f14fa01a2dc49d367203ac1f;hp=c82149545f474e90b5e3135214470da0ab7a0ebd;hpb=db82d4062fd73362be2ceb66068720cab2814a74;p=apitrace diff --git a/README.markdown b/README.markdown index c821495..b1eb083 100644 --- a/README.markdown +++ b/README.markdown @@ -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 ---------------------------------