Sample code for the book "Introduction to 3D Game Programming with DirectX 12"
d3dcoder/d3d12book
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
master
Could not load branches
Nothing to show
Could not load tags
Nothing to show
{{ refName }}
default
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code
-
Clone
Use Git or checkout with SVN using the web URL.
Work fast with our official CLI. Learn more.
- Open with GitHub Desktop
- Download ZIP
Sign In Required
Please sign in to use Codespaces.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching Xcode
If nothing happens, download Xcode and try again.
Launching Visual Studio Code
Your codespace will open once ready.
There was a problem preparing your codespace, please try again.
Latest commit
A d3d12 update made visible some errors that did not cause crashes before (at least on some NVIDIA hardware). SSAO requires an SRV to the application depth buffer. However, the depth buffer resource format was specified as DXGI_FORMAT_D24_UNORM_S8_UINT. Therefore, it was an error to create an SRV to this resource with format DXGI_FORMAT_R24_UNORM_X8_TYPELESS. The fix is to create the depth buffer resource with the typless format DXGI_FORMAT_R24G8_TYPELESS so that we can create a DSV with format DXGI_FORMAT_D24_UNORM_S8_UINT and an SRV with format DXGI_FORMAT_R24_UNORM_X8_TYPELESS. Also fixed a small error with the SSAO normal map resource not being in the expected initial state.
4cfd00a
Git stats
Files
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
About
Sample code for the book "Introduction to 3D Game Programming with DirectX 12"
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published