Skip to content

Conversation

@bbernhar
Copy link
Contributor

@bbernhar bbernhar commented Aug 26, 2022

This is because desc = {} could zero-initialize them to mean a unexpected default-value. More precisely,

  • MinLogLevel assumes corruption-level messages by default.
  • Use ALLOCATOR_ALGORITHM_DEFAULT, which internally is set to slab + segmented pool.

Support for a minimum viable implementation #577

@bbernhar bbernhar enabled auto-merge (squash) August 26, 2022 21:14
@github-actions github-actions bot added the D3D12 DirectX 12 Backend Change label Aug 26, 2022
@github-actions github-actions bot added the Test Changes in tests. label Aug 26, 2022
@bbernhar bbernhar force-pushed the default_init branch 2 times, most recently from 4673513 to a7a0c25 Compare August 26, 2022 22:31
This is because `desc = {}` could zero-initialize them to mean a unexpected default-value. More precisely,
* RESIDENCY_DESC::MinLogLevel assumes corruption-level messages by default.
* ALLOCATOR_DESC::SubAllocationAlgorithm and ALLOCATOR_DESC::PoolAlgorithm use ALLOCATOR_ALGORITHM_DEFAULT, which internally is set to slab + segmented pool.

Support for a minimum viable implementation #577
@bbernhar bbernhar merged commit a69700b into main Aug 26, 2022
@bbernhar bbernhar deleted the default_init branch August 26, 2022 22:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

D3D12 DirectX 12 Backend Change Test Changes in tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants