branchsbox/remove-dx9-d3dxcancel

2 Commits over 0 Days - ∞cph!

2 Years Ago
Delete dead D3DX dlls
2 Years Ago
Remove fallback DX9 code for getting driver version, it's straightforward to grab from the registry by the DX adapter LUID. This returns the same windows driver version numbers DX9 was reporting, but I've added some vendor specific renames e.g for nvidia "31.0.15.1659" becomes "516.59" making it easier to filter by driver for us rendersystemdx11: stop linking d3d9 rendersystemdx11: stop linking nvapi LoadD3dCompiler calls Plat_LoadModule without full path ( this is exactly the same way ADJ and we use the same d3dcompiler_47.dll - so hopefully that fixes weird WINE shit ) Replace Direct3D 9 PIX with D3D11 ID3DUserDefinedAnnotation - we're getting a much better list of events in RenderDoc now too New: https://files.facepunch.com/matt/1b2911b1/qrenderdoc_5uxtBKqZlV.png Old: https://files.facepunch.com/matt/1b2911b1/qrenderdoc_fcTCgPGtQT.png - Enable CPixEventScope to record events, these are used to tell us our View / Layer - Don't limit these events behind Plat_IsRunningOnCustomerMachine() - there is no overhead and it can be incredibly helpful for us having them on Steam builds Implemented following guidance of: https://developer.nvidia.com/blog/best-practices-gpu-performance-events/ rendersystemdx11: don't link d3dx11 legacy stuff Fix ErrorReports::UpdateGpu usage from rebase conflcit