Skip to content

Commit 2798fba

Browse files
author
devsh
committed
sync validation TODO
1 parent 4eef9f9 commit 2798fba

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

include/nbl/asset/ECommonEnums.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,9 @@ inline core::bitflag<ACCESS_FLAGS> allAccessesFromStages(core::bitflag<PIPELINE_
257257
};
258258
constexpr PerStageAccesses bitToAccess = {};
259259

260+
// TODO: add logically later or previous stages to make sure all other accesses remain valid
261+
// or ideally expand the stages before calling `allAccessesFromStages` (TODO: add a `allLaterStages` and `allPreviouStages` basically)
262+
260263
core::bitflag<ACCESS_FLAGS> retval = ACCESS_FLAGS::NONE;
261264
while (bool(stages.value))
262265
{

0 commit comments

Comments
 (0)