Commit Graph

49787 Commits

Author SHA1 Message Date
Rémi Verschelde 47ef0549ee
Merge pull request #70065 from clayjohn/GLES3-attribs
Use instanced array buffer instead of UBO for canvas item batching
2022-12-15 18:45:07 +01:00
Yuri Rubinsky fac614cdea
Merge pull request #70110 from Chaosus/fix_inspector_instance_uniform
Fix undefined
2022-12-15 20:28:45 +03:00
Yuri Rubinsky 5c83e95103
Merge pull request #70016 from Chaosus/refactor_rd_shader_data
fixed https://github.com/godotengine/godot/issues/69949
2022-12-15 20:28:26 +03:00
clayjohn b6a1aa15b1 Use instanced array buffer instead of UBO for canvas item batching
This simplifies the generated shader code which increases both performance and compile time on low end devices
2022-12-15 08:25:44 -08:00
Clay John aa8a899f52
Merge pull request #70104 from RandomShaper/vk_dev_asserts
Replace certain sanity checks with proper dev-only assertions in Vulkan RD
2022-12-15 08:22:17 -08:00
Yuri Rubinsky bf3966abf9 Fix the update of the inspector when instance shader uniform has changed 2022-12-15 18:39:30 +03:00
Yuri Rubinsky d99ea32999
Merge pull request #70102 from Chaosus/rd_remove_usage_indirect 2022-12-15 16:22:19 +03:00
Pedro J. Estébanez af6189711e Replace certain sanity checks with proper dev-only assertions in Vulkan RD 2022-12-15 12:34:08 +01:00
Rémi Verschelde 346efd29e0
Fix typos with codespell 2022-12-15 12:24:08 +01:00
Rémi Verschelde cda7df0255
Merge pull request #67024 from alessandrofama/fix-gdvirtual-call-node3dgizmo
EditorNode3DGizmoPlugin: Add GDVIRTUAL_CALL for get_gizmo_name and get_priority
2022-12-15 12:16:42 +01:00
Rémi Verschelde bc9afb8d47
Merge pull request #70101 from groud/remove_tilemap_warning
Remove a confusing TileMap warning
2022-12-15 12:16:32 +01:00
Rémi Verschelde 85ca32bce6
Update AUTHORS and DONORS list
New contributors added to AUTHORS:
@adamscott, @alfredbaudisch, @DarkKilauea, @DeeJayLSP, @dzil123,
@jasonwinterpixel, @jtnicholl, @nikitalita, @Riteo, @rune-scape, @TechnoPorg

Thanks to all contributors and donors for making Godot possible!
2022-12-15 12:11:41 +01:00
Yuri Rubinsky 807632a90c Changed `STORAGE_BUFFER_USAGE_DISPATCH_INDIRECT` type to enum flags 2022-12-15 14:10:37 +03:00
Gilles Roudière ffec180ccc Remove a confusing TileMap warning 2022-12-15 11:27:38 +01:00
Rémi Verschelde fc9b6ef07f
Merge pull request #70092 from bmolyneaux/patch-1
Clear animation map when import settings is opened
2022-12-15 09:21:39 +01:00
Rémi Verschelde 762c6d4b36
Merge pull request #69709 from RandomShaper/refactor_spirv_reflection
Refactor SPIR-V reflection into a generic RenderingDevice feature
2022-12-15 09:21:35 +01:00
Rémi Verschelde 56ddb70c08
Merge pull request #70083 from clayjohn/Sprite3D-normals
Remove extra range conversion in Sprite3D normal encoding
2022-12-15 09:21:26 +01:00
Rémi Verschelde a194984e96
Merge pull request #70068 from clayjohn/mobile-lights
Initialize light index push constants to 0xFFFFFFFF instead of 0xFFFF
2022-12-15 09:20:44 +01:00
Rémi Verschelde e1bcadd12d
Merge pull request #56804 from Calinou/ssr-add-max-roughness-cutoff
Add maximum roughness cutoff to SSR to improve performance
2022-12-15 09:20:29 +01:00
Yuri Rubinsky 4e5714c23a
Merge pull request #70056 from Chaosus/docs_astargrid 2022-12-15 11:01:42 +03:00
Yuri Rubinsky 56954485ed Refactor `ShaderData` & fix the sorting of shader uniforms 2022-12-15 10:02:59 +03:00
Rémi Verschelde 6debf86d51
Merge pull request #69471 from rune-scape/rune-out-of-order
GDScript: Out of order member resolution
2022-12-15 07:56:23 +01:00
Yuri Rubinsky ecd2c5d5b9 Improve documentation on heuristics in AStarGrid2D 2022-12-15 09:43:17 +03:00
bmolyneaux 7c1cb65978
Clear animation map when import settings is opened 2022-12-14 19:54:48 -08:00
rune-scape 2dfc6d5b69 GDScript: Allow out of order member resolution 2022-12-14 21:44:05 -05:00
Fredia Huya-Kouadio ec4de82ab3
Merge pull request #69990 from exoticorn/fix-android-touch-input
Fix ambiguous touch input events on Android
2022-12-14 18:23:17 -08:00
clayjohn 0c0e1a637e Remove extra range conversion in Sprite3D normal encoding 2022-12-14 15:41:43 -08:00
clayjohn 7b0dd7a3e6 Initialize light index push constants to 0xFFFFFFFF instead of 0xFFFF 2022-12-14 15:20:54 -08:00
Rémi Verschelde 1c5cfc4675
Merge pull request #69761 from KoBeWi/where_undo
Add scope prefix to undo actions
2022-12-14 23:28:40 +01:00
Rémi Verschelde 0872e1483b
Merge pull request #70069 from bruvzg/rtl_fix_image_click_detection
[RTL] Fix image click detection.
2022-12-14 23:28:30 +01:00
Rémi Verschelde f5b0f60e1d
Merge pull request #70072 from clayjohn/comma
Remove comma in gl_compatibility message in new project creation menu
2022-12-14 23:28:24 +01:00
Rémi Verschelde b8e1d6585c
Merge pull request #69971 from neikeq/csharp-vararg-ret-premature-free
C#: Fix premature free of returned Variant in vararg methods
2022-12-14 23:27:40 +01:00
kobewi ff994585b3 Add scope prefix to undo actions 2022-12-14 22:51:10 +01:00
clayjohn 4d818f395e Remove comma in gl_compatibility message in new project creation menu 2022-12-14 12:08:50 -08:00
bruvzg dd7b095f7f
[RTL] Fix image click detection. 2022-12-14 21:27:00 +02:00
Rémi Verschelde 6318320c04
Merge pull request #70023 from Bromeon/gdextension-const-correctness
Extension header: amend const-correctness of `p_args` parameters
2022-12-14 19:55:04 +01:00
Jan Haller ebb3306da3 Extension header: amend const correctness of `p_args` parameters
A while ago, argument arrays were passed as const GDNativeTypePtr* (void* const*)
This was changed to GDNativeConstTypePtr* (void const**), adding const on the value but removing it on the pointer level.
This commit changes argument types to const GDExtensionConstTypePtr* (void const* const*).

