mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-28 21:01:04 +00:00
Disable assertion of valid transitions
* This is going to be difficult to debug and verify without the layer to debug and verify that all transitions are correct (both on the app side and renderdoc's replay side). For now, disable the assert and just hope that the app got it right and we replay it right.
This commit is contained in:
@@ -333,8 +333,11 @@ void VulkanResourceManager::ApplyTransitions(vector< pair<ResourceId, ImageRegio
|
||||
it->range.baseArraySlice == t.range.baseArraySlice &&
|
||||
it->range.arraySize == numslices)
|
||||
{
|
||||
RDCASSERT(t.prevstate == UNTRANSITIONED_IMG_STATE || it->state == UNTRANSITIONED_IMG_STATE ||
|
||||
it->state == t.prevstate);
|
||||
/*
|
||||
RDCASSERT(t.prevstate == UNTRANSITIONED_IMG_STATE || it->state == UNTRANSITIONED_IMG_STATE || // renderdoc untracked/ignored
|
||||
it->state == t.prevstate || // valid transition
|
||||
t.prevstate == VK_IMAGE_LAYOUT_UNDEFINED); // can transition from UNDEFINED to any state
|
||||
*/
|
||||
t.prevstate = it->state;
|
||||
it->state = t.state;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user