56f6d76b78
Remove internationalization of log messages
...
As log messages aren't supposed to be translatable, this removes the
internationalization of all log messages, which had it enabled.
Patch by: @Dunedan
Accepted by: @Itms
Differential Revision: https://code.wildfiregames.com/D5314
This was SVN commit r28179.
2024-08-05 15:27:12 +00:00
6d5dc7f311
Fixes zero usage for Vulkan upload buffer after b9fd6f18f0
.
...
This was SVN commit r28110.
2024-06-14 22:05:32 +00:00
b9fd6f18f0
Adds proper IBuffer usage instead of dynamic flag.
...
Comments By: phosit
Differential Revision: https://code.wildfiregames.com/D5281
This was SVN commit r28107.
2024-06-10 19:31:41 +00:00
e9bc76040d
Accounts maxAnisotropy for Vulkan samplers.
...
This was SVN commit r28034.
2024-02-16 18:46:44 +00:00
aeeeb2c8d9
Makes pipeline state dirty on Vulkan only when VertexInputLayout was changed.
...
This was SVN commit r28011.
2024-01-17 19:55:28 +00:00
e3f46bb809
Adds compute shaders support and scaling with FSR.
...
Fixes #6842
Comments By: phosit, Stan
Differential Revision: https://code.wildfiregames.com/D5218
This was SVN commit r28010.
2024-01-17 19:40:27 +00:00
ffc4a56b9f
Revert non-ASCII characters from source and configuration files introduced in 157c6af18e
.
...
Fixes #6846
Differential Revision: https://code.wildfiregames.com/D5185
This was SVN commit r27965.
2023-12-03 00:30:12 +00:00
a905932712
Moves single descriptor set binding management for Vulkan to a separate class.
...
Differential Revision: https://code.wildfiregames.com/D5163
This was SVN commit r27921.
2023-11-07 21:43:52 +00:00
c78ad51057
Fixes incorrect case of GLX extensions. Fixes #6547
...
Patch By: xone47
Differential Revision: https://code.wildfiregames.com/D5160
This was SVN commit r27920.
2023-11-07 21:28:59 +00:00
f40942f6b3
Moves CVertexBufferManager from global scope to CRenderer.
...
Differential Revision: https://code.wildfiregames.com/D5171
This was SVN commit r27907.
2023-10-28 21:01:22 +00:00
5e583beb22
Fixes result of VkDescriptorSet creation forgotten in 6ef27d2ffe
.
...
This was SVN commit r27887.
2023-10-13 18:32:22 +00:00
e2c5a62a19
Moves model flags to ModelAbstract.
...
Differential Revision: https://code.wildfiregames.com/D5146
This was SVN commit r27880.
2023-10-09 18:37:56 +00:00
6ef27d2ffe
Merges UID from different Vulkan device objects and unifies single type descriptor set creation.
...
Differential Revision: https://code.wildfiregames.com/D5140
This was SVN commit r27879.
2023-10-09 18:34:50 +00:00
3fff9df4a0
Return CTerrain and CUnitManager references from CWorld instead of pointers
...
Accepted By: @vladislavbelov
Comments By: @Stan
Differential Revision: https://code.wildfiregames.com/D4739
This was SVN commit r27861.
2023-09-26 20:10:40 +00:00
c86d3bbb56
Refactors models and materials, part 2, replaces raw pointer by unique_ptr and adds test.
...
Comments By: phosit
Differential Revision: https://code.wildfiregames.com/D5128
This was SVN commit r27846.
2023-09-21 19:00:28 +00:00
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
442eb3ad4f
Avoids creating a post-processing blur texture with zero size.
...
This was SVN commit r27825.
2023-09-04 18:08:00 +00:00
37b2f93a3c
Adds texture checks for framebuffer attachments on Vulkan.
...
This was SVN commit r27817.
2023-08-28 17:53:41 +00:00
11e8f80b58
Fixes descriptor pool type for GetSingleTypePool.
...
This was SVN commit r27809.
2023-08-22 17:48:22 +00:00
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
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
94e30ae08e
Adds mipLODBias usage to Vulkan samplers.
...
This was SVN commit r27784.
2023-07-25 20:22:28 +00:00
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
649f69b00b
Reference CModel* using PS::span in the ModelRenderer
...
Now a range-based for loop is used to iterate.
Accepted By: @vladislavbelov
Differential Revision: https://code.wildfiregames.com/D4953
This was SVN commit r27757.
2023-07-08 12:46:21 +00:00
4e86f99fe2
Replaces boost string general includes by more precise ones.
...
Differential Revision: https://code.wildfiregames.com/D5066
This was SVN commit r27746.
2023-06-30 19:10:13 +00:00
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
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
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
44611294de
Fixes Sampler::Desc comment about using BorderColor.
...
This was SVN commit r27694.
2023-06-14 07:14:31 +00:00
8f78ac1ef8
Decouples renderer code from VideoMode to get backend device.
...
Differential Revision: https://code.wildfiregames.com/D5043
This was SVN commit r27693.
2023-06-14 07:06:22 +00:00
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
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
753949eb73
Enables PolygonMode for Vulkan only when allowed by fillModeNonSolid.
...
This was SVN commit r27660.
2023-06-01 17:12:27 +00:00
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
635314ccef
Removes assertion for big screenshots with a too small window. Fixes #5225
...
Differential Revision: https://code.wildfiregames.com/D4983
This was SVN commit r27613.
2023-04-19 20:35:26 +00:00
3147123611
Adds CStrIntern for FXAA and dummy shader names for consistency.
...
Reported By: Stan
This was SVN commit r27608.
2023-04-16 22:39:36 +00:00
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
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
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
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
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
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
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
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
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
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