Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-07-26 | Merge pull request #50891 from Vitika9/50852 | Hugo Locurcio | |
Removed redundant assignment of `blur_pipeline` | |||
2021-07-26 | Merge pull request #50895 from Chaosus/fix_shader_crash | Rémi Verschelde | |
Fix editor crash if passing index as variable to function parameter | |||
2021-07-26 | Merge pull request #50847 from reduz/implement-binary-shader-compilation | Rémi Verschelde | |
Implement Binary Shader Compilation | |||
2021-07-26 | Fix editor crash if passing index as variable to function parameter | Yuri Roubinsky | |
2021-07-26 | Fixed coding style | vitika9 | |
2021-07-26 | Merge pull request #50884 from Chaosus/fix_shader_crash | Rémi Verschelde | |
Prevents shader crashing if varying assigned incorrectly by using compound assignment operators (*=, += etc.) | |||
2021-07-26 | Fix expression in `cluster_builder_rd.h` | Nicholas Huelin | |
This expression should now work as intended. | |||
2021-07-26 | Prevents shader crashing if varying assigned incorrectly | Yuri Roubinsky | |
2021-07-26 | Implement Binary Shader Compilation | reduz | |
* 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 | Fix compilation of `shader_language.cpp` | Yuri Roubinsky | |
2021-07-26 | Merge pull request #50729 from Chaosus/shader_varying_enchancements2 | Rémi Verschelde | |
Allow using vertex-stage varying in both `fragment` and `light` functions | |||
2021-07-26 | Merge pull request #50728 from Chaosus/shader_varying_enchancements | Rémi Verschelde | |
Allow using vertex varying in custom functions under any circumstances | |||
2021-07-26 | Merge pull request #50856 from SirQuartz/patch-32 | Rémi Verschelde | |
Fix always true expression `radius > 0.98 || radius < 1.02` in `cluster_builder_rd.h` | |||
2021-07-25 | Fix always true expression in `cluster_builder_rd.h` | Nicholas Huelin | |
This pull request fixes an issue where an expression would always evaluate to `true` no matter what. | |||
2021-07-25 | Fix various typos | luz paz | |
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 | Merge pull request #50809 from akien-mga/iterators-const-references | Rémi Verschelde | |
2021-07-25 | Merge pull request #50250 from luzpaz/typos | Rémi Verschelde | |
Fix various typos | |||
2021-07-25 | Use const references where possible for List range iterators | Rémi Verschelde | |
2021-07-25 | Merge pull request #50644 from BastiaanOlij/mobile_compute_to_fragment | Rémi Verschelde | |
2021-07-25 | Fix various typos with codespell | luz paz | |
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 | Use fragment shader instead of compute shader for effects for mobile renderer | Bastiaan Olij | |
2021-07-23 | Use C++ iterators for Lists in many situations | Aaron Franke | |
2021-07-22 | Move `alert` function from `DisplayServer` to `OS`. | bruvzg | |
2021-07-22 | Allow using vertex-stage varying in both `fragment` and `light` | Yuri Roubinsky | |
2021-07-22 | Allow using vertex varying in custom functions under any circumstances | Yuri Roubinsky | |
2021-07-21 | Forbid varyings from assigning in custom functions to prevent crashes | Yuri Roubinsky | |
2021-07-21 | Merge pull request #50489 from Chaosus/shader_varying | Rémi Verschelde | |
Prevent error if varying assigned but not used (push warning instead) | |||
2021-07-21 | Merge pull request #50686 from Calinou/use-standard-inf-nan-constants | Rémi Verschelde | |
Use the standard C `INFINITY` and `NAN` constants directly | |||
2021-07-21 | Use the standard C `INFINITY` and `NAN` constants directly | Hugo Locurcio | |
The `Math_INF` and `Math_NAN` defines were just aliases for those constants, so we might as well use them directly. Some portions of the code were already using `INFINITY` directly. | |||
2021-07-21 | Use is_equal_approx in more places | Aaron Franke | |
2021-07-20 | Merge pull request #50537 from Calinou/improve-shader-error-output-2 | Rémi Verschelde | |
Add error marking to the shader error console output | |||
2021-07-20 | Merge pull request #50605 from Calinou/tweak-shader-code-style | Rémi Verschelde | |
Use C++11 raw literals for shader code to improve readability | |||
2021-07-20 | Merge pull request #50618 from reduz/implement-more-specialization-constants | Rémi Verschelde | |
Implement more rendering options as specialization constants | |||
2021-07-19 | Implement more rendering options as specialization constants | reduz | |
* Shadow quality settings now specialization constant. * Decal and light projector filters can be set. * Changing those settings forces re-creation of the pipelines. These changes should help improve performance related to shadow mapping, and allows improving performance by sacrificing decal and light projector quality. | |||
2021-07-19 | Merge pull request #50604 from aaronfranke/float-array-cast | Rémi Verschelde | |
Explicitly cast real_t to float when creating a float array | |||
2021-07-19 | Ensure KinematicBodies only interact with other Bodies with matching mask. | Marcel Admiraal | |
2021-07-19 | Merge pull request #50566 from reduz/optimize-stringname-usage | Rémi Verschelde | |
Optimize StringName usage | |||
2021-07-19 | Use C++11 raw literals for shader code to improve readability | Hugo Locurcio | |
In files that have lots of branching, `\t` was replaced with a tab character instead. | |||
2021-07-19 | Explicitly cast to float when creating a float array | Aaron Franke | |
2021-07-18 | Optimize StringName usage | reduz | |
* Added a new macro SNAME() that constructs and caches a local stringname. * Subsequent usages use the cached version. * Since these use a global static variable, a second refcounter of static usages need to be kept for cleanup time. * Replaced all theme usages by this new macro. * Replace all signal emission usages by this new macro. * Replace all call_deferred usages by this new macro. This is part of ongoing work to optimize GUI and the editor. | |||
2021-07-17 | Add error marking to the shader error console output | Hugo Locurcio | |
This makes it possible to see where the shader error is without having to look at the trace printed below the source code. | |||
2021-07-15 | Fixes to forward mobile | reduz | |
* use valid format for framebuffer: VK_FORMAT_A2B10G10R10_UNORM_PACK32 * Unfortunately cant be used for compute. * Mobile will need to do refprobe, sky, mipmapblurring using raster. | |||
2021-07-15 | Prevent error if varying assigned but not used (push warning instead) | Yuri Roubinsky | |
2021-07-15 | Merge pull request #49996 from Chaosus/shader_localvar_warning | Rémi Verschelde | |
Added a shader warning about unused local variable | |||
2021-07-15 | Merge pull request #49678 from BastiaanOlij/mobile_renderer_select_color_format | Juan Linietsky | |
Use 32bit instead of 64bit 3D render buffer on mobile renderer | |||
2021-07-15 | Fixing 2D moving platform logic | fabriceci | |
Fixing by applying the movement in two steps, first the platform movement, and then the body movement. Plus, add the platform movement when we are on_wall. | |||
2021-07-14 | Removes lines about window size from the console output | Yuri Roubinsky | |
2021-07-14 | Check if there are new docs missing on CI | Yuri Sizov | |
2021-07-14 | Merge pull request #50255 from Calinou/physicsserver3d-add-set-iterations | Rémi Verschelde | |
Add a method to set the number of physics solver iterations in 3D | |||
2021-07-13 | Merge pull request #50063 from nekomatata/more-accurate-move-and-slide | Rémi Verschelde | |
Make move_and_slide collision detection more accurate |