Force 16 Word limit for Linked List GPU

This commit is contained in:
Jaby
2024-02-07 22:04:28 -05:00
committed by Jaby
parent 76c53a31df
commit 90ce445ed5
5 changed files with 99 additions and 46 deletions

View File

@@ -77,8 +77,8 @@ namespace JabyEngine {
return &this->element;
}
// TODO: Remove this magic number?
//static_assert((sizeof(T) >> 2) <= 16);
// TODO: Replace this magic number?
static_assert((sizeof(T) >> 2) <= 16);
};
namespace internal {