SSE optimize Float4ToUint8x4, some uses

This commit is contained in:
Henrik Rydgård committed 2022-12-01 16:32:23 +01:00
1 parent d02f46cb27
commit e6f0f84a45
6 files changed
+36 -13

No files matched your search

+1
View File
@@ -1,3 +1,4 @@
#include "Common/Data/Convert/SmallDataConvert.h"
alignas(16) const float one_over_255_x4[4] = { 1.0f / 255.0f, 1.0f / 255.0f, 1.0f / 255.0f, 1.0f / 255.0f, };
alignas(16) const float exactly_255_x4[4] = { 255.0f, 255.0f, 255.0f, 255.0f, };