-
Notifications
You must be signed in to change notification settings - Fork 64
New morton class with arithmetic and comparison operators #860
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Open
Fletterio
wants to merge
32
commits into
master
Choose a base branch
from
mortons
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
cdcc9ad
Initial commit
Fletterio 8e84558
Merge branch 'concepts_fix' into mortons
Fletterio d33fab5
Merge branch 'concepts_fix' into mortons
Fletterio 5fe6c08
CHeckpoint before master merge
Fletterio f18b2fa
Checkpoint before merging new type_traits change
Fletterio 7d86cba
Merge branch 'master' into mortons
Fletterio 4ebc555
Works, but throws DXC warning
Fletterio 55a2ef6
Added concept for valid morton dimensions
Fletterio f516256
Creation from vector working as intended
Fletterio 534d81b
Added some extra macro specifiers, vector truncation with no warnings…
Fletterio 6256390
Add safe copile-time vector truncation and some function specifiers f…
Fletterio 246cefc
Morton class done!
Fletterio 1c7f791
Remove some leftover commented code
Fletterio 5088799
Remove leaking macro
Fletterio e25a35c
Bugfixes with arithmetic
Fletterio 0d9dd4a
Checkpoint, have to check why vector compat isn't working
Fletterio 89d2bf2
Refactor morton class, get new conversion running
Fletterio de4d0fb
Add new classes for encoding/decoding of mortn codes
Fletterio 799420e
Fix conversion operators
Fletterio 52323bc
Finish the rest of comparison ops and we're done!
Fletterio b6b7003
Final Mortons
Fletterio 60ff99a
Clean up the emulated int code, fix some constant creation in the mor…
Fletterio 5560162
Addressing latest PR review. Generic overloads for of different func…
Fletterio e50c56b
Bunch of emulated int64 fixes regarding creation, comparison operator…
Fletterio b1de9c3
Fix automatic specialize macro in cpp compat intrinsics, add intrins…
Fletterio ea8cd43
Checkpoint: adding a bunch of operators to emulated vector types
Fletterio 53a5f6a
Vectorized encode/decode for better pipelining
Fletterio cf52d9c
Adress the last of PR review changes: vectorize more operators, add a…
Fletterio f954522
Removed `NBL_CONSTEXPR_INLINE_FUNC` macro, replaced all usages with
Fletterio 2d0ffba
Fix the last of the operators
Fletterio 68edc32
Change examples test submodule for master merge
Fletterio 5013c89
Merged master
Fletterio File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
constexpr
impliesinline
for functions (not variables)There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you can use
CONSTEXPR_FUNC
insteadThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
seems that
NBL_CONSTEXPR_INLINE_FUNC
andNBL_CONSTEXPR_STATIC_INLINE_FUNC
should be removedthe constexpr inline and constexpr static inline only make sense for variables