[Base] Add aliasing-safe xe::memory::Reinterpret
Accessing the same memory as different types (other than char) using reinterpret_cast or a union is undefined behavior that has already caused issues like #1971. Also adds a XE_RESTRICT_VAR definition for declaring non-aliasing pointers in performance-critical areas in the future.
T
Triang3l committed
f0ad4f458735e8f843cc4f058c8cfec9206f4f0f
Parent: a90f83d