Skip to content

Commit 0a0d4ed

Browse files
authored
Update HandleAllocator in test (#8508)
1 parent b9a39bc commit 0a0d4ed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

filament/backend/test/test_Handles.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ using namespace filament::backend;
2727
static constexpr uint32_t HANDLE_HEAP_FLAG = 0x80000000u;
2828
static constexpr size_t POOL_SIZE_BYTES = 8 * 1024U * 1024U;
2929
// NOTE: actual count may be lower due to alignment requirements
30-
constexpr size_t const POOL_HANDLE_COUNT = POOL_SIZE_BYTES / (32 + 96 + 136); // 31775
30+
constexpr size_t const POOL_HANDLE_COUNT = POOL_SIZE_BYTES / (32 + 96 + 184); // 31775
3131

3232
// This must match HandleAllocatorGL, so its implementation is present on all platforms.
33-
#define HandleAllocatorTest HandleAllocator<32, 96, 136> // ~4520 / pool / MiB
33+
#define HandleAllocatorTest HandleAllocator<32, 96, 184> // ~4520 / pool / MiB
3434

3535
struct MyHandle {
3636
};

0 commit comments

Comments
 (0)