Commit Graph
100 Commits
Author SHA1 Message Date
Benau c96881208a Use vkResetCommandPool for every frame commands 2022-08-03 13:44:59 +08:00
Benau 00e7b04f13 Add code to render vbo and ibo individually for some devices 2022-08-02 10:21:07 +08:00
Benau 0ad22efcf7 Re-order the buffer to use less memory 2022-08-02 00:56:11 +08:00
Benau 403f748b4a Add dynamic descriptor code for some devices 2022-08-02 00:25:36 +08:00
Benau 72b177c354 Fix incorrect vertex attribute 2022-08-01 09:13:20 +08:00
Benau 331ae9a30f Fix crash when GEVulkanTexture::getTextureData failed 2022-08-01 00:59:43 +08:00
Benau 83595d55a7 Add missing dstAccessMask for indirect command 2022-07-31 10:43:11 +08:00
Benau 2696ef2567 Add shader to render ghost kart 2022-07-30 09:03:56 +08:00
Benau 1a953b8a6c Add grass shader 2022-07-29 10:51:14 +08:00
Benau c2c8468fa8 Sort drawing based on nodes surface area 2022-07-28 15:48:06 +08:00
Benau e9d3152c1a Add more shaders 2022-07-28 13:37:09 +08:00
Benau 3f99e63a3c Don't use sampler array for non-single texture descriptor
Devices like Apple A8 don't support it
2022-07-27 13:54:22 +08:00
Benau 6d74e84609 Reduce vram usage by removing bones data in static spm 2022-07-27 11:45:09 +08:00
Benau d37a3b8c7e Sort materials if needed 2022-07-26 13:21:07 +08:00
Benau d4b2b03174 Add animated mesh rendering 2022-07-26 12:47:31 +08:00
Benau 8e1de345fb Add animation support in GEVulkanAnimatedMeshSceneNode 2022-07-26 00:12:35 +08:00
Benau b75dec1fbc Move struct Armature to GE 2022-07-25 10:54:27 +08:00
Benau 61b87d3b31 Convert irrlicht mesh for addSphere 2022-07-25 10:05:46 +08:00
Benau 819b3ad27f Add minimap rendering 2022-07-25 09:41:35 +08:00
Benau a2228adef1 Fix padding size calculation 2022-07-24 14:32:37 +08:00
Benau 593f78a230 Move MiniGLM to graphics engine folder 2022-07-24 12:22:06 +08:00
Benau da0cce6cd6 Add render to texture support in GEVulkanDriver 2022-07-24 11:38:02 +08:00
Benau 99d565f961 Allow using custom command buffer for draw call 2022-07-24 08:54:47 +08:00
Benau 9f25652455 Fix one possible crash 2022-07-23 15:10:45 +08:00
Benau d325e33fc0 Use multi-draw indirect if supported 2022-07-23 14:02:37 +08:00
Benau 7f31ffa552 Add anisotropic samplers 2022-07-23 10:58:37 +08:00
Benau e991e06640 Implement high dpi support in sdl2 properly 2022-07-22 21:10:51 +08:00
Benau ea69c36cb3 Fix splitscreen lod (mainly for karts) 2022-07-22 11:05:30 +08:00
Benau bf77863c53 Simplify OnRegisterSceneNode of vulkan mesh nodes 2022-07-22 08:18:18 +08:00
Benau 3d0d666e09 Add texture mapping 2022-07-21 12:26:06 +08:00
Benau fec21afc8e Add FileIncluder to shaderc compiler 2022-07-20 13:40:55 +08:00
Benau e9924357cd Add polycount display in GEVulkanDriver 2022-07-20 10:37:09 +08:00
Benau f768badee0 Add initial 3d rendering 2022-07-19 15:56:08 +08:00
Benau 44b2468003 Add GEVulkanDrawCall 2022-07-18 13:28:07 +08:00
Benau 5853d618a6 Add GEVulkanMeshSceneNode and GEVulkanAnimatedMeshSceneNode 2022-07-17 16:06:52 +08:00
Benau fc7413800c Use GEVulkanTextureDescriptor on GEVulkan2dRenderer 2022-07-16 09:54:40 +08:00
Benau 713ab53272 Add GEVulkanTextureDescriptor to avoid refilling every frame 2022-07-15 14:09:57 +08:00
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 90794c2c8f Only update bounding box of lod node every frame if needed 2022-07-08 23:20:57 +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 8fb0005020 Remove useless sse code in matrix4 2022-06-29 15:45:08 +08:00
Benau 3a64cc9f6a Fix uninitialized values in btKart 2022-06-28 10:08:33 +08:00
Benau 21d9b4bc70 Fix lod node after updateAbsolutePosition optimization 2022-06-27 13:22:07 +08:00
Benau 11fb04bd95 Fix sp mesh node after updateAbsolutePosition optimization 2022-06-26 09:46:08 +08:00
Benau f63ce6917b Only updateAbsolutePosition if transformation changed 2022-06-25 11:54:06 +08:00
Benau e599a7fff8 Disable minimap in vulkan driver for now 2022-06-24 13:23:01 +08:00
Benau 648c7c84d4 Clean up and optimize lod node 2022-06-23 16:00:08 +08:00
Benau b8cb96b81f Add GEVulkanCameraSceneNode 2022-06-16 12:00:15 +08:00
Benau 4b17d2133a Try to allow cake and plunger to have collision callbacks 2022-06-13 16:16:26 +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 95d9277046 Regenerate plural forms from po files 2022-05-28 15:44:18 +08:00
Benau 8affae4861 Update translation, add Macedonian 2022-05-28 15:38:22 +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 364e380dfd Update translation source, AppData and Desktop file 2022-05-25 09:03:57 +08:00
Benau 090d2e8038 Add new things to Appdata generation script 2022-05-25 09:01:04 +08:00
Benau 4c97bcbae5 Update translation file from transifex 2022-05-25 08:58:54 +08:00
Benau 1bdeffc7ed Convert b3d to GE spm 2022-05-24 10:24:15 +08:00
Benau 92accb352e Convert spm to GE spm 2022-05-23 13:46:03 +08:00
Benau e666e08f2d Add GE spm code 2022-05-22 11:53:02 +08:00
Benau 350773d316 Add temporary code for GE spm 2022-05-21 08:55:59 +08:00
Benau 3b0df18167 Fix crash when rubber band hits its owner 2022-05-20 08:17:15 +08:00
Benau f61dcb2ec3 Allow reading spm vertices in physics 2022-05-19 15:53:05 +08:00
Benau b50e977cfe Add llvm mingw building instructions 2022-05-10 13:16:30 +08:00
Benau c004588654 Allow llvm mingw toolchain to be used in windows 2022-05-10 10:05:01 +08:00
Benau 9c9f69856f Enable maximum parallelization by making vkWaitForFences closer 2022-05-05 09:30:29 +08:00
Benau d2da2e22e1 Avoid address sanitizer error 2022-05-04 10:42:16 +08:00
Benau 281ddb1b17 Fix #4772 2022-05-03 09:32:14 +08:00
Benau c739aeb758 Disable mipmap generation for too small textures 2022-05-02 10:42:32 +08:00
Benau db4329cebf Remove unwanted architectures in apk properly 2022-05-01 09:55:06 +08:00
Benau ac140c9cf2 Fix #4770 2022-05-01 08:36:56 +08:00
Benau 63e1afb835 Fix camera rotation angle for all platforms 2022-04-30 12:29:25 +08:00
Benau ed14ab5091 Fix possible exit crash 2022-04-30 11:55:47 +08:00
Benau ae2cfb4162 Fix gyroscope on walldriving surface properly 2022-04-30 10:45:33 +08:00
Benau 98eb912a76 Use simde on graphics_utils 2022-04-29 11:28:47 +08:00
Benau 383bd93261 Add simde 2022-04-29 11:02:25 +08:00
Benau 0f2b3da37e Fix sometimes missing overworld background music 2022-04-28 14:30:53 +08:00
Benau ed6d7578a5 Avoid queue size race condition 2022-04-27 11:01:53 +08:00
Benau 96cd140c62 Avoid getListenerPos race condition 2022-04-26 12:42:11 +08:00
Benau 68240b5d2d Avoid getWorld race condition 2022-04-26 12:26:29 +08:00