Skip to content

Commit

Permalink
fix(tools): reduce natvis match priority for built-in types
Browse files Browse the repository at this point in the history
RTM is generally integrated into environments with other math libraries
for example, Unreal Engine. Host runtimes often already have natvis
for built-in intrinsic types. To avoid conflicts, we lower the RTM priority
to let whatever formatting the host runtime chooses (if any).
  • Loading branch information
nfrechette committed Jul 4, 2024
1 parent e1a80f5 commit feba98d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tools/vs_visualizers/rtm.natvis
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@
<DisplayString>({x}, {y}, {z}, {w})</DisplayString>
</Type>

<Type Name="__m128">
<Type Name="__m128" Priority="Low">
<DisplayString>({m128_f32[0]}, {m128_f32[1]}, {m128_f32[2]}, {m128_f32[3]})</DisplayString>
</Type>

<Type Name="__m128i">
<Type Name="__m128i" Priority="Low">
<DisplayString>({m128i_u32[0]}, {m128i_u32[1]}, {m128i_u32[2]}, {m128i_u32[3]})</DisplayString>
</Type>

<Type Name="__m128d">
<Type Name="__m128d" Priority="Low">
<DisplayString>({m128d_f64[0]}, {m128d_f64[1]})</DisplayString>
</Type>

Expand Down

0 comments on commit feba98d

Please sign in to comment.