summaryrefslogtreecommitdiffstats
path: root/drivers/vulkan/vulkan_context.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Fixes leaks with Vulkan device and instanceqarmin2020-04-141-0/+2
|
* Vulkan: Use VK_NULL_HANDLE for handles, fixes 32-bit buildsRémi Verschelde2020-04-061-1/+1
| | | | | | | | | | | | | | Some Vulkan types are defined as "non dispatchable handles" and use a different typedef on 32-bit and 64-bit systems (struct pointer on 64-bit, `uint64_t` otherwise). https://github.com/KhronosGroup/Vulkan-Headers/blob/0e78ffd1dcfc3e9f14a966b9660dbc59bd967c5c/include/vulkan/vulkan_core.h#L59-L65 Contrarily to `NULL`, `nullptr` can't be converted to `uint64_t` so build was now failing on 32-bit after converting the codebase from using `NULL` to `nullptr`. Fixes #37620.
* Replace NULL with nullptrlupoDharkael2020-04-021-89/+89
|
* Added a Window node, and made it the scene root.Juan Linietsky2020-03-261-13/+12
| | | | Still a lot of work to do.
* Revert "Enhanced physical device selection to use device type and available ↵Rémi Verschelde2020-03-101-33/+2
| | | | | | memory in relation to issue #35397" This reverts commit 4f3006e5ac30d00b90eb531f3bdfd4bfa0d4025b.
* Initializes VulkanContext::queue_props to NULLHaoyu Qiu2020-03-101-0/+1
|
* Vulkan: Use Godot print macros matching MessageSeverity flagRémi Verschelde2020-03-041-24/+22
| | | | | | | Otherwise any verbose/info/warning debug message from Vulkan would raise an error, confusing users about the severity of the message. Cf. #36185, #36790.
* Merge pull request #36585 from disks86/masterRémi Verschelde2020-03-041-2/+33
|\ | | | | Enhanced physical device selection
| * Enhanced physical device selection to use device type and available memory ↵Christopher Joseph Dean Schaefer2020-02-281-2/+33
| | | | | | | | in relation to issue #35397
* | Adds null check of pMessageIdNameHaoyu Qiu2020-02-291-1/+1
| |
* | Merge pull request #36186 from Calinou/remove-vulkan-debugging-printsRémi Verschelde2020-02-271-10/+1
|\ \ | |/ |/| Remove Vulkan debugging prints
| * Remove Vulkan debugging printsHugo Locurcio2020-02-131-10/+1
| |
* | Vulkan: Work around false positive on 64-bit Linux w/ 32-bit ICDsRémi Verschelde2020-02-221-2/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the vast majority of cases, this will be a false positive error thrown by Vulkan-Loader when a Linux system has Vulkan ICDs for both 32-bit and 64-bit. The error is of the form: ``` ERROR: [Loader Message] Code 0 : /usr/lib/libvulkan_intel.so: wrong ELF class: ELFCLASS32 ERROR: [Loader Message] Code 0 : /usr/lib/libvulkan_radeon.so: wrong ELF class: ELFCLASS32 ``` The loader dlopen's the 32-bit ICDs first, raises this error, and then happily goes on to try and use the 64-bit ICDs. Upstream report: https://github.com/KhronosGroup/Vulkan-Loader/issues/262 Fixes #36185.
* | Fix VisualStudio throwing multiple C4996 warnings in vulkan_context.cpp.Marcel Admiraal2020-02-181-57/+62
| | | | | | | | | | Use Godot's String to concatenate C-strings instead of strcat and sprintf, which are unsafe, because they don't check for buffer overflows.
* | Fix various GCC compilation warnings after Vulkan mergeRémi Verschelde2020-02-141-0/+1
|/ | | | Part of #36132.
* Fixes some memory leaksHaoyu Qiu2020-02-131-18/+69
|
* Vulkan: Move thirdparty code out of drivers, style fixesRémi Verschelde2020-02-111-2/+2
| | | | | | | - `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
* Dynamic object support for GI Probes (a bit buggy still)Juan Linietsky2020-02-111-0/+3
|
* More GIProbe work and fixesJuan Linietsky2020-02-111-1/+5
|
* GIProbes working.Juan Linietsky2020-02-111-0/+5
|
* Environment sky more or less working.Juan Linietsky2020-02-111-7/+5
|
* Add static Vulkan loader.bruvzg2020-02-111-140/+189
| | | | | Initial Vulkan support for Windows. Initial Vulkan support for macOS.
* Completed material/2D shader support (missing SCREEN_TEXTURE)Juan Linietsky2020-02-111-4/+3
|
* Modified light rendering to make it more compatible.Juan Linietsky2020-02-111-0/+1
| | | | Modified polygon management to make it more compatible with MoltenVK
* Added ability to retrieve back textures stored on GPUJuan Linietsky2020-02-111-8/+2
|
* basic 2D engine is more or less working with Vulkan, including editor.Juan Linietsky2020-02-111-212/+292
| | | | Still a lot to do
* Basic 2D engine is more or less working, needs more work for editor to be ↵Juan Linietsky2020-02-111-0/+6
| | | | usable.
* Initial work on Vulkan:Juan Linietsky2020-02-111-0/+1314
-Added VulkanContext -Added an X11 implementation -Added a rendering device abstraction -added a Vulkan rendering device abstraction -Engine does not work, only shows Godot logo (run it from bin/)