Force 16 Word limit for Linked List GPU

This commit is contained in:
2024-02-07 22:04:28 -05:00
parent 507615df97
commit 77c0dd28db
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 {