File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -2657,7 +2657,8 @@ namespace avk
2657
2657
stagingBuffer.enable_shared_ownership (); // TODO: Why does it not work WITHOUT shared_ownership? (Fails when assigning it to mBeginFun)
2658
2658
stagingBuffer->fill (aDataPtr, 0 ); // Recurse into the other if-branch
2659
2659
2660
- // Whatever comes after must synchronize with the device-local copy:
2660
+ // Whatever comes before/after must synchronize with the device-local copy:
2661
+ std::get<avk::sync::sync_hint>(actionTypeCommand.mResourceSpecificSyncHints .front ()).mDstForPreviousCmds = stage::copy + (access::transfer_read | access::transfer_write);
2661
2662
std::get<avk::sync::sync_hint>(actionTypeCommand.mResourceSpecificSyncHints .front ()).mSrcForSubsequentCmds = stage::copy + access::transfer_write;
2662
2663
actionTypeCommand.infer_sync_hint_from_resource_sync_hints ();
2663
2664
You can’t perform that action at this time.
0 commit comments