1
0
forked from 0ad/0ad
Commit Graph

1015 Commits

Author SHA1 Message Date
c17bffff1e Extends logs for Vulkan available device.
Differential Revision: https://code.wildfiregames.com/D4917
This was SVN commit r27510.
2023-01-30 21:16:47 +00:00
c80bfc8732 Uses Vulkan physical device indices as the last comparison for device selection.
This was SVN commit r27503.
2023-01-29 23:06:42 +00:00
e050a32eef Adds more features to report for Vulkan backend.
This was SVN commit r27502.
2023-01-29 22:10:52 +00:00
cb5a0b6342 Prevents using R8G8B8_UNORM format for Vulkan textures as it can be supported as a native format only by workarounds.
This was SVN commit r27496.
2023-01-26 21:44:50 +00:00
840dbdd6d8 Creates image views for Vulkan textures only when needed.
This was SVN commit r27495.
2023-01-26 21:38:39 +00:00
6648b1b53c Enables non-solid fill for Vulkan to allow wireframe drawing.
This was SVN commit r27494.
2023-01-26 17:23:56 +00:00
a3e8fd0fd4 Updates shadows camera frustum after its recalculation.
This was SVN commit r27493.
2023-01-26 17:12:57 +00:00
e5635a9d7f Fixes shadows cascades iteration.
This was SVN commit r27492.
2023-01-26 17:12:11 +00:00
18b2f6e184 Disables descriptor indexing on macOS.
This was SVN commit r27477.
2023-01-21 22:53:16 +00:00
e8ec04fd53 Fixes querying descriptor indexing features and properties on some drivers.
This was SVN commit r27475.
2023-01-21 17:06:55 +00:00
64bc717a18 Hides some warnings for VMA.
Differential Revision: https://code.wildfiregames.com/D4889
This was SVN commit r27450.
2023-01-16 06:37:22 +00:00
0f130fb19c Removes unnecessary PreDraw from Vulkan CDeviceCommandContext.
This was SVN commit r27446.
2023-01-15 11:51:47 +00:00
32c43eaef8 Fixes StaticVector size type warning inside Vulkan CDeviceCommandContext.
This was SVN commit r27423.
2023-01-12 06:40:42 +00:00
ec704d8179 Recreates Vulkan swapchain on window resize.
Tested By: hyperion
Differential Revision: https://code.wildfiregames.com/D4879
This was SVN commit r27422.
2023-01-12 06:35:59 +00:00
ccda54a662 Ands new depth stencil format to support all combinations on Vulkan.
Tested By: hyperion, nwtour
Differential Revision: https://code.wildfiregames.com/D4878
This was SVN commit r27421.
2023-01-12 06:32:52 +00:00
b5e8b4944d Fixes silhouettes on Vulkan by using VkStencilOpState.
This was SVN commit r27418.
2023-01-11 16:22:09 +00:00
b31e698f12 Use override in classes derived from AbstractProfileTable.
Patch By: phosit
Differential Revision: https://code.wildfiregames.com/D4825
This was SVN commit r27414.
2023-01-10 22:32:08 +00:00
7c84c23114 Adds Vulkan backend.
Comments By: phosit, Stan
Differential Revision: https://code.wildfiregames.com/D4876
This was SVN commit r27412.
2023-01-10 20:22:20 +00:00
7dca5d23ad Adds preferred depth stencil format to renderer backend.
This was SVN commit r27379.
2023-01-06 23:07:50 +00:00
ef0a644dcc Fixes status bar rendering after 4ed41d4a9a. Fixes #6674
This was SVN commit r27377.
2023-01-06 19:20:45 +00:00
38a6726a07 Fixes shore waves rendering after 29368cf776.
Tested By: phosit
Differential Revision: https://code.wildfiregames.com/D4865
This was SVN commit r27375.
2023-01-06 19:11:47 +00:00
90f064ff03 Switches from per draw vertex attribute format to precompiled vertex input layout.
Comments By: phosit, Stan
Differential Revision: https://code.wildfiregames.com/D4852
This was SVN commit r27363.
2023-01-06 00:39:25 +00:00
e4ded1f971 Fixes vertex attribute format mismatch for silhouette debug rendering.
This was SVN commit r27331.
2023-01-01 21:46:31 +00:00
4ed41d4a9a Switches from pipeline state descriptions to pipeline states.
Tested By: phosit, Stan
Differential Revision: https://code.wildfiregames.com/D4850
This was SVN commit r27328.
2022-12-31 18:29:44 +00:00
c0e888e2af Removes SetViewport from CRenderer.
Differential Revision: https://code.wildfiregames.com/D4849
This was SVN commit r27313.
2022-12-29 06:53:06 +00:00
7c20a8c958 Reduces shader inputs duplication and wraps them in a macro. Refs #6636
Tested By: Stan
Differential Revision: https://code.wildfiregames.com/D4837
This was SVN commit r27282.
2022-12-10 10:14:35 +00:00
d8bf4f6e62 Makes GLES using high precision for both vertex and fragment shaders.
This was SVN commit r27275.
2022-12-06 18:30:34 +00:00
2ef801f5d0 Remove some unnecessary string copy related to substr.
Patch By: phosit
Differential Revision: https://code.wildfiregames.com/D4772
This was SVN commit r27271.
2022-12-04 19:56:12 +00:00
3723cbf692 Fixes big screenshots after 29368cf776 and 3a4c8342a0.
Differential Revision: https://code.wildfiregames.com/D4835
This was SVN commit r27269.
2022-12-04 19:28:34 +00:00
29368cf776 Adds framebuffer attachment load and store operations.
Comments By: phosit, Stan
Differential Revision: https://code.wildfiregames.com/D4830
This was SVN commit r27256.
2022-11-26 21:55:17 +00:00
8e51dfa91a Moves post processing out of scene rendering to avoid framebuffer pass duplicate.
Comments By: phosit, Stan
Differential Revision: https://code.wildfiregames.com/D4827
This was SVN commit r27232.
2022-11-18 19:59:18 +00:00
92f2152900 Removes unused UV1 stream in OverlayRenderer and moves vertex data setup out of a loop.
This was SVN commit r27222.
2022-11-13 19:19:08 +00:00
192585008a Removes skycolor from GL framebuffer.
Differential Revision: https://code.wildfiregames.com/D4822
This was SVN commit r27220.
2022-11-11 23:03:01 +00:00
f4c730a887 Reduces the uniform size of an instancing transform of overlay solid shader.
This was SVN commit r27209.
2022-11-06 20:04:26 +00:00
3978149386 Reduces the uniform size of a texture transform of debug overlay shader.
This was SVN commit r27208.
2022-11-06 19:40:47 +00:00
097725e1e0 Moves particles data uploading out of framebuffer pass.
Comments By: phosit
Differential Revision: https://code.wildfiregames.com/D4820
This was SVN commit r27207.
2022-11-06 11:31:05 +00:00
3a4c8342a0 Makes AcquireNextBackbuffer returns true in case of successful backbuffer acquirement.
This was SVN commit r27184.
2022-10-30 00:38:45 +00:00
2d0cde4e64 Disallows backend buffer uploading inside framebuffer pass.
Differential Revision: https://code.wildfiregames.com/D4815
This was SVN commit r27182.
2022-10-29 23:20:04 +00:00
968fd50fb0 Moves Backend enum from CVideoMode to backends.
Comments By: phosit, Stan
Differential Revision: https://code.wildfiregames.com/D4809
This was SVN commit r27173.
2022-10-25 22:45:54 +00:00
8691674cc6 Moves skybox vertex array creation and uploading before its rendering.
This was SVN commit r27167.
2022-10-23 14:47:23 +00:00
47aae99fbe Skips renderer resources preloading for screenshots.
This was SVN commit r27156.
2022-10-13 21:46:08 +00:00
64bd81ae6b Adds usage flags to backend textures.
This was SVN commit r27152.
2022-10-12 23:19:27 +00:00
d3f0395d2a Adds BeginFramebufferPass/EndFramebufferPass instead of SetFramebuffer.
This was SVN commit r27151.
2022-10-12 21:51:27 +00:00
8ae3a2bfd6 Adds AcquireNextBackbuffer to CDevice to have something to present.
This was SVN commit r27148.
2022-10-11 22:48:07 +00:00
b728c9e97e Fixes vertex attribute format in minimap and passes dependent textures as parameters.
This was SVN commit r27145.
2022-10-11 20:37:27 +00:00
c57b416e20 Fixes calls to SetVertexAttributeFormat with zero stride.
This was SVN commit r27139.
2022-10-09 13:03:42 +00:00
908d9a0079 Moves vertex buffer offset to SetVertexBuffer.
This was SVN commit r27137.
2022-10-09 11:47:34 +00:00
178850cb23 Replaces border color of sampler by enum.
This was SVN commit r27134.
2022-10-08 09:40:06 +00:00
ca427529c0 Fixes include guards of CDeviceCommandContext headers.
This was SVN commit r27132.
2022-10-07 23:02:15 +00:00
4d77de66d4 Removes GUI dependency from Canvas2D.
Initially the GetDefaultGuiMatrix function was added in 4113aa0a36 and
renamed in 04c63a4093.

This was SVN commit r27111.
2022-10-04 20:25:39 +00:00