summaryrefslogtreecommitdiff
path: root/servers/visual/rasterizer_rd
AgeCommit message (Collapse)Author
2020-03-17Style: Set clang-format Standard to Cpp11Rémi Verschelde
For us, it practically only changes the fact that `A<A<int>>` is now used instead of the C++03 compatible `A<A<int> >`. Note: clang-format 10+ changed the `Standard` arguments to fully specified `c++11`, `c++14`, etc. versions, but we can't use `c++17` now if we want to preserve compatibility with clang-format 8 and 9. `Cpp11` is still supported as deprecated alias for `Latest`.
2020-03-11Fix various typosluz.paz
Found via `codespell`
2020-03-04Merge pull request #36733 from qarmin/static_analyzer_fixesRémi Verschelde
Fixes bugs found by Sonarcloud and Coverity
2020-03-04Change when we can ERR_FAIL_COND and ERR_FAIL_CONV_V to static_assertMateo Dev .59
2020-03-02Merge pull request #36691 from clayjohn/VULKAN-cubemap-roughnessRémi Verschelde
Improve cubemap importance sampling
2020-03-02Fixes bugs found by Sonarcloud and Coverityqarmin
2020-02-29Properly free reflection probe atlasclayjohn
2020-02-29Improve cubemap importance samplingclayjohn
2020-02-29Merge pull request #36679 from clayjohn/VULKAN-mem-leakRémi Verschelde
Remove minimum size for shadow atlas
2020-02-29Remove minimum size for shadow atlasclayjohn
2020-02-28Reduce descripter sets in cubemap filterclayjohn
2020-02-27Basic fast filtering implementationclayjohn
2020-02-28Merge pull request #36627 from clayjohn/VULKAN-freeRémi Verschelde
Properly free many Vulkan resources
2020-02-28Merge pull request #36556 from RandomShaper/rework_mutexRémi Verschelde
Reimplement `Mutex` with C++'s `<mutex>` (plus more)
2020-02-27Properly free many vulkan resourcesclayjohn
2020-02-27Merge pull request #36186 from Calinou/remove-vulkan-debugging-printsRémi Verschelde
Remove Vulkan debugging prints
2020-02-26Reimplement Mutex with C++'s <mutex>Pedro J. Estébanez
Main: - It's now implemented thanks to `<mutex>`. No more platform-specific implementations. - `BinaryMutex` (non-recursive) is added, as an alternative for special cases. - Doesn't need allocation/deallocation anymore. It can live in the stack and be part of other classes. - Because of that, it's methods are now `const` and the inner mutex is `mutable` so it can be easily used in `const` contexts. - A no-op implementation is provided if `NO_THREADS` is defined. No more need to add `#ifdef NO_THREADS` just for this. - `MutexLock` now takes a reference. At this point the cases of null `Mutex`es are rare. If you ever need that, just don't use `MutexLock`. - Thread-safe utilities are therefore simpler now. Misc.: - `ScopedMutexLock` is dropped and replaced by `MutexLock`, because they were pretty much the same. - Every case of lock, do-something, unlock is replaced by `MutexLock` (complex cases where it's not straightfoward are kept as as explicit lock and unlock). - `ShaderRD` contained an `std::mutex`, which has been replaced by `Mutex`.
2020-02-21properly flip sky when rendering reflection probesclayjohn
2020-02-20Fix MIMPAMPS typos in constants throughout the engineAndrii Doroshenko (Xrayez)
2020-02-18Fix compilation warnings and re-enable werror=yes on TravisRémi Verschelde
Fix -Wunused-variable, -Wunused-but-set-variable and -Wswitch warnings raised by GCC 8 and 9. Fix -Wunused-function, -Wunused-private-field and -Wtautological-constant-out-of-range-compare raised by Clang. Fix MSVC 2019 warning C4804 (unsafe use of type 'bool' in comparison operation). GCC -Wcpp warnings/Clang -W#warnings (`#warning`) are no longer raising errors and will thus not abort compilation with `werror=yes`. Treat glslang headers are system headers to avoid raising warnings. Re-enables us to build with `werror=yes` on Linux and macOS, thus catching warnings that would be introduced by new code. Fixes #36132.
2020-02-18PoolVector is gone, replaced by VectorJuan Linietsky
Typed `PoolTypeArray` types are now renamed `PackedTypeArray` and are sugar for `Vector<Type>`.
2020-02-15Fixes memory leaks in GdNavigationServer and RasterizerSceneHighEndRDHaoyu Qiu
2020-02-14fix oob write when calling MultiMesh::set_instance_transformMarcin Zawiejski
2020-02-14Merge pull request #36194 from dragmz/dragmz/exit_crash_fixRémi Verschelde
Fix crash when closing project manager
2020-02-14Merge pull request #36208 from akien-mga/warningsRémi Verschelde
Fix various GCC compilation warnings after Vulkan merge
2020-02-14Fix various GCC compilation warnings after Vulkan mergeRémi Verschelde
Part of #36132.
2020-02-13Fix error flood with sky backgroundclayjohn
2020-02-13fix crash when closing project managerMarcin Zawiejski
2020-02-13Remove Vulkan debugging printsHugo Locurcio
2020-02-12Merge pull request #36141 from Chaosus/shader_struct_member_arraysYuri Roubinsky
Added support for arrays as shader struct members
2020-02-12Added support for arrays as shader struct membersYuri Roubinsky
2020-02-12doc: Sync classref with current sourceRémi Verschelde
Lots of internal API changes and some docstrings were lost in the conversion. I manually salvaged many of them but for all the rendering-related ones, an additional pass is needed. Added missing enum bindings in BaseMaterial3D and VisualServer.
2020-02-11Implementation of 'struct' for shadersYuri Roubinsky
2020-02-11Vulkan: Move thirdparty code out of drivers, style fixesRémi Verschelde
- `vk_enum_string_helper.h` is a generated file taken from the SDK (Vulkan-ValidationLayers). - `vk_mem_alloc.h` is a library from GPUOpen: https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator
2020-02-11[Vulkan] Fix shader crash if using multiple underscores in identifier namesYuri Roubinsky
2020-02-11Added normalmap guided roughness mipmap generator, and a global roughness ↵Juan Linietsky
limiter.
2020-02-11Re-implemented screen space ambient occlusionJuan Linietsky
2020-02-11Modified rendering to use cluster instead of fowardJuan Linietsky
2020-02-11DOF fully implemented, can be edited on the fly.Juan Linietsky
2020-02-11Mostly working DOF BokehJuan Linietsky
2020-02-11WIP CameraEffects implementation (bokeh not working for now)Juan Linietsky
2020-02-11Auto exposure re-implemented in VulkanJuan Linietsky
2020-02-11-Refactored post processing, re-added glow and added a mix blend mode.Juan Linietsky
2020-02-11Fix Specular Blinn in vulkanclayjohn
2020-02-11Vulkan: Fix false positive in ninepatch axis stretch codeRémi Verschelde
Adapted from e4907e50feab1af05f514a66adc0086d1c141885, supersedes and closes #34704.
2020-02-11Fixed error condition check for multimesh instance colorsFabian Mathews
2020-02-11Changed variable name in shader because it was too genericMatias Pierdomenico
2020-02-11Fix code formatting issues and VS compilationRémi Verschelde
Also temporarily disable multicheck build so that we get a full build even when there are style issues on Vulkan. Fixes #33356.
2020-02-11Improved Voxel AO settings.Juan Linietsky
2020-02-11Dynamic objects in GIProbes are now affected by propagation parameter.Juan Linietsky