summaryrefslogtreecommitdiff
path: root/drivers
AgeCommit message (Collapse)Author
2020-10-19Fix invalid buffer updates in SDFGIreduz
2020-10-19Revert "Revert "Synchronization validation fix patch set 3 (inclusive of all ↵Juan Linietsky
previous patches)""
2020-10-19Revert "Synchronization validation fix patch set 3 (inclusive of all ↵Juan Linietsky
previous patches)"
2020-10-19Revert "Cause buffer_update to emit error if called during compute/draw list"Juan Linietsky
2020-10-19Merge pull request #40849 from jzulauf-lunarg/zulauf_buffer_update_err_msgJuan Linietsky
Cause buffer_update to emit error if called during compute/draw list
2020-10-19Merge pull request #42866 from jzulauf-lunarg/zulauf_sync_fixes_3Juan Linietsky
Synchronization validation fix patch set 3 (inclusive of all previous patches)
2020-10-18Revert "Replace SAO implementation with MSSAO"Juan Linietsky
2020-10-18Merge pull request #42077 from clayjohn/MSSAOJuan Linietsky
Replace SAO implementation with MSSAO
2020-10-18Replace SAO implementation with MSSAOclayjohn
2020-10-18Optimize Glow with local memoryclayjohn
2020-10-16Add pre-copy barrier to buffer updateJohn Zulauf
Add a barrier to "safe" the buffer update write from previous accesses to buffer range being updated. Remove duplicate unneed barrier.
2020-10-16Add subpass sync support for layout transitionsJohn Zulauf
Add additional source and dest mask bits for "from external" and "to external" subpass dependencies (respectively) when intial and final layouts cause implicit layout transitions. This is a big hammer -- any transition in a given direction will create a full barrier. Attachment specific stage and access flags could be used instead with additional logic to deduce the prior and intended subsequent usages.
2020-10-16Sync fix for clear textureJohn Zulauf
Make pre and post barriers non-conditional on format, as there are cases where pending operations in the GENERAL layout hazarding with clear.
2020-10-16Sync fix texture_get_data bad barrier paramJohn Zulauf
Changed srcStageMask to the valid stage for post transfer barrier.
2020-10-16Additional synchronization fixes w/o FORCE_FULL_BARRIERJohn Zulauf
Additional synchronization fixes from hazards arising from disabling FORCE_FULL_BARRIER.
2020-10-16Correct stage masks for storage texture barriersJohn Zulauf
Change the srcStageMasks and dstStageMasks for the storage texture end draw barriers to refer to the correct stages for the use.
2020-10-16Add barrier for buffer gettingJohn Zulauf
Add barrier for source buffer when getting. Refactor common "owner and stage/access" code to utility function.
2020-10-16Add fragment stage to texture copy/resolve barriersJohn Zulauf
Added the fragment stage to the texture copy and resolve final barriers for source and dest. As the textures could subsequently be used by the fragment stage, this was triggering a validation error from the pre-alpha synchronization validation.
2020-10-13Fix dummy rasterizer with new interface.Fabio Alessandrelli
2020-09-28Hides special folders in FileDialog for macOSHaoyu Qiu
2020-09-27Add all headers to VS ProjectBartłomiej T. Listwon
2020-09-18Fix RasterizerDummy, override, cleanup.Fabio Alessandrelli
Add override keyword to RasterizerDummy methods. Plus cleanup unused methods, remove virtual keyword.
2020-09-18NetBSD: Implement OS_Unix::get_executable_path()Rémi Verschelde
Same implementation as OpenBSD seems to work fine.
2020-09-18Linux/BSD: Fix support for NetBSDRémi Verschelde
Add __NetBSD__ to `platform_config.h` so that it can find `alloca` and use the proper `pthread_setname_np` format. Rename RANDOM_MAX to avoid conflict with NetBSD stdlib. Fixes #42145.
2020-09-04Replace calls to gmtime with gmtime_r and localtime with localtime_r.Marcel Admiraal
2020-09-03[Complex Test Layouts] Change `String` to use UTF-32 encoding on all platforms.bruvzg
2020-09-03Ensure header guards enclose entire header.Marcel Admiraal
2020-08-31Add high quality glow modeclayjohn
2020-08-13Remove obsolete GLES2 backend codeRémi Verschelde
This code currently isn't compiled (and cannot compile). We plan to re-add OpenGL ES-based renderer(s) in Godot 4.0 alongside Vulkan (probably ES 3.0, possibly also a low-end ES 2.0), but the code will be quite different so it's not relevant to keep this old Godot 3.2 code. The `drivers/gles2` code from the `3.2` branch can be used as a reference for a potential new implementation.
2020-08-11[macOS] Fix crash on failed `fork`.bruvzg
2020-07-29Cause buffer_update to emit error if called during compute/draw listJohn Zulauf
Add error message to buffer update if a compute or draw list is active.
2020-07-26SCons: Support linking system Vulkan loader while using vendored VMARémi Verschelde
2020-07-25iOS SCons: static Vulkan binary usageSergey Minakov
Add VMA to iphone platform Use linkflag for iphone building to enforce static linking. Works fine with dynamic '.framework' library Updated xcode project to use '.a' static library
2020-07-22Vulkan: Fix struct init for VkClearAttachmentRémi Verschelde
The changes from #38835 were not sufficient to fix #38829, as VkClearAttachment still had uninitialized member structs in its VkClearColor member struct. The struct rabbit hole goes deep and trying to do validation as done in #38829 doesn't appear realistic.
2020-07-22Merge pull request #38835 from madmiraal/fix-38829Rémi Verschelde
Fix may be used unitialized warnings in _render_pass_create() and _draw_list_insert_clear_region().
2020-07-21Merge pull request #40450 from asmaloney/spellingRémi Verschelde
Fix spelling & grammar in comments, docs, and messages
2020-07-21Fix spelling & grammar in comments, docs, and messagesAndy Maloney
2020-07-17Fix spelling of a var, a struct, and message outputAndy Maloney
2020-07-13Add error messages if Vulkan init failed, prevent Vulkan context freeing ↵bruvzg
uninitialized device and instance.
2020-07-10Merge pull request #40253 from madmiraal/add-override-keywordsRémi Verschelde
Add override keywords.
2020-07-10Added 'fma' function to shader languageYuri Roubinsky
2020-07-10Add override keywords.Marcel Admiraal
2020-07-09Handle 16 bit PNG files in sRGB formatJohan Rastén
2020-07-09Fixed mesh data access errors in GLES2PouleyKetchoupp
1. Removed errors in mesh_surface_get_array as it's supported now 2. More accurate errors in mesh_surface_get_blend_shapes
2020-07-06Fix Directory Open CheckNathan Franke
2020-07-01Merge pull request #40016 from akien-mga/environment-code-cleanupRémi Verschelde
Environment: Refactor code for readability + more
2020-07-01Merge pull request #38713 from aaronfranke/string-64bitRémi Verschelde
Make all String integer conversion methods be 64-bit
2020-07-01Environment: Refactor code for readability + moreRémi Verschelde
- Makes all boolean setters/getters consistent. - Fixes bug where `glow_hdr_bleed_scale` was not used. - Split CameraEffects to their own source file. - Reorder all Environment method and properties declarations, definitions and bindings to be consistent with each other and with the order of property bindings. - Bind missing enum values added with SDFGI. - Remove unused SDFGI enhance_ssr boolean. - Sync doc changes after SDFGI merge and other misc changes.
2020-07-01Added const qualifier support for function arguments in shadersYuri Roubinsky
2020-06-30Fix RasterizerDummy after SDF GI changes.Fabio Alessandrelli
Re-enable JavaScript CI.