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
phosit
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
vladislavbelov
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
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
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
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
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
vladislavbelov
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
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
a3e8fd0fd4
Updates shadows camera frustum after its recalculation.
...
This was SVN commit r27493.
2023-01-26 17:12:57 +00:00
vladislavbelov
e5635a9d7f
Fixes shadows cascades iteration.
...
This was SVN commit r27492.
2023-01-26 17:12:11 +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
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
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
ef0a644dcc
Fixes status bar rendering after 4ed41d4a9a. Fixes #6674
...
This was SVN commit r27377.
2023-01-06 19:20:45 +00:00
vladislavbelov
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
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
e4ded1f971
Fixes vertex attribute format mismatch for silhouette debug rendering.
...
This was SVN commit r27331.
2023-01-01 21:46:31 +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