Joaquim Monteiro
62e46cde92
Detect the ISA extension when building Embree and adjust its build configuration to match
...
Embree has specialized implementations for various ISA extensions to
improve performance. Its code uses preprocessor definitions to detect
which extension to use. Typically, its code is compiled multiple times,
with different extensions enabled, and, at runtime, it detects which one
should be used.
Godot's build system doesn't do this, it simply compiles Embree once,
for the base SSE2 instruction set, and uses that. However, it doesn't
properly guarantee that it is built correctly. If Godot is compiled for
a newer instruction set (such as by using `-march=x86-64-v3` with
GCC/Clang, or `/arch:AVX2` with MSVC), Embree will end up with mixed
code paths, and compilation will fail. (Additionally, Godot's copy of
the Embree source code omits files that are not used by SSE2 builds, but
are needed for AVX builds, which causes more build errors.)
This commit fixes the compilation issues by finding the highest Embree
ISA extension target that's compatible with the compiler flags set
by the user, and adjusting the build settings accordingly.
2024-08-29 15:34:32 +01:00
Joaquim Monteiro
08a49205b9
Add Embree source files needed for AVX builds
2024-08-29 15:34:19 +01:00
Rémi Verschelde
fd7239cfab
Merge pull request #96258 from SaracenOne/win32_rename_fix
...
Fix Win32 rename function.
2024-08-29 10:36:53 +02:00
Rémi Verschelde
526b35c929
Merge pull request #96254 from raulsntos/android/keyStore.isEmpty()
...
[Android] Check if `keyStore` path is empty
2024-08-29 10:36:49 +02:00
Rémi Verschelde
faa3688e69
Merge pull request #96251 from aaronfranke/gltf-get-supported-ext
...
Add `get_supported_gltf_extensions` to GLTFDocument
2024-08-29 10:36:45 +02:00
Rémi Verschelde
ba0b93cf64
Merge pull request #96245 from markdibarry/prevent-autoscroll-reset
...
Prevent Parallax2D autoscroll reset
2024-08-29 10:36:42 +02:00
Rémi Verschelde
8186fabc8f
Merge pull request #96197 from jsjtxietian/splash-msg
...
Improve error message when loading non-PNG splash image
2024-08-29 10:36:38 +02:00
Rémi Verschelde
ad0edb8bb6
Merge pull request #96196 from SaracenOne/bone_editor_revert
...
Add Revert support to SkeletonEditor.
2024-08-29 10:36:34 +02:00
Rémi Verschelde
9725c03228
Merge pull request #93900 from TestSubject06/10106/raycast_info_on_wheels
...
Expose contact point and contact normal on VehicleWheel3D to scripting.
2024-08-29 10:36:30 +02:00
Rémi Verschelde
80cd8f4c2d
Merge pull request #92581 from rune-scape/rune-text-srvr-fb-cacher
...
TextServerFallback: 2x performance improvement by removing redundant lookups
2024-08-29 10:36:26 +02:00
Rémi Verschelde
03d1f43131
Merge pull request #92575 from rune-scape/rune-text-srvr-cacher
...
TextServerAdvanced: 2x performance improvement by removing redundant lookups
2024-08-29 10:36:23 +02:00
Rémi Verschelde
cb96fc95c3
Merge pull request #92316 from alula/msvc-clang
...
Add support for compiling with VS clang-cl toolset
2024-08-29 10:36:17 +02:00
Rémi Verschelde
96cbcc30e2
Merge pull request #90945 from Scony/extract-navigation-defaults
...
Extract navigation-related defaults to separate header
2024-08-29 10:36:14 +02:00
Rémi Verschelde
5212a8ce7f
Merge pull request #88167 from DictyosteliumDiscoideum/master
...
Fix RichTextLabel bottom margin for text clipping
2024-08-29 10:36:10 +02:00
Rémi Verschelde
c1605e47c1
Merge pull request #62524 from AThousandShips/help_search
...
`EditorHelpSearch` improvements
2024-08-29 10:36:04 +02:00
Saracen
6069cb3475
Fix Win32 rename function.
2024-08-29 03:54:02 +01:00
jsjtxietian
c7a0e39af1
Add is png check and better err msg when loading splash imgae
2024-08-29 10:49:04 +08:00
Aaron Franke
ee5e97742a
Add get_supported_gltf_extensions to GLTFDocument
2024-08-28 17:54:45 -07:00
Rémi Verschelde
ce8a837aab
Merge pull request #96243 from AinaVT/fix-missing-parser-from-completion-context
...
Fix missing `GDScriptParser` reference on completion context
2024-08-28 23:20:25 +02:00
Mark DiBarry
1eda1cf5d7
Prevent Parallax2D autoscroll reset
2024-08-28 16:38:27 -04:00
DictyosteliumDiscoideum
1f751516de
Fix RichTextLabel bottom margin for text clipping
2024-08-28 23:24:43 +03:00
rune-scape
2fc5321d39
TextServerFallback: improve performance by removing redundant lookups
...
+ caching editor setting
+ using a faster hash method on the FontForSizeFallback cache
+ SafeFlag instead of mutex for ShapedTextDataFallback::valid bc its read Very often
2024-08-28 13:10:43 -07:00
Aina
930742f8b3
Fix missing GDScriptParser reference on completion context
2024-08-28 17:03:12 -03:00
rune-scape
4ba7738a1f
TextServerAdvanced: improve performance by removing redundant lookups
...
+ caching editor setting
+ using a faster hash method on the FontForSizeAdvanced cache
+ SafeFlag for ShapedTextDataAdvanced::valid
2024-08-28 13:01:11 -07:00
Alula
346cbc7f1f
Add support for compiling with VS clang-cl toolset
2024-08-28 13:30:44 -05:00
Rémi Verschelde
40b378e9e2
Merge pull request #96235 from bruvzg/win_open_dll
...
[Windows] Fix OS.open_dynamic_library
2024-08-28 19:54:51 +02:00
bruvzg
d528f28275
[Windows] Fix OS.open_dynamic_library
2024-08-28 20:12:09 +03:00
A Thousand Ships
5c9cd6a604
`EditorHelpSearch` improvements
...
* Adds all member types to empty search
* Nests hierarchy adding constructors, methods, operators, etc. under a
nested entry to reduce clutter
Co-authored-by: MewPurPur <mew.pur.pur@gmail.com>
2024-08-28 18:32:21 +02:00
Raul Santos
efe5f988e0
[Android] Check if keyStore path is empty
...
In `godot-build-scripts`, the default `config.sh` sets `GODOT_ANDROID_SIGN_KEYSTORE` to an empty string but we were only checking if it's null.
2024-08-28 17:24:54 +02:00
Rémi Verschelde
622393c115
Merge pull request #95317 from esainane/when-i-am-64
...
binder_common: Fix uninitialized marshalling for `PtrToArg<char32_t>`
2024-08-28 17:15:05 +02:00
Rémi Verschelde
3bc84c2988
Merge pull request #63744 from KoBeWi/shader_spaghetti
...
Refactor toggling script list
2024-08-28 17:14:56 +02:00
kobewi
b4c92dbd0e
Refactor toggling script list
2024-08-28 17:00:51 +02:00
TestSubject06
b56a0370c4
Expose contact point and contact normal on VehicleWheel3D
...
Appease doctool by switching the order of the documentation page entries.
Update doc/classes/VehicleWheel3D.xml
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
Update doc/classes/VehicleWheel3D.xml
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
Update doc/classes/VehicleWheel3D.xml
Thanks, didn't see the typo in the suggested change. Brain auto corrected it.
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2024-08-28 10:28:56 -04:00
Rémi Verschelde
e439154407
Merge pull request #96225 from RandomShaper/wtp_fix_yield
...
WorkerThreadPool: Fix end-of-yield logic potentially leading to deadlocks
2024-08-28 15:46:57 +02:00
Rémi Verschelde
9f05ca9fc5
Merge pull request #96218 from RandomShaper/res_loader_user_case
...
ResourceLoader: Handle another case of user tokens
2024-08-28 15:46:53 +02:00
Rémi Verschelde
6eeff72e87
Merge pull request #95212 from Germenzi/regex-show-error
...
[RegEx] Add `show_error` parameter to control error printing on compilation fail
2024-08-28 15:46:49 +02:00
Rémi Verschelde
d1c238f43c
Merge pull request #94513 from AThousandShips/no_adv_gui_improve
...
Treat `MenuBar` and `MenuButton` as advanced UI
2024-08-28 15:46:46 +02:00
Rémi Verschelde
3e017b576a
Merge pull request #92637 from Chaosus/core_toggle_sname
...
[Scene] Add `SceneStringNames::toggled`
2024-08-28 15:46:42 +02:00
Rémi Verschelde
8c5d1b42ab
Merge pull request #92530 from Naros/expose-resource-cache-get-ref
...
Expose `get_cached_ref` from `ResourceCache`
2024-08-28 15:46:35 +02:00
Pedro J. Estébanez
5dade0e08b
WorkerThreadPool: Fix end-of-yield logic potentially leading to deadlocks
2024-08-28 15:26:08 +02:00
Nikita\Nick
ebb5a5cc3d
[RegEx] Add show_error parameter to control error printing on compilation fail
2024-08-28 15:35:42 +03:00
A Thousand Ships
2d2fb3f2e7
Treat `MenuBar` and `MenuButton` as advanced UI
2024-08-28 14:26:54 +02:00
Yuri Rubinsky
52889ab7ee
[Scene] Add SceneStringName::toggled
2024-08-28 15:14:26 +03:00
Pedro J. Estébanez
0441c67de6
ResourceLoader: Handle another case of user tokens
2024-08-28 13:53:39 +02:00
Rémi Verschelde
f648de1a83
Merge pull request #96209 from stuartcarnie/sgc/96077/fix_sdfgi
...
Metal: Use correct operator to ensure specialisation constants are sorted
2024-08-28 13:14:34 +02:00
Rémi Verschelde
ee14810663
Merge pull request #96207 from BlueCube3310/subres-fix
...
Fix saving subresources of nodes
2024-08-28 13:14:31 +02:00
Rémi Verschelde
5a11abc899
Merge pull request #96198 from DeeJayLSP/qoa-leak
...
ResourceImporterWAV: Fix memory leak on QOA import
2024-08-28 13:14:27 +02:00
Rémi Verschelde
60765bebe4
Merge pull request #95700 from m4gr3d/add_pip_support_to_game_window
...
[Android Editor] Add support for launching the Play window in PiP mode
2024-08-28 13:14:23 +02:00
Rémi Verschelde
2730d703a8
Merge pull request #94747 from alvinhochun/mingw-llvm-build-flags
...
Some improvements for MinGW and LLVM build on Windows
2024-08-28 13:14:19 +02:00
Rémi Verschelde
da230f384b
Merge pull request #91902 from bruvzg/win_long_path
...
[Windows] Always use absolute UNC paths and long path aware APIs, add "long path aware" flag to the application manifest.
2024-08-28 13:14:16 +02:00