bruvzg
4cc439922a
Update VulkanMemoryAllocator to 2.3.0 (Fixes build for 32-bit Windows and Linux).
2020-02-11 19:05:50 +02:00
Yuri Roubinsky
6f162395ff
Implementation of 'struct' for shaders
2020-02-11 20:00:42 +03:00
Marcel Admiraal
11cd8b8e4a
Fix assign instead of comparison in image_save_tinyexr.cpp.
2020-02-11 17:11:39 +01:00
Rémi Verschelde
8c73e81313
Merge pull request #36102 from bruvzg/rvo2_mingw_fix
...
[MinGW] Remove unused WinAPI includes/defines from RVO2.
2020-02-11 16:32:26 +01:00
Rémi Verschelde
1eb424ec95
Merge pull request #36098 from godotengine/vulkan
...
Add initial Vulkan support, master branch goes UNSTABLE
2020-02-11 16:01:55 +01:00
Rémi Verschelde
db81928e08
Vulkan: Move thirdparty code out of drivers, style fixes
...
- `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 14:08:44 +01:00
bruvzg
d544baf174
Remove unused WinAPI includes/defines to fix MinGW cross-build.
2020-02-11 14:49:12 +02:00
Rémi Verschelde
eb2b1a6022
Merge pull request #35773 from Chaosus/vk_shader_fix_crash
...
[Vulkan] Fix shader crash if using multiple underscores in identifiers
2020-02-11 12:16:33 +01:00
Yuri Roubinsky
21e3cc7bb8
[Vulkan] Fix shader crash if using multiple underscores in identifier names
2020-02-11 12:16:22 +01:00
Juan Linietsky
2049dec79e
Added normalmap guided roughness mipmap generator, and a global roughness limiter.
2020-02-11 12:16:01 +01:00
Juan Linietsky
bed8980ca5
Re-implemented screen space ambient occlusion
2020-02-11 12:15:46 +01:00
Juan Linietsky
ee1e89f8c0
Modified rendering to use cluster instead of foward
2020-02-11 12:15:27 +01:00
Juan Linietsky
f8b5c5f063
DOF fully implemented, can be edited on the fly.
2020-02-11 12:15:26 +01:00
Juan Linietsky
c05da81268
Mostly working DOF Bokeh
2020-02-11 12:15:04 +01:00
Juan Linietsky
f14defb6f9
WIP CameraEffects implementation (bokeh not working for now)
2020-02-11 12:15:03 +01:00
Juan Linietsky
bd364d1447
Auto exposure re-implemented in Vulkan
2020-02-11 12:14:23 +01:00
Juan Linietsky
b859e69919
-Refactored post processing, re-added glow and added a mix blend mode.
2020-02-11 12:14:21 +01:00
Rémi Verschelde
de0d834a4d
Merge pull request #34762 from clayjohn/vulkan
...
Fix Specular Blinn in vulkan
2020-02-11 12:10:50 +01:00
clayjohn
e530f49be2
Fix Specular Blinn in vulkan
2020-02-11 12:10:36 +01:00
Rémi Verschelde
6310354cde
Vulkan: Fix false positive in ninepatch axis stretch code
...
Adapted from e4907e50fe
,
supersedes and closes #34704 .
2020-02-11 12:09:55 +01:00
Rémi Verschelde
e241057a98
Merge pull request #34487 from supagu/instance_mesh_colours_fix
...
Fixed error condition check for multimesh instance colors
2020-02-11 12:07:14 +01:00
Fabian Mathews
ba6d9597cb
Fixed error condition check for multimesh instance colors
2020-02-11 12:07:03 +01:00
Rémi Verschelde
2db8f40bd7
Merge pull request #34307 from bruvzg/macos_rebase_fixes
...
[Vulkan] Restore parts of #33783 and #32809 missing after rebase.
2020-02-11 12:06:31 +01:00
bruvzg
0ce4433686
Restore parts of #33783 and #32809 missing after rebase.
2020-02-11 12:06:30 +01:00
Rémi Verschelde
4cac20aea3
Fix crash after rebase on the master branch
...
Apparently rasterizer is not initialized yet when this is called
the first time, so it crashes.
2020-02-11 12:06:20 +01:00
Rémi Verschelde
4696cd07b6
Merge pull request #33631 from MatiasPi/pr_shader_variable_change
...
Changed variable name in shader because it was too generic
2020-02-11 12:06:11 +01:00
Matias Pierdomenico
0e20e349f1
Changed variable name in shader because it was too generic
2020-02-11 12:06:05 +01:00
Rémi Verschelde
cc674a5cda
Merge pull request #33386 from Chaosus/vk_fix_texture_preview
...
[Vulkan] Adds repeat flag to texture preview checkerboard background
2020-02-11 12:05:47 +01:00
Yuri Roubinsky
171691aad9
[Vulkan] Add repeat flag to texture preview checkerboard background
2020-02-11 12:05:43 +01:00
Rémi Verschelde
bb9b9b03c4
Merge pull request #33385 from bruvzg/loader_1_1_127
...
Update Vulkan loader to 1.1.127
2020-02-11 12:05:31 +01:00
bruvzg
7bf72ed14e
Update Vulkan loader to 1.1.127
2020-02-11 12:05:27 +01:00
Rémi Verschelde
7f430b03a7
Merge pull request #33359 from akien-mga/vulkan
...
Fix code formatting issues and VS compilation
2020-02-11 12:05:24 +01:00
Rémi Verschelde
fff4240bb4
Fix code formatting issues and VS compilation
...
Also temporarily disable multicheck build so that we get a full build
even when there are style issues on Vulkan.
Fixes #33356 .
2020-02-11 12:05:19 +01:00
Juan Linietsky
b509c814fc
Improved Voxel AO settings.
2020-02-11 12:05:05 +01:00
Juan Linietsky
4949d578f2
Dynamic objects in GIProbes are now affected by propagation parameter.
2020-02-11 12:05:05 +01:00
Juan Linietsky
d6e4b45994
More correctly divide alpha by 8 for mipmaps, fixes voxel overocclusion.
2020-02-11 12:05:04 +01:00
Juan Linietsky
f4c5e88ef2
Fix to category in material.
2020-02-11 12:05:04 +01:00
Juan Linietsky
8deb977551
Changed SDF processing to smooth out shadows.
2020-02-11 12:05:03 +01:00
Juan Linietsky
da0457fa29
Several fixes to GIProbes
2020-02-11 12:04:56 +01:00
Juan Linietsky
971ce680f2
Fixes to how anisotropy is handled, makes it work on nvidia.
2020-02-11 12:04:56 +01:00
Juan Linietsky
f4948721e4
Fixed uninitialized memory bug in voxelizer
2020-02-11 12:04:54 +01:00
Juan Linietsky
2af701fa03
Use a different strategy to get textures from GPU (via buffers), for more compatibility.
2020-02-11 12:04:54 +01:00
Rémi Verschelde
a60edae506
Merge pull request #32950 from RandomShaper/fix_rid_alloc
...
Fix bugs in `RID_Alloc`
2020-02-11 12:04:42 +01:00
Pedro J. Estébanez
e38ae8d7e4
Fix bugs in `RID_Alloc`
...
- Replace unintended `%` with `&`
- `get_owned_list()`: make thread-safe and fix logic
- Apply same logic fix to the destructor
Previously, the determination of owned RIDs was wrong. For instance, it could skip owned items or include duplicates in the list.
Avoids the engine crashing at exit.
2020-02-11 12:04:41 +01:00
Rémi Verschelde
f3f446ac75
Merge pull request #32914 from RandomShaper/fix_template_compile
...
Fix export template compilation
2020-02-11 12:04:36 +01:00
Pedro J. Estébanez
19e294e29b
Fix export template compilation
2020-02-11 12:04:31 +01:00
Rémi Verschelde
a8e14bee58
Merge pull request #32821 from bruvzg/vlk_fix_macos_exit
...
[Vulkan, macOS] Fix RID leaks and crashes on exit.
2020-02-11 12:04:20 +01:00
bruvzg
a85923b972
Move Vulkan context/rendering_device destruction to windowWillClose notification.
2020-02-11 12:04:16 +01:00
Rémi Verschelde
d10406a59a
Merge pull request #32818 from bruvzg/vlk_fix_hidpi_and_resize
...
[Vulkan, macOS] Improve HiDPI handling, fix incorrect window viewport clipping.
2020-02-11 12:04:08 +01:00
bruvzg
d5df1b651c
Improve HiDPI handling, fix incorrect window viewport clipping.
2020-02-11 12:04:04 +01:00