Commit graph

26714 commits

Author SHA1 Message Date
Rémi Verschelde
49eef1180b
Merge pull request #36135 from akien-mga/doc-update
doc: Sync classref with current source
2020-02-12 13:29:44 +01:00
Rémi Verschelde
70dd7f4e1a
Merge pull request #32293 from hbina/remove_color_gray
Removed Color::gray
2020-02-12 12:54:24 +01:00
Rémi Verschelde
0e3d625737 doc: Sync classref with current source
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-12 12:37:13 +01:00
Hanif Bin Ariffin
7bc1dc828f Remove deprecated Color::gray
It was marked to be removed in Godot 3.1.

Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2020-02-12 11:22:33 +01:00
Rémi Verschelde
0c7fc80cc1
Merge pull request #36133 from Teashrock/master
Changed in-text driver name to "Vulkan"
2020-02-12 11:08:37 +01:00
geequlim
03d2d01082 Fix hover symbol content position 2020-02-12 17:59:20 +08:00
Rémi Verschelde
14d0e3e642
Merge pull request #36136 from timothyqiu/correct-forward-decl
Fixes friend declaration tag mismatch
2020-02-12 10:52:48 +01:00
Haoyu Qiu
4c42fb0eb7 Fixes friend declaration tag mismatch 2020-02-12 17:41:30 +08:00
Teashrock
919293b369 Changed in-text driver name to "Vulkan"
But it still requires a change of "driver_name" in backend itself.
2020-02-12 11:07:33 +02:00
Rémi Verschelde
6ac6bade0a
Merge pull request #36119 from YeldhamDev/tileeditor_concave_fixes
Fix problems with concave shapes in the TileSet editor
2020-02-12 06:55:03 +01:00
Michael Alexsander
eeb972faef Fix problems with concave shapes in the TileSet editor 2020-02-11 18:31:25 -03:00
Rémi Verschelde
948d95897c
Merge pull request #36095 from timothyqiu/corrupted-resource
Fixes crash when resource file is corrupted
2020-02-11 21:35:03 +01:00
Rémi Verschelde
2d637e3810
Merge pull request #36106 from madmiraal/fix-36097
Fix assign instead of comparison in image_save_tinyexr.cpp.
2020-02-11 21:34:48 +01:00
Rémi Verschelde
6638401d5d
Merge pull request #36107 from bruvzg/vlk_32_bit
Update VulkanMemoryAllocator to 2.3.0 (Fixes build for 32-bit Windows and Linux).
2020-02-11 21:34:20 +01:00
Yuri Roubinsky
31e4ae826e
Merge pull request #35249 from Chaosus/shader_struct
Implementation of 'struct' for shaders
2020-02-11 21:58:41 +03:00
Rémi Verschelde
e9d9fef720
Merge pull request #36110 from fire/vulkan_flip_screenshot
Don't flip screenshot.
2020-02-11 19:33:33 +01:00
K. S. Ernest (iFire) Lee
f65debaf68 Don't flip screenshot. 2020-02-11 10:10:42 -08:00
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