You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
o3de/Gems/Atom/Asset/ImageProcessingAtom
Tommy Walton 7de6bc5b23
Add RoundUpToMultiple and DivideAndRoundUp functions to MathUtils.h (#6989)
* Add RoundUpToMultiple and DivideAndRoundUp functions to MathUtils.h

Signed-off-by: Tommy Walton <waltont@amazon.com>

* Rename DivideByMultiple2 back to DivideByMultiple, now that I've confirmed it's not in use in the codebase. RHI::DivideByMultiple can be fully deprecated in favor of AZ::DivideAndRoundUp at a later date, once the deprecation strategy has been finalized.

Signed-off-by: Tommy Walton <waltont@amazon.com>

* Update based on PR feedback

Signed-off-by: Tommy Walton <waltont@amazon.com>

* Switched from std::numeric_limits to AZStd::numeric_limits and updated the header to indicate it works for non-power of two alignments, but that SizeAlignUp is more efficient if the alignment is a power of 2

Signed-off-by: Tommy Walton <waltont@amazon.com>

* Added missing arguments to the assert, and a missing namespace and include that failed to compile on non-unity builds

Signed-off-by: Tommy Walton <waltont@amazon.com>
4 years ago
..
Assets Fix for github issue https://github.com/o3de/o3de/issues/6380 (#7386) 4 years ago
Code Add RoundUpToMultiple and DivideAndRoundUp functions to MathUtils.h (#6989) 4 years ago
External/CubeMapGen Fix clang 13 compilation problems (#5791) 4 years ago
Registry Moved gems .setreg files to Registry folder, otherwise they will be missing in a Pre-built SDK Engine (#7140) 4 years ago
CMakeLists.txt Templates restricted (#6498) 4 years ago
gem.json fix launcher not showing gems (#7015) 4 years ago
preview.png Display Gem Icons in Gem Catalog (#7294) 4 years ago