Commit Graph

1218 Commits

Author SHA1 Message Date
Xiangquan Xiao
fab7915011 Minor fix on coding styles. 2024-01-07 14:08:59 -05:00
Benau
caf6a1b504 Revert "Drop support for the DirectX9 renderer"
This reverts commit c11a7236c7.
2023-12-18 10:35:58 +08:00
Benau
5a4020bcb8 Revert "Remove DX9 leftovers"
This reverts commit 4525411e84.
2023-12-18 10:32:29 +08:00
Alayan
4525411e84
Remove DX9 leftovers 2023-12-16 16:05:41 +01:00
Alayan
c11a7236c7
Drop support for the DirectX9 renderer 2023-12-16 15:24:35 +01:00
Benau
8cd6a231cc Enable AppleMomentumScrollSupported on macOS 2023-11-12 12:56:28 +08:00
CodingJellyfish
bd245e17bf
Fix #4895 (#4896) 2023-11-12 11:32:04 +08:00
Benau
545348fe37 Update for the latest MoltenVK and astcenc 2023-06-25 16:36:45 +08:00
Benau
69fdbb8f45 Add missing exception handling in shader loading threads 2023-04-14 09:56:06 +08:00
Benau
8c90d7b3d0 Fix missing srgb for compressed textures 2023-04-13 12:56:06 +08:00
Benau
6f789164ff Add srgb image view for vulkan engine 2023-03-20 10:08:18 +08:00
Benau
7817e14a5a Add pbr texture handling for vulkan engine 2023-03-19 11:35:11 +08:00
Benau
5e161f663d Clean m_ondemand_load_texture_paths after texture loaded 2023-03-04 10:26:31 +08:00
Gwyn Ciesla
27eb0f3116 gcc13 fixes 2023-02-23 08:56:27 -06:00
Heiko Becker
0163e3fa88 Add missing includes to fix the build with gcc 13
Like other versions before, gcc 13 moved some includes around and as a
result <stdexcept> and <cstdio> are no longer transitively included.
Explicitly include them for std::runtime_error and snprintf.
2023-01-26 16:35:54 +01:00
Benau
99bd8a338a Remove bundled shaderc 2023-01-03 10:01:41 +08:00
Benau
93613d884e Compile SPIR-V shaders with multiple threads 2023-01-01 10:26:38 +08:00
Benau
b4a3970720 Use shaderc C api only 2022-12-31 13:08:26 +08:00
Benau
2eb5d10e38 Update to the latest MoltenVK and cctools 2022-12-11 11:22:22 +08:00
Benau
ddc0b9d1ed Add setDirtyOffset for GEVulkanDynamicSPMBuffer 2022-12-05 16:32:00 +08:00
Benau
1d00e44f97 Add rendering for GEVulkanDynamicSPMBuffer 2022-12-01 16:16:58 +08:00
Benau
392bdbf78b Move m_current_buffer_idx to GEVulkanDriver 2022-11-30 10:41:39 +08:00
Benau
90a22a691a Use GEVulkanDynamicSPMBuffer on streaming buffers 2022-11-29 13:02:36 +08:00
Benau
d5fdcb2d98 Add GEVulkanDynamicSPMBuffer 2022-11-28 15:16:28 +08:00
Benau
fd579111e1 Add setNormal and setTCoords for IMeshBuffer 2022-11-27 09:07:07 +08:00
Benau
77c4b99c70 Update translation and add Filipino language 2022-11-23 10:29:28 +08:00
Benau
4c7353a3a4 Add fullscreen desktop option for non-ge capable device 2022-11-08 12:08:27 +08:00
Benau
d9fad6ab55 Don't exit if SDL_GetWindowWMInfo fails 2022-11-08 09:10:41 +08:00
Benau
e2a82b3c09 Fix sometimes android black screen after resuming in vulkan 2022-11-07 10:51:29 +08:00
Benau
6b8e0644db Remove validation warnings when RTT is used 2022-11-07 10:18:32 +08:00
Benau
255a5960a4 Update translation and add Rusyn language 2022-11-06 08:48:12 +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
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
5ecdc11ffd Fix sky particles rendering in vulkan
Align them with the vertical axis
2022-10-16 12:08:02 +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