Merge upstream and sdl3-blitters

This commit is contained in:
Isaac Aronson
2024-06-08 22:26:23 -05:00
committed by Sam Lantinga
parent 159d7087c6
commit 3e0581c625
10 changed files with 369 additions and 3 deletions

View File

@@ -739,6 +739,7 @@ if(SDL_ASSEMBLY)
cmake_pop_check_state()
if(COMPILER_SUPPORTS_SSE4_1)
set(HAVE_SSE4_1 TRUE)
sdl_glob_sources("${SDL3_SOURCE_DIR}/src/video/intrin/SDL_blit_A_sse4_1.c")
endif()
endif()
if(SDL_SSE4_2)
@@ -802,6 +803,7 @@ if(SDL_ASSEMBLY)
return 0;
}" COMPILER_SUPPORTS_AVX2)
cmake_pop_check_state()
sdl_glob_sources("${SDL3_SOURCE_DIR}/src/video/intrin/SDL_blit_A_*.c")
if(COMPILER_SUPPORTS_AVX2)
set(HAVE_AVX2 TRUE)
endif()