summaryrefslogtreecommitdiff
path: root/drivers/vulkan
AgeCommit message (Collapse)Author
2023-05-12Improve RenderingServer, RenderingDevice, ShaderGlobalsOverride documentationHugo Locurcio
This brings the overall class reference completion percentage from 87% to 92%. (cherry picked from commit 5056c427d32218e85ad79d51788fa7583d48e293)
2023-05-12Allow creation of rendering buffers at any timePedro J. Estébanez
(cherry picked from commit d4c46f15ae9f0cbc42151dc045f4435997576176)
2023-04-27Fix unsupported sampler filter used for voxel GIPedro J. Estébanez
(cherry picked from commit 09aa1bbdb3c9dc4891a192854636a4e33ccd46bc)
2023-04-26Fix issues with Vulkan layout transitionsPedro J. Estébanez
(cherry picked from commit 882b8692204e8db465670dbb3150a848197ad576)
2023-04-07Recreate swap chain when suboptimal to avoid error spamclayjohn
(cherry picked from commit c9d2bc91aace984b0c5fc1fcfa5b68e0a33e2ef6)
2023-03-14Avoid overflow when calculating ptr address for 3D textures in ↵clayjohn
RenderingDevice texture update (cherry picked from commit 06042a23b676c36f0afc1f3696d52cd60e79dc80)
2023-02-20Fix use-after-free for VkAttachmentReference ChibiDenDen
In the flow where VK_KHR_CREATE_RENDERPASS_2_EXTENSION_NAME does not exist VkAttachmentReference are created inside a loop and their backing buffer is referenced in the subpass object. the VkAttachmentReference vectors are freed once the loop exists, causing the subpass to point to freed data. Add all the VkAttachmentReference to a vector in the scope of the entire function, to ensure they are not freed until vkCreateRenderPass is called
2023-02-12Make present mode info message print only on changeWiktor Kocielski
Styling fix
2023-02-10Make draw command labels thread safesakrel
2023-02-10Merge pull request #70663 from EpEpDragon/feature_buffer_get_data_size_optionRémi Verschelde
Add optional size parameter to the RenderDevice buffer_get_data method.
2023-02-07Add more debug information to swapchain errors in Vulkan contextclayjohn
2023-02-03Print name of Vulkan rendering method on startupHugo Locurcio
This helps troubleshooting as the CLI logs now distinguish between Forward+ and Forward Mobile.
2023-02-03Add layer slice support to render device and render buffersBastiaan Olij
2023-01-23Add a few more checks to ensure that unsupported image formats are not used ↵clayjohn
in the mobile renderer
2023-01-23Merge pull request #70429 from BastiaanOlij/check_more_vulkan_extensionsRémi Verschelde
Enabling additional vulkan extension and adding further checks
2023-01-23Convert en_GB spelling to en_US with codespellRémi Verschelde
2023-01-21Use range iterators in LocalVector loopskobewi
2023-01-15Enabling additional vulkan extension and adding further checksBastiaan Olij
2023-01-09Make inclusion of Godot version in shader hash universalPedro J. Estébanez
2023-01-06Added optional offset and size parameter to RenderDevice buffer_get_data methodEpEpDragon
2023-01-05One Copyright Update to rule them allRémi Verschelde
As many open source projects have started doing it, we're removing the current year from the copyright notice, so that we don't need to bump it every year. It seems like only the first year of publication is technically relevant for copyright notices, and even that seems to be something that many companies stopped listing altogether (in a version controlled codebase, the commits are a much better source of date of publication than a hardcoded copyright statement). We also now list Godot Engine contributors first as we're collectively the current maintainers of the project, and we clarify that the "exclusive" copyright of the co-founders covers the timespan before opensourcing (their further contributions are included as part of Godot Engine contributors). Also fixed "cf." Frenchism - it's meant as "refer to / see".
2022-12-20Merge pull request #65376 from reduz/astc-supportRémi Verschelde
Implement basic ASTC support
2022-12-20Implement basic ASTC supportJuan Linietsky
Implements basic ASTC support: * Only 4x4 and 8x8 block sizes. * Other block sizes are too complex to handle for Godot image compression handling. May be implemented sometime in the future. The need for ASTC is mostly for the following use cases: * Implement a high quality compression option for textures on mobile and M1 Apple hardware. * For this, the 4x4 is sufficient, since it uses the same size as BPTC. ASTC supports a lot of block sizes, but the benefit of supporting most of them is slim, while the implementation complexity in Godot is very high. Supporting only 4x4 (and 8x8) solves the real problem, which is lack of a BPTC alternative on hardware where it's missing. Note: This does not yet support encoding on import, an ASTC encoder will need to be added.
2022-12-15Merge pull request #70104 from RandomShaper/vk_dev_assertsClay John
Replace certain sanity checks with proper dev-only assertions in Vulkan RD
2022-12-15Replace certain sanity checks with proper dev-only assertions in Vulkan RDPedro J. Estébanez
2022-12-15Changed `STORAGE_BUFFER_USAGE_DISPATCH_INDIRECT` type to enum flagsYuri Rubinsky
2022-12-15Merge pull request #69709 from RandomShaper/refactor_spirv_reflectionRémi Verschelde
Refactor SPIR-V reflection into a generic RenderingDevice feature
2022-12-12Refactor SPIR-V reflection into a generic RenderingDevice featurePedro J. Estébanez
2022-12-12Tidy up some aspects of Vulkan RDPedro J. Estébanez
2022-12-12Merge pull request #69635 from BastiaanOlij/fix_get_bufferRémi Verschelde
Fix barrier on buffer_get_data
2022-12-11Changed `RD::PipelineDynamicStateFlags` type to enum flagsYuri Rubinsky
2022-12-06Fix barrier on buffer_get_dataBastiaan Olij
2022-12-05Fix issue where we should be using device supported version instead of ↵Bastiaan Olij
instance version for Vulkan
2022-11-26Changed `RenderingDevice::TextureUsageBits` type to enum flagsYuri Rubinsky
2022-11-24Improve logic for detecting and tracking extensionsBastiaan Olij
2022-11-22Merge pull request #68942 from Chaosus/barrier_mask_flagsRémi Verschelde
Expose `BarrierMask` as flags enum in `RenderingDevice`
2022-11-22Expose `BarrierMask` as flags enum in `RenderingDevice`Yuri Rubinsky
2022-11-21Merge pull request #68527 from pkdawson/vertex-array-offsetsRémi Verschelde
Add `offsets` parameter to RenderingDevice::vertex_array_create
2022-11-17Fix VRS issuesBastiaan Olij
2022-11-14Fix periods in editor strings and messagesHugo Locurcio
- Ensure all strings with ellipsis end with 3 periods instead of 2. - Fix extraneous period in "Error calling from signal '...' to callable" messages.
2022-11-11Add `offsets` parameter to RenderingDevice::vertex_array_createPatrick Dawson
2022-11-08Remove duplicate project settings definitionskobewi
2022-11-05RenderingDevice: Fix usage of index offsetPatrick Dawson
2022-11-03Merge pull request #68102 from BastiaanOlij/fix_render_issues_xrRémi Verschelde
Fix several render issues found while debugging XR
2022-11-02Style: Misc docs and comment style and language fixesRémi Verschelde
- Removed empty paragraphs in XML. - Consistently use bold style for "Example:", on a new line. - Fix usage of `[code]` when hyperlinks could be used (`[member]`, `[constant]`). - Fix invalid usage of backticks for inline code in BBCode. - Fix some American/British English spelling inconsistencies. - Other minor fixes spotted along the way, including typo fixes with codespell. - Don't specify `@GlobalScope` for `enum` and `constant`.
2022-11-01Fix several render issues found while debugging XRBastiaan Olij
2022-10-31Merge pull request #67578 from KoBeWi/GEDITORRémi Verschelde
Unify usage of GLOBAL/EDITOR_GET
2022-10-31Merge pull request #67729 from Riteo/workaround-extension-feature-bugRémi Verschelde
Check for a Vulkan extension before checking its features
2022-10-27Merge pull request #64710 from MinusKube/window-size-crashClay John
Prevent windows from having a size greater than device limit
2022-10-24Merge pull request #67541 from RandomShaper/refactor_subgroup_adsClay John
Let the RD driver itself expose subgroup caps