Force 16 Word limit for Linked List GPU

This commit is contained in:
Jaby
2024-02-07 22:04:28 -05:00
parent 3df6a83899
commit 8124daeaa1
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 {