diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2024-09-29 00:47:02 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2024-09-29 00:47:02 +0200 |
commit | 422306ef873d96d8ec8439cd97c06e3a902e83b4 (patch) | |
tree | 406032bb92c18142d257bb5ee878163fedf57310 /thirdparty/squish/patches/config_sse.patch | |
parent | 3fbd33af85ab89a90c16773c6f853ba577c48ee1 (diff) | |
parent | 2167157aaf0c4b2993ad67b929b3b51279360e29 (diff) | |
download | redot-engine-422306ef873d96d8ec8439cd97c06e3a902e83b4.tar.gz |
Merge pull request #97325 from BlueCube3310/bcdec
Replace squish with bcdec for BC decompression
Diffstat (limited to 'thirdparty/squish/patches/config_sse.patch')
-rw-r--r-- | thirdparty/squish/patches/config_sse.patch | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/thirdparty/squish/patches/config_sse.patch b/thirdparty/squish/patches/config_sse.patch deleted file mode 100644 index 047701ee32..0000000000 --- a/thirdparty/squish/patches/config_sse.patch +++ /dev/null @@ -1,31 +0,0 @@ -diff --git a/thirdparty/squish/config.h b/thirdparty/squish/config.h -index 92edefe966..05f8d72598 100644 ---- a/thirdparty/squish/config.h -+++ b/thirdparty/squish/config.h -@@ -32,6 +32,26 @@ - #endif - - // Set to 1 or 2 when building squish to use SSE or SSE2 instructions. -+// -- GODOT start -- -+#ifdef _MSC_VER -+ #if defined(_M_IX86_FP) -+ #if _M_IX86_FP >= 2 -+ #define SQUISH_USE_SSE 2 -+ #elif _M_IX86_FP >= 1 -+ #define SQUISH_USE_SSE 1 -+ #endif -+ #elif defined(_M_X64) -+ #define SQUISH_USE_SSE 2 -+ #endif -+#else -+ #if defined(__SSE2__) -+ #define SQUISH_USE_SSE 2 -+ #elif defined(__SSE__) -+ #define SQUISH_USE_SSE 1 -+ #endif -+#endif -+// -- GODOT end -- -+ - #ifndef SQUISH_USE_SSE - #define SQUISH_USE_SSE 0 - #endif |