Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Loading or capture depth/stencil formats is unsupported for DirectX 12 #46

Open
walbourn opened this issue Jan 31, 2017 · 1 comment
Open
Labels

Comments

@walbourn
Copy link
Member

walbourn commented Jan 31, 2017

In DirectX 11, depth/stencil formats are non-planar so DDS files are as well.

In DirectX 12, depth/stencil formats are planar.

case DXGI_FORMAT_R32G8X24_TYPELESS:
case DXGI_FORMAT_D32_FLOAT_S8X24_UINT:
case DXGI_FORMAT_R32_FLOAT_X8X24_TYPELESS:
case DXGI_FORMAT_X32_TYPELESS_G8X24_UINT:
case DXGI_FORMAT_R24G8_TYPELESS:
case DXGI_FORMAT_D24_UNORM_S8_UINT:
case DXGI_FORMAT_R24_UNORM_X8_TYPELESS:
case DXGI_FORMAT_X24_TYPELESS_G8_UINT:
@walbourn walbourn added the bug label Jan 31, 2017
@walbourn
Copy link
Member Author

Requires the code perform planar <-> non-planar conversions for just the formats with stencil data.

@walbourn walbourn added enhancement and removed bug labels Feb 1, 2017
@walbourn walbourn changed the title Loading or capture depth/stencil formats fails for DirectX 12 Loading or capture depth/stencil formats is unsupported for DirectX 12 Feb 1, 2017
@walbourn walbourn added the dx12 Direct3D 12 label Sep 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant