Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Alchemy Viewer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Silent mode is enabled
All outbound communications are blocked.
Learn more
.
Show more breadcrumbs
Alchemy Viewer
Alchemy Viewer
Commits
246a3d83
Commit
246a3d83
authored
5 years ago
by
Rye Mutt
Browse files
Options
Downloads
Patches
Plain Diff
Oops. Forgot to change this to the wrapper call.
parent
b9ef2732
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
indra/llcommon/lluuid.h
+2
-2
2 additions, 2 deletions
indra/llcommon/lluuid.h
indra/llprimitive/llmaterialid.h
+2
-2
2 additions, 2 deletions
indra/llprimitive/llmaterialid.h
with
4 additions
and
4 deletions
indra/llcommon/lluuid.h
+
2
−
2
View file @
246a3d83
...
...
@@ -138,8 +138,8 @@ class LL_COMMON_API LLUUID
bool
operator
<
(
const
LLUUID
&
rhs
)
const
{
__m128i
mm_left
=
_mm_lddqu_si128
(
reinterpret_cast
<
const
__m128i
*>
(
mData
)
)
;
__m128i
mm_right
=
_mm_lddqu_si128
(
reinterpret_cast
<
const
__m128i
*>
(
rhs
.
mData
)
)
;
__m128i
mm_left
=
load_unaligned_si128
(
mData
);
__m128i
mm_right
=
load_unaligned_si128
(
rhs
.
mData
);
// To emulate lexicographical_compare behavior we have to perform two comparisons - the forward and reverse one.
// Then we know which bytes are equivalent and which ones are different, and for those different the comparison results
...
...
This diff is collapsed.
Click to expand it.
indra/llprimitive/llmaterialid.h
+
2
−
2
View file @
246a3d83
...
...
@@ -79,8 +79,8 @@ class LLMaterialID
bool
operator
<
(
const
LLMaterialID
&
rhs
)
const
{
__m128i
mm_left
=
_mm_lddqu_si128
(
reinterpret_cast
<
const
__m128i
*>
(
mID
)
)
;
__m128i
mm_right
=
_mm_lddqu_si128
(
reinterpret_cast
<
const
__m128i
*>
(
rhs
.
mID
)
)
;
__m128i
mm_left
=
load_unaligned_si128
(
mID
);
__m128i
mm_right
=
load_unaligned_si128
(
rhs
.
mID
);
// To emulate lexicographical_compare behavior we have to perform two comparisons - the forward and reverse one.
// Then we know which bytes are equivalent and which ones are different, and for those different the comparison results
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment