Nicholas Huelin
7f908cf40f
Fix expression in cluster_builder_rd.h
...
This expression should now work as intended.
2021-07-26 08:19:53 -04:00
Yuri Roubinsky
b47b3a9957
Prevents shader crashing if varying assigned incorrectly
2021-07-26 14:47:14 +03:00
reduz
cf3f404d31
Implement Binary Shader Compilation
...
* Added an extra stage before compiling shader, which is generating a binary blob.
* On Vulkan, this allows caching the SPIRV reflection information, which is expensive to parse.
* On other (future) RenderingDevices, it allows caching converted binary data, such as DXIL or MSL.
This PR makes the shader cache include the reflection information, hence editor startup times are significantly improved.
I tested this well and it appears to work, and I added a lot of consistency checks, but because it includes writing and reading binary information, rare bugs may pop up, so be aware.
There was not much of a choice for storing the reflection information, given shaders can be a lot, take a lot of space and take time to parse.
2021-07-26 08:40:39 -03:00
Rémi Verschelde
04fd284a9b
Merge pull request #50881 from Chaosus/shader_fix_build
...
Fix compilation of `shader_language.cpp`
2021-07-26 13:12:26 +02:00
Rémi Verschelde
5707c5d0ff
Merge pull request #48620 from Calinou/editor-3d-hide-selection-box-no-gizmos
...
Hide the 3D editor selection box when View Gizmos is disabled
2021-07-26 12:44:50 +02:00
Yuri Roubinsky
3013324a4e
Fix compilation of shader_language.cpp
2021-07-26 13:44:21 +03:00
Rémi Verschelde
a8fcfbf029
Merge pull request #50729 from Chaosus/shader_varying_enchancements2
...
Allow using vertex-stage varying in both `fragment` and `light` functions
2021-07-26 12:17:49 +02:00
Rémi Verschelde
9b9e09f675
Merge pull request #50728 from Chaosus/shader_varying_enchancements
...
Allow using vertex varying in custom functions under any circumstances
2021-07-26 12:17:40 +02:00
Rémi Verschelde
b5b633ff57
Merge pull request #50880 from KoBeWi/buckendo
...
Fix undo for bucket tool in tile map
2021-07-26 11:51:55 +02:00
kobewi
bba76e45ff
Fix undo for bucket tool in tile map
2021-07-26 11:24:34 +02:00
Rémi Verschelde
438be4422f
Merge pull request #50878 from bruvzg/debug_entitlement
...
[macOS] Add "debugging" (`get-task-allow`) to the export options.
2021-07-26 10:52:09 +02:00
bruvzg
2dd6c3eb09
[macOS] Add "debugging" (get-task-allow
) to the export options, to allow using native debugger.
2021-07-26 11:28:52 +03:00
Rémi Verschelde
32b00e0e29
Merge pull request #50869 from Calinou/doc-control-mouse-enter-exit-signals
...
Document caveats with Control's `mouse_entered`/`mouse_exited` signals
2021-07-26 09:13:49 +02:00
Rémi Verschelde
bd6e9eecba
Merge pull request #50857 from luzpaz/LGTM-unnecessary-pass
...
Remove unnecessary 'pass' statement
2021-07-26 08:58:25 +02:00
Rémi Verschelde
7341dd5afa
Merge pull request #50856 from SirQuartz/patch-32
...
Fix always true expression `radius > 0.98 || radius < 1.02` in `cluster_builder_rd.h`
2021-07-26 08:47:33 +02:00
Rémi Verschelde
9a480d3b1b
Merge pull request #50854 from SirQuartz/patch-31
...
Fix dead code in `gdnative_interface.cpp`
2021-07-26 08:37:38 +02:00
Rémi Verschelde
54f6b30bd4
Merge pull request #50840 from Gallilus/VisualScript-drop-preload-nodes-change-action-name
...
Change "Add Preload Node" action to "Add Node(s)"
2021-07-26 08:29:31 +02:00
Rémi Verschelde
d5bd8a704f
Merge pull request #50838 from luzpaz/follow-up-typos
...
Fix various typos
2021-07-26 08:23:39 +02:00
Aaron Franke
4ecb6fba80
Use doubles for time everywhere in Timer/SceneTree
2021-07-26 02:00:48 -04:00
Aaron Franke
b2156b22ea
Fix CSGSphere3D mesh creation
2021-07-26 00:09:52 -04:00
Ignacio Roldán Etcheverry
0c68ccecda
Merge pull request #50867 from aaronfranke/cs-array-empty
...
Add documentation to Array in C#
2021-07-26 04:46:35 +02:00
Ignacio Roldán Etcheverry
f0de042aaa
Merge pull request #50855 from raulsntos/csharp-use-array-empty
...
Use `Array.Empty` instead of allocating a every time
2021-07-26 04:41:29 +02:00
Raul Santos
accd05f4ad
Use Array.Empty instead of allocating a every time
...
Use `System.Array.Empty<T>` to get an empty array instead of allocating
a new one every time. Since arrays are immutable there is no need to
allocate them every time.
2021-07-26 03:52:31 +02:00
Aaron Franke
080f44a3b7
Add documentation to Array in C#
2021-07-25 18:04:18 -04:00
Ignacio Roldán Etcheverry
8932b55011
Merge pull request #50861 from raulsntos/fix-bindings-generator
...
Fix bindings generator range iterator errors
2021-07-25 23:28:30 +02:00
Hugo Locurcio
37c1cbdcb2
Document caveats with Control's mouse_entered
/mouse_exited
signals
2021-07-25 22:43:02 +02:00
Raul Santos
b3274a7064
Fix bindings generator range iterator errors
2021-07-25 21:32:54 +02:00
luz paz
2e0044c93d
Remove unnecessary 'pass' statement
...
ref: https://lgtm.com/projects/g/godotengine/godot/?mode=tree&ruleFocus=910088
2021-07-25 11:56:24 -04:00
Nicholas Huelin
a1a392045d
Fix always true expression in cluster_builder_rd.h
...
This pull request fixes an issue where an expression would always evaluate to `true` no matter what.
2021-07-25 11:53:04 -04:00
Nicholas Huelin
aa61c00b0e
Fix dead code in gdnative_interface.cpp
...
This pull request fixes dead code found in `gdnative_interface.cpp`
2021-07-25 10:17:18 -04:00
Rémi Verschelde
e2ebc7db58
Merge pull request #50841 from Blackiris/fix-instantiate-line-class
...
Fix instantiate line class
2021-07-25 15:44:28 +02:00
Julien Nguyen
6938dd72f2
Fix instantiate line class
2021-07-25 14:20:31 +02:00
Gallilus
70a6ff0a71
Change "Add Preload Node" action to "Add Node(s)"
...
The action might also drop Custom Nodes
2021-07-25 13:47:57 +02:00
luz paz
5cf3bed0c8
Fix various typos
...
Follow-up typos found via `codespell -q 3 -S ./thirdparty,*.po,./DONORS.md -L ackward,ang,ans,ba,beng,cas,childs,childrens,dof,doubleclick,fave,findn,hist,inout,leapyear,lod,nd,numer,ois,ony,paket,seeked,sinc,switchs,te,uint`
2021-07-25 07:18:25 -04:00
Rémi Verschelde
738205d923
Merge pull request #50835 from bruvzg/optimize_is_rtl
...
Optimise `is_layout_rtl`.
2021-07-25 12:55:46 +02:00
Hugo Locurcio
75dc0d1869
Add shortcut to toggle the 3D editor's camera preview
...
A Camera3D node still has to be selected to initially enable camera
preview, but another node can then be selected and the preview can
be disabled by pressing the shortcut key again.
2021-07-25 12:53:38 +02:00
Rémi Verschelde
ff0b5f8fa1
Merge pull request #50809 from akien-mga/iterators-const-references
2021-07-25 12:52:58 +02:00
Rémi Verschelde
2f221e5fd5
Merge pull request #50250 from luzpaz/typos
...
Fix various typos
2021-07-25 12:38:58 +02:00
Rémi Verschelde
ac3322b0af
Use const references where possible for List range iterators
2021-07-25 12:22:25 +02:00
Rémi Verschelde
a0f7f42b84
Merge pull request #50834 from akien-mga/resourceuid-fix-remove-id-binding
...
ResourceUID: Fix `remove_id` binding
2021-07-25 12:22:04 +02:00
Rémi Verschelde
2a8a59eac0
Merge pull request #50644 from BastiaanOlij/mobile_compute_to_fragment
2021-07-25 11:58:11 +02:00
Rémi Verschelde
c91860bb11
ResourceUID: Fix remove_id
binding
...
Fixes #50833 .
2021-07-25 11:55:56 +02:00
luz paz
3564c16cb8
Fix various typos with codespell
...
Found via `codespell -q 3 -S ./thirdparty,*.po,./DONORS.md -L ackward,ang,ans,ba,beng,cas,childs,childrens,dof,doubleclick,fave,findn,hist,inout,leapyear,lod,nd,numer,ois,ony,paket,seeked,sinc,switchs,te,uint`
2021-07-25 11:21:51 +02:00
Rémi Verschelde
6b11d8cc73
Merge pull request #50828 from aaronfranke/fix-json-stringify-dict
...
Fix check for the first key in JSON stringify from Dictionary code
2021-07-25 10:49:31 +02:00
bruvzg
9bb03e60d9
Optimise is_layout_rtl
by caching its return value.
2021-07-25 10:33:00 +03:00
Bastiaan Olij
1f69582835
Use fragment shader instead of compute shader for effects for mobile renderer
2021-07-25 13:58:21 +10:00
Aaron Franke
dd116d7998
Fix check for the first key in JSON stringify from Dictionary code
2021-07-24 21:28:50 -04:00
Hugo Locurcio
8cdfd2e706
Improve MeshInstance3D UV preview in the editor
...
- Use background and line colors that match better with the
rest of the editor.
- Use translucent lines to make overlapping lines visible.
- Tweak the error message to mention the UV layer in question
when there is no UV for a defined layer.
2021-07-25 01:11:24 +02:00
Rémi Verschelde
cf8e9fd80c
Merge pull request #50820 from raulsntos/fix-csharp-documentation
...
Fix documentation in StringExtensions
2021-07-25 00:23:31 +02:00
Rémi Verschelde
f66e71a26f
Merge pull request #50821 from raulsntos/fix-collision-doc
...
Fix typo in CollisionObject documentation
2021-07-24 23:50:30 +02:00