Commit Graph

91 Commits

Author SHA1 Message Date
Benau
3769c18288 Remove hardcoded shader names 2022-07-14 15:25:16 +08:00
Benau
15eec8a8d2 Combine vbo and ibo buffers 2022-07-14 10:44:28 +08:00
Benau
c864b9bd60 Use vma in GEVulkanMeshCache 2022-07-13 12:09:45 +08:00
Benau
cf8bafaab3 Use vma in GEVulkanDynamicBuffer 2022-07-13 11:23:08 +08:00
Benau
b0f91ff33d Use vma in GEVulkanTexture 2022-07-12 15:46:33 +08:00
Benau
0f4a21ab6e Add Vulkan Memory Allocator 2022-07-11 12:58:03 +08:00
Benau
0b4ebc35b9 Add performance validation layer code 2022-07-10 15:36:27 +08:00
Benau
27b5770ea9 Add GEVulkanDepthTexture 2022-07-10 14:48:07 +08:00
Benau
7d94bf1f6f Update vk_mvk_moltenvk.h to latest version 2022-07-09 09:01:06 +08:00
Benau
d0a177c3cc Fix hang when resizing window with vsync on 2022-07-08 11:46:17 +08:00
Benau
fa72ef7246 Fix matrix in GEVulkanCameraSceneNode::render 2022-07-07 13:08:44 +08:00
Benau
8ab63edd30 Save viewport in GEVulkanCameraSceneNode 2022-07-06 10:53:26 +08:00
Benau
4351926137 Fix possible crash if throw early 2022-07-06 10:06:28 +08:00
Benau
cc6914631a Don't upload if size is empty 2022-07-05 08:54:06 +08:00
Benau
defd58a465 Add getRealSize to GEVulkanDynamicBuffer 2022-07-04 14:51:59 +08:00
Benau
0875db0db6 Add buildCommandBuffers in GEVulkanDriver 2022-07-03 11:48:07 +08:00
Benau
dfd6a1820d Fix crash when closing in RTT screen 2022-07-02 10:52:20 +08:00
Benau
dc168e1b13 Better error handling when GEVulkanDriver construction fails 2022-07-01 12:52:07 +08:00
Benau
34ae56d33a Use matrix4 directly after the removal of sse 2022-06-30 16:49:51 +08:00
Benau
b8cb96b81f Add GEVulkanCameraSceneNode 2022-06-16 12:00:15 +08:00
Benau
8ea38a6103 Fix memory leak 2022-06-09 15:18:20 +08:00
Benau
d85c1e3ee7 Use class inheritance for GEVulkanMeshCache 2022-06-08 13:38:24 +08:00
Benau
b0cddc462a Add GEVulkanSceneManager 2022-06-07 10:34:08 +08:00
Benau
ca1f61b898 Add GEVulkanMeshCache 2022-05-29 12:33:06 +08:00
Benau
2b80513a8f Add getMonoTimeMs to GE 2022-05-27 09:41:34 +08:00
Benau
ac5351ae5e Add irrlicht device pointer to vulkan driver 2022-05-26 17:22:39 +08:00
Benau
e666e08f2d Add GE spm code 2022-05-22 11:53:02 +08:00
Benau
9c9f69856f Enable maximum parallelization by making vkWaitForFences closer 2022-05-05 09:30:29 +08:00
Benau
c739aeb758 Disable mipmap generation for too small textures 2022-05-02 10:42:32 +08:00
Benau
972c719392 Add triangle fan 2d drawing for vulkan driver 2022-04-20 08:19:53 +08:00
Benau
1b92e99cfe Use a new sampler for 2d rendering 2022-04-19 13:18:59 +08:00
Benau
26bd8a5b8b Add mipmap generation for GEVulkanTexture 2022-04-19 12:49:05 +08:00
Benau
b0421569d0 Fix validation warnings when running vkDeviceWaitIdle 2022-04-18 13:46:59 +08:00
Benau
5d23d8d790 Add multithreading GEVulkanTexture loading 2022-04-18 12:16:27 +08:00
Benau
059fc9ebfd Add GE::getResizedImage using IReadFile 2022-04-18 10:46:23 +08:00
Benau
3d6c86d04e Clean up properly in case constructor throws 2022-04-17 14:42:36 +08:00
Benau
22f658239f Use GEVulkanCommandLoader for all 2022-04-17 14:37:52 +08:00
Benau
da665fc4fd Add GEVulkanCommandLoader with multithreading support 2022-04-17 14:08:29 +08:00
Benau
57a9a8a2aa Add getTextureData for GEVulkanTexture 2022-04-16 11:31:09 +08:00
Benau
99f1a2e03f Add moltenvk argument buffers support 2022-04-15 17:05:38 +08:00
Benau
ae8df366fc Fix convertBGRA order in GEVulkanTexture::reloadInternal
Image manipulator should work on original color data
2022-04-13 10:04:28 +08:00
Benau
3fe53751c4 Move BGRA conversion out of upload in GEVulkanTexture 2022-04-12 15:16:26 +08:00
Benau
efe1070be7 Fix validation warning when using VK_SHARING_MODE_CONCURRENT 2022-04-10 10:56:04 +08:00
Benau
d60a3a7c0c Add loadingFailed function for ITexture 2022-04-08 14:56:24 +08:00
Benau
1655c243b7 Batch upload image command buffer 2022-04-06 11:35:22 +08:00
Benau
e6684040ba Fallback to VK_SURFACE_TRANSFORM_IDENTITY_BIT_KHR if needed 2022-04-05 10:43:23 +08:00
Benau
f2cc51a602 Fix mismatched max size for background.jpg when reloading 2022-04-03 10:54:27 +08:00
Benau
b6b565aabb Fix validation warning when reloading textures 2022-04-03 10:21:48 +08:00
Benau
24a9c99e03 Fix one validation warning 2022-04-03 09:55:17 +08:00
Benau
a98a470ea8 Implement live updating swap interval value for vulkan 2022-04-02 14:17:27 +08:00