vladislavbelov
af13be489e
Adds printing error names to Vulkan backend.
...
Differential Revision: https://code.wildfiregames.com/D5121
This was SVN commit r27839.
2023-09-13 17:36:52 +00:00
vladislavbelov
37b2f93a3c
Adds texture checks for framebuffer attachments on Vulkan.
...
This was SVN commit r27817.
2023-08-28 17:53:41 +00:00
vladislavbelov
11e8f80b58
Fixes descriptor pool type for GetSingleTypePool.
...
This was SVN commit r27809.
2023-08-22 17:48:22 +00:00
vladislavbelov
23f1949e2a
Handles VK_INCOMPLETE for vkGetSwapchainImagesKHR.
...
Differential Revision: https://code.wildfiregames.com/D5090
This was SVN commit r27797.
2023-08-15 17:27:23 +00:00
bb
157c6af18e
Make the space in 0 A.D. non-breaking throughout the codebase.
...
Avoid cases of filenames
Update years in terms and other legal(ish) documents
Don't update years in license headers, since change is not meaningful
Will add linter rule in seperate commit
Happy recompiling everyone!
Original Patch By: Nescio
Comment By: Gallaecio
Differential Revision: D2620
This was SVN commit r27786.
2023-07-27 20:54:46 +00:00
vladislavbelov
94e30ae08e
Adds mipLODBias usage to Vulkan samplers.
...
This was SVN commit r27784.
2023-07-25 20:22:28 +00:00
vladislavbelov
5807e2982f
Makes GL ShaderProgram stage independent.
...
Differential Revision: https://code.wildfiregames.com/D5069
This was SVN commit r27761.
2023-07-17 22:07:13 +00:00
vladislavbelov
a9fc21fae7
Fixes printing a log of a GL shader compilation following b193633e59.
...
This was SVN commit r27745.
2023-06-30 10:02:24 +00:00
vladislavbelov
b193633e59
Moves GLSL compiling function out of CShaderProgram as it's independent.
...
This was SVN commit r27743.
2023-06-27 21:27:56 +00:00
vladislavbelov
3d071e4649
Removes OpenGL driver DLL version from reports on Windows.
...
Differential Revision: https://code.wildfiregames.com/D5052
This was SVN commit r27718.
2023-06-18 16:29:13 +00:00
vladislavbelov
44611294de
Fixes Sampler::Desc comment about using BorderColor.
...
This was SVN commit r27694.
2023-06-14 07:14:31 +00:00
vladislavbelov
9707931878
Fixes Vulkan hazards reported by validation layers.
...
Tested By: Stan
Differential Revision: https://code.wildfiregames.com/D5024
This was SVN commit r27665.
2023-06-05 16:32:18 +00:00
vladislavbelov
1b948580c7
Adds color blend state to Vulkan pipeline description only if color attachments are present.
...
This was SVN commit r27661.
2023-06-01 17:48:23 +00:00
vladislavbelov
753949eb73
Enables PolygonMode for Vulkan only when allowed by fillModeNonSolid.
...
This was SVN commit r27660.
2023-06-01 17:12:27 +00:00
vladislavbelov
cd8eb70859
Disables framebuffer invalidating by default for GL as some drivers perform it incorrectly.
...
Fixes #6805
Tested By: Itms
Differential Revision: https://code.wildfiregames.com/D5003
This was SVN commit r27654.
2023-05-29 20:53:10 +00:00
vladislavbelov
cd1dccd59f
Fixes the property name of available devices in a Vulkan report.
...
This was SVN commit r27579.
2023-03-14 20:21:53 +00:00
vladislavbelov
05c77b1819
Switches VMA to Vulkan 1.1.
...
Tested By: Langbart
Differential Revision: https://code.wildfiregames.com/D4947
This was SVN commit r27573.
2023-03-11 19:12:54 +00:00
vladislavbelov
f2519d92a0
Fixes GL ES version report after GL_INVALID_ENUM triggered by glEnable(GL_TEXTURE_2D).
...
This was SVN commit r27564.
2023-02-28 16:56:36 +00:00
vladislavbelov
4355c8675b
Implements framebuffer readback for Vulkan to allow screenshots.
...
Differential Revision: https://code.wildfiregames.com/D4940
This was SVN commit r27552.
2023-02-17 17:36:10 +00:00
vladislavbelov
f8520e0275
Increases minImageCount for Vulkan swapchain only when there is a room for that.
...
This was SVN commit r27537.
2023-02-12 23:12:28 +00:00
vladislavbelov
afd0f181e1
Fixes invalid swapchain size during a window minimize.
...
Differential Revision: https://code.wildfiregames.com/D4932
This was SVN commit r27536.
2023-02-12 22:58:36 +00:00
vladislavbelov
6126b518c4
Fixes overflow of inplace vertex and index Vulkan buffers.
...
Comments By: phosit, Stan
Differential Revision: https://code.wildfiregames.com/D4920
This was SVN commit r27522.
2023-02-01 22:09:25 +00:00
vladislavbelov
2339067737
Makes Vulkan device selection stop searching after a first suitable queue family.
...
This was SVN commit r27516.
2023-01-31 17:01:47 +00:00
vladislavbelov
ac75966d67
Fixes descriptor set overwrite when multiple textures reference it with delayed deletion. Fixes #6717
...
Refs #6636
Comments By: phosit, Stan
Tested By: phosit, Stan
Differential Revision: https://code.wildfiregames.com/D4916
This was SVN commit r27511.
2023-01-30 21:23:44 +00:00
vladislavbelov
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
vladislavbelov
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
vladislavbelov
e050a32eef
Adds more features to report for Vulkan backend.
...
This was SVN commit r27502.
2023-01-29 22:10:52 +00:00
vladislavbelov
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
vladislavbelov
840dbdd6d8
Creates image views for Vulkan textures only when needed.
...
This was SVN commit r27495.
2023-01-26 21:38:39 +00:00
vladislavbelov
6648b1b53c
Enables non-solid fill for Vulkan to allow wireframe drawing.
...
This was SVN commit r27494.
2023-01-26 17:23:56 +00:00
vladislavbelov
18b2f6e184
Disables descriptor indexing on macOS.
...
This was SVN commit r27477.
2023-01-21 22:53:16 +00:00
vladislavbelov
e8ec04fd53
Fixes querying descriptor indexing features and properties on some drivers.
...
This was SVN commit r27475.
2023-01-21 17:06:55 +00:00
vladislavbelov
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
vladislavbelov
0f130fb19c
Removes unnecessary PreDraw from Vulkan CDeviceCommandContext.
...
This was SVN commit r27446.
2023-01-15 11:51:47 +00:00
vladislavbelov
32c43eaef8
Fixes StaticVector size type warning inside Vulkan CDeviceCommandContext.
...
This was SVN commit r27423.
2023-01-12 06:40:42 +00:00
vladislavbelov
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
vladislavbelov
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
vladislavbelov
b5e8b4944d
Fixes silhouettes on Vulkan by using VkStencilOpState.
...
This was SVN commit r27418.
2023-01-11 16:22:09 +00:00
vladislavbelov
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
vladislavbelov
7dca5d23ad
Adds preferred depth stencil format to renderer backend.
...
This was SVN commit r27379.
2023-01-06 23:07:50 +00:00
vladislavbelov
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
vladislavbelov
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
vladislavbelov
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
vladislavbelov
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
vladislavbelov
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
vladislavbelov
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
vladislavbelov
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
vladislavbelov
3a4c8342a0
Makes AcquireNextBackbuffer returns true in case of successful backbuffer acquirement.
...
This was SVN commit r27184.
2022-10-30 00:38:45 +00:00
vladislavbelov
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
vladislavbelov
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