Besides object pointers, the same change is applied to variant pointers.
2022-12-14 18:25:30 +01:00
Rémi Verschelde c22876e61c
Merge pull request #70061 from akien-mga/ci-godot-cpp-handle-pr960
CI: Fix dumping GDExtension interface and API for godot-cpp
2022-12-14 17:05:40 +01:00
Rémi Verschelde de5aaf1d13
CI: Fix dumping GDExtension interface and API for godot-cpp
Follow-up to https://github.com/godotengine/godot-cpp/pull/960.

Fix exit code for --dump-extension-api and --dump-gdextension-interface.

Removed the planned API validation step as we still didn't implement
anything, and maintaining a stub isn't useful.
2022-12-14 16:42:14 +01:00
Rémi Verschelde eba33c67b4
Merge pull request #69902 from BastiaanOlij/improve_gdextension_virtual_ref
Improve logic around using Ref<T> with GDExtension virtual functions
2022-12-14 12:36:34 +01:00
Rémi Verschelde 6b381d1d2d
Merge pull request #70040 from m4gr3d/update_navigation_controls_toggle_main
Update the visibility logic for the spatial editor navigation controls
2022-12-14 11:26:01 +01:00
Rémi Verschelde 45edf35f83
Merge pull request #69726 from xiongyaohua/tweak_curve
Handle corner cases for curve baking
2022-12-14 11:25:55 +01:00
Rémi Verschelde b99bbcc436
Merge pull request #70039 from xiongyaohua/fix_curve2d_get_closest_offset
Fix Curve2D::get_closest_offset
2022-12-14 11:25:47 +01:00
Rémi Verschelde feea39f3cf
Merge pull request #69934 from Geekotron/physics3d-ccd-fixes
Fix Physics3D and Physics2D CCD sometimes adjusting velocity too much
2022-12-14 11:25:41 +01:00
Fredia Huya-Kouadio 3083455002 Update the visibility logic for the spatial editor navigation controls 2022-12-13 17:46:12 -08:00
Yaohua Xiong f806c679de Fix Curve2D::get_closest_offset 2022-12-14 09:46:07 +08:00
Geekotron 57710897d6 Fix Physics3D and Physics2D CCD sometimes adjusting velocity too much (preventing collision) or not enough (allowing tunneling) 2022-12-13 18:01:21 -07:00
Yaohua Xiong adeef12b12 Handle corner cases for curve baking
When control point and point have equal position,
the derivative is 0 vector, which cause error message in Basis::look_at().
This commit handles this case.
2022-12-14 08:52:14 +08:00
Rémi Verschelde db6976eed4
Merge pull request #70028 from clayjohn/PM-GLES3
Added gl_compatibility as an option to the project creation screen
2022-12-14 00:20:52 +01:00
Rémi Verschelde db0b990e2c
Merge pull request #69527 from clayjohn/surface-name
Index override surface name starting from 1 to match surface name
2022-12-14 00:20:13 +01:00