d3dretrace: Dump depth buffers
d3dretrace: Dump depth buffers

Use RESZ hack to dump depth buffers.
RESZ is supported by AMD, Intel and WINE.

The code has been tested on Windows with AMD Radeon
Mobility HD45xx Series and on WINE.
Tested depth buffer format was D3DFMT_D24S8.

Signed-off-by: Patrick Rudolph <2af63f351b8bda7baf3a287b873bcd3ca66a59bb@das-labor.org>

apitrace/apitrace,apitrace/apitrace,apitrace/apitrace,apitrace/apitrace