-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix potential framegraph textures use-after free
make sure to unset all textures in the per-view sampler group after they are used, because the resource could be destroyed after the pass is finished - unset the fog and ibl_specular after the color pass - move that cleanup a bit earlier - in the case of screen-space reflection the structure pass is set, but might not be used in the color pass, so we also need to unset it after the SSR pass and before any other passes.
- Loading branch information
1 parent
2aa51db
commit 2b620e6
Showing
2 changed files
with
15 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters