BE<S16Vec> support

This commit is contained in:
PJB3005
2026-03-02 19:53:45 +01:00
parent 5130847f12
commit 9b08f337a5
+9
View File
@@ -160,6 +160,15 @@ inline f32 BE<f32>::swap(f32 val) {
return RES_F32(val);
}
template<>
inline S16Vec BE<S16Vec>::swap(S16Vec val) {
return {
BE<s16>::swap(val.x),
BE<s16>::swap(val.y),
BE<s16>::swap(val.z),
};
}
template<>
struct BE<Vec> {
BE<f32> x;