Commit 4e193c5d authored by Joshua Ashton's avatar Joshua Ashton 🐸

[d3d9] Fix stencil format types.

parent 3dc00a52
Pipeline #57 passed with stage
in 1 minute and 40 seconds
......@@ -84,12 +84,12 @@ namespace dxup {
{ D3DFMT_D24FS8, DXGI_FORMAT_D24_UNORM_S8_UINT },
{ D3DFMT_D32, DXGI_FORMAT_D32_FLOAT },
{ D3DFMT_D16, DXGI_FORMAT_D32_FLOAT },
{ D3DFMT_DF24, DXGI_FORMAT_D24_UNORM_S8_UINT },
{ D3DFMT_DF16, DXGI_FORMAT_D24_UNORM_S8_UINT },
{ D3DFMT_DF24, DXGI_FORMAT_D32_FLOAT },
{ D3DFMT_DF16, DXGI_FORMAT_D32_FLOAT },
//{ D3DFMT_INTZ, DXGI_FORMAT_D32_FLOAT },
{ D3DFMT_S8_LOCKABLE, DXGI_FORMAT_D24_UNORM_S8_UINT },
{ D3DFMT_S8_LOCKABLE, DXGI_FORMAT_D24_UNORM_S8_UINT }, // No stencil-only formats :/
{ D3DFMT_D16_LOCKABLE, DXGI_FORMAT_D32_FLOAT },
{ D3DFMT_D32F_LOCKABLE, DXGI_FORMAT_D24_UNORM_S8_UINT },
{ D3DFMT_D32F_LOCKABLE, DXGI_FORMAT_D32_FLOAT },
{ D3DFMT_D32_LOCKABLE, DXGI_FORMAT_D32_FLOAT },
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment