Commit Graph

23076 Commits

Author SHA1 Message Date
Benau
7109729010 Add slipstream meshes to irrlicht mesh cache
This enables instancing of them in vulkan engine
2022-10-23 10:02:54 +08:00
Benau
8358b7be0a Allow SMesh to be used in irrlicht mesh cache 2022-10-22 15:40:27 +08:00
Benau
9cd217acfe Add convertIrrlichtMeshToSPM 2022-10-21 08:40:23 +08:00
Benau
243f7f7008 Add slipstream rendering for all video drivers 2022-10-20 12:42:36 +08:00
Benau
0e142e645c Handle vertex color in render info for COGLES2FixedPipelineRenderer 2022-10-19 09:29:06 +08:00
Benau
58a00f7627 Store and render custom vertex color in GERenderInfo 2022-10-18 15:07:11 +08:00
Benau
1b604666c3 Fix sky particles rendering in modern gl3 too, see #2779 2022-10-17 09:33:51 +08:00
Benau
5ecdc11ffd Fix sky particles rendering in vulkan
Align them with the vertical axis
2022-10-16 12:08:02 +08:00
Benau
cfb10dbb1f Make sure sky particles always fall vertically 2022-10-15 14:31:07 +08:00
Benau
1fc460ff4e Add flips particle rendering for vulkan 2022-10-14 10:17:58 +08:00
Benau
46f44b5d59 Add getBulletQuaternion for MiniGLM 2022-10-13 12:12:07 +08:00
Benau
6cdc554d21 Avoid updating data descriptor sets every frame 2022-10-12 15:30:31 +08:00
Benau
26f96b0986 Allow GEVulkanDynamicBuffer to use a specific frame 2022-10-11 12:05:47 +08:00
Benau
f85f631c4b Return true if buffer resized 2022-10-10 10:26:05 +08:00
Benau
e9be8d91ef Avoid using VMA_MEMORY_USAGE_AUTO if possible 2022-10-09 09:37:18 +08:00
Benau
542ece64f9 Use triple buffer to avoid memcpy after fence 2022-10-08 13:04:22 +08:00
Benau
982a5b2be8 Reduce usage of local buffer in GEVulkanDrawCall 2022-10-07 11:48:39 +08:00
Benau
91dea5f50d Use VMA_MEMORY_USAGE_AUTO_PREFER_HOST for host buffer
This improves performance when particles are used
2022-10-06 16:12:44 +08:00
Benau
51a1396313 Allow creating different buffer sizes in GEVulkanDynamicBuffer 2022-10-05 11:08:52 +08:00
Benau
e5318d8ea9 Fix crash when minimizing in windows 2022-10-04 13:55:51 +08:00
Benau
d69f83c7cc Fix WRITE_AFTER_WRITE error:
vkCmdBeginRenderPass: Hazard WRITE_AFTER_WRITE vs. layout transition in
subpass 0 for attachment 1 aspect depth during load with loadOp
VK_ATTACHMENT_LOAD_OP_CLEAR.
2022-10-03 10:05:33 +08:00
Benau
b2404aadd2 Reduce instance data size
MoltenVK has no DrawIndex support yet
2022-10-02 16:41:09 +08:00
Benau
e1f8294008 Use dedicated buffer for sbo 2022-10-01 12:20:35 +08:00
Benau
421293b8e9 Add shader draw parameters detection 2022-09-30 14:42:06 +08:00
Benau
86c349e5f2 Properly check and enable vulkan extensions 2022-09-29 16:01:27 +08:00
Benau
51496cf5ef Fix moltenvk without binding all mesh textures 2022-09-28 08:56:15 +08:00
Benau
5424d4fe77 Fix typo in ge shaders 2022-09-27 15:21:08 +08:00
Benau
11a168b4bf Avoid error when particle size is zero 2022-09-26 10:36:01 +08:00
Benau
82218afc40 Reset video driver in GE when vulkan creation fails 2022-09-25 09:55:32 +08:00
Benau
3b5a1d6c74 Notarize macOS release build 2022-09-23 21:44:09 +08:00
Benau
dd9808fd05 Fix uninitialized m_current_ai 2022-09-22 16:32:54 +08:00
Benau
e4515e7454 Add AI number detection in server screen 2022-09-22 10:46:19 +08:00
Benau
cfd7fa662b Show a dialog and revert if device is not vulkan capable 2022-09-21 10:33:54 +08:00
Dmitry Marakasov
dd511638db Initialize vulkan handles properly 2022-09-20 23:47:45 +03:00
Benau
40f218e6c8 Update translation source 2022-09-20 11:30:44 +08:00
Benau
fdc4a19e1a Copy debug symbols for android build 2022-09-19 11:28:44 +08:00
Benau
4f0b9644a8 Update download assets size 2022-09-19 11:23:44 +08:00
Benau
0b405a8642 Update translation and AppData file 2022-09-19 10:35:12 +08:00
Benau
bf0db0497b Don't throw when missing texture during ondemand loading
It can happen when the texture is deleted later
2022-09-19 10:24:55 +08:00
Benau
25540fc6a7 Add CMAKE_BUILD_TYPE=Release when building shaderc 2022-09-19 09:51:00 +08:00
Benau
7a1706834f Default to opengl render for arm64 windows
The opengl compatibility pack is pre-installed on
arm64 windows according to a user
2022-09-19 00:12:51 +08:00
Benau
dd6768911d Build for armv7 windows
No installer as armv7 windows has no x86 emulation
2022-09-18 23:54:44 +08:00
Benau
f270b4acf8 Add particle rendering in vulkan 2022-09-18 11:31:06 +08:00
Benau
4d79ccdea5 Add different texture per draw call for billboard 2022-09-18 10:54:22 +08:00
Benau
50c22a5837 Use real transparent shader first in vulkan draw call 2022-09-18 08:18:47 +08:00
Benau
7199409de4 Fix vulkan projection matrix 2022-09-17 16:26:10 +08:00
Benau
53351257fc Use vertex color alpha to draw translucently 2022-09-16 11:15:36 +08:00
Benau
a36276811e Fix missing vertex color in gles2 driver
Also make sure all vertex colors are applied after colorization is done
2022-09-16 10:58:17 +08:00
Benau
b77160527c Fix texture matrix for gles2 driver 2022-09-15 09:01:55 +08:00
Benau
16173207ee Add colorization support for gles2 driver 2022-09-15 08:30:24 +08:00