-
Notifications
You must be signed in to change notification settings - Fork 238
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Vk] Fix assert in complex conditions
VulkanRenderSystem::flushBoundGpuProgramParameters would assert inside constBuffer->regressFrame(); The steps to trigger are: 1. Use mAutoParamsBuffer (i.e. a low level material with parameters) so that mFirstUnflushedAutoParamsBuffer becomes non-zero. 2. Stall twice in a row without presenting to screen. In real world scenarios this could happen if a lot of texture memory is streaming and TextureGpuManager is forced to stall.
- Loading branch information
1 parent
d56ad08
commit 5270e7d
Showing
2 changed files
with
14 additions
and
1 deletion.
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