-
Notifications
You must be signed in to change notification settings - Fork 327
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix for linear image with preinitialized intial layout (#1960)
1) If an image has linear tiling and has initial layout set to PREINITIALIZED, all its subresources data pool will be linked back to the bound device memory, no new pool will be created for those subresources. 2) If an image has linear tiling and has initial layout set to PREINITIALIZED, and it can not be used as TRANSFER_DST, render target or imageStore target, its data will be primed by maping memory and flush map memory ranges.
- Loading branch information
Showing
6 changed files
with
250 additions
and
78 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
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
Oops, something went wrong.