Commit graph

1911 commits

Author SHA1 Message Date
Robert Beckebans
91a33de38e Deleted obsolete cmake shortcut bash files 2022-12-19 12:39:35 +01:00
Robert Beckebans
3e13aa15f9
Merge pull request #730 from SRSaunders/635-nvrhi5-build-fixes
[Vulkan] Build fixes for linux/macOS and update Vulkan descriptor selectors for BinkDec shaders
2022-12-19 12:31:02 +01:00
Stephen Saunders
308892db87 Change DeviceManager_VK Vulkan API calls to NVRHI API, fix vulkan dll unloading bug 2022-12-16 13:42:12 -05:00
Stephen Saunders
591d9d71a7 Clean up macOS cmake build scripts and handle macOS makefile build path within Sys_DefaultBasePath() 2022-12-14 12:50:05 -05:00
Stephen Saunders
cd2bb986c2 Handle macOS / linux differences for build path option within Sys_DefaultBasePath() 2022-12-14 01:30:48 -05:00
Stephen Saunders
7f37eccf61 Extend Sys_DefaultBasePath() to check IDE build path for linux and macOS 2022-12-13 21:28:26 -05:00
Stephen Saunders
55a9950dd8 Support USE_MoltenVK cmake option for macOS NVRHI builds, update xcode cmake scripts 2022-12-12 18:13:55 -05:00
Stephen Saunders
fbeb02df9c Fix Vulkan descriptor set selection within bink and bink_gui shaders 2022-12-12 17:55:08 -05:00
Stephen Saunders
f41cc5e46a Decouple FFMPEG / BINKDEC cmake options from x86-only SSE intrinsics, fix macOS-specific logic for intrinsics and PCH 2022-12-12 17:48:49 -05:00
Stephen Saunders
4dc2a8ca12 Fix compileshaders.cmake to reference USE_VULKAN, fix missing override warning in Model_local.h 2022-12-12 17:35:51 -05:00
Robert Beckebans
3f8bc0a568 Fixed FramebufferInfoEx in CommonPasses 2022-12-06 23:51:49 +01:00
Robert Beckebans
a94f67adaa Point to latest RB/nvrhi/main 2022-12-06 23:43:56 +01:00
Robert Beckebans
22f10571e3 Fixed Win64 build. Renamed USE_NVRHI_VULKAN to USE_VULKAN 2022-12-06 23:28:48 +01:00
Robert Beckebans
e02f2f92c2 Removed obsolete glslang submodule 2022-11-22 18:49:25 +01:00
Robert Beckebans
432af457ca Removed legacy GL/Vulkan backends from CMakeLists.txt 2022-11-22 18:47:31 +01:00
Robert Beckebans
5ef288a76d Updated release notes 2022-11-21 20:23:28 +01:00
Robert Beckebans
66cd0b86ef Updated release notes 2022-11-20 16:14:47 +01:00
Robert Beckebans
2a13221696 Updated release notes 2022-11-20 16:07:09 +01:00
Robert Beckebans
632ad33f80 Write constant buffers if changed or layout changed 2022-11-20 15:42:48 +01:00
Robert Beckebans
c48346c551 Move nvrhi::Device->waitForIdle() back to GL_BlockingSwapBuffers() 2022-11-20 13:37:10 +01:00
Robert Beckebans
74c8a9f94e Always write the constant buffer -> BAD but works 2022-11-20 13:34:46 +01:00
Stephen Pridham
a7f83bf631 Update the render state whenever the constant buffer is written to 2022-11-20 12:52:07 +01:00
Stephen Pridham
47d68fb6e0 Invalid binding set cache if either vertex data or joint data changes 2022-11-20 12:52:07 +01:00
Stephen Pridham
2ac23b0c9b Add back uniformsChanged = false 2022-11-20 12:52:07 +01:00
Stephen Pridham
8f190b85c2 Remove unused comment 2022-11-20 12:52:07 +01:00
Stephen Pridham
7a82dc1c9b Update NVRHI submodule 2022-11-20 12:52:07 +01:00
Stephen Pridham
726c4524e9 Update map buffer calls. Astyle 2022-11-20 12:52:07 +01:00
Stephen Pridham
4af1742b17 Astyle 2022-11-20 12:52:06 +01:00
Stephen Pridham
e3ede978d4 Update to make it easier to switch constant buffer usage 2022-11-20 12:52:06 +01:00
Stephen Pridham
47312f8997 Allow buffer ranges for constant buffers 2022-11-20 12:52:06 +01:00
Stephen Pridham
c1c0334bf2 Fix VK descriptor set slot for motionBlur shader 2022-11-20 12:52:06 +01:00
Robert Beckebans
3a3af32ddb Replaced std::min/max with Min/Max 2022-11-19 16:46:21 +01:00
Robert Beckebans
636e64a1f4 Astyle after merge conflicts 2022-11-18 16:58:08 +01:00
Robert Beckebans
37127cde0e Merge branch 'master' into 635-nvrhi4 2022-11-18 16:51:40 +01:00
Robert Beckebans
8a821c3a7a Astyle 2022-11-18 16:47:29 +01:00
Robert Beckebans
fca592ca73
Merge pull request #725 from SRSaunders/635-nvrhi3-testing
[Vulkan] Solve multiple Vulkan validation issues, NVRHI game now runs without failures on Linux & macOS
2022-11-18 16:45:08 +01:00
Stephen Saunders
96347cab74 Minor defensive #ifdef change in sdl_vkimp for SetScreenParmsWindowed() - handle non-macOS / non-linux case 2022-11-18 10:30:08 -05:00
Stephen Saunders
afacd8014c Improve timer stats, get / set displayFrequency, implement Vulkan vsync mode 1, fix DX12 vsync mode 0 for fullscreen 2022-11-17 23:42:06 -05:00
Stephen Saunders
8d57d5399b Skip GL_BlockingSwapBuffers() sync during shutdown when in Doom 3 mode (com_smp = -1) 2022-11-14 23:38:55 -05:00
Stephen Saunders
7a7571f88a Fix window resize/fullscreen handling and make consistent between DX12 and Vulkan (Windows & SDL) 2022-11-11 21:51:31 -05:00
Robert Beckebans
f1d7f2ff9e Fixed compile errors 2022-11-11 17:34:38 +01:00
Robert Beckebans
ad78435446 Merge branch '721-gltf2-cameras' into 705-gltf2-import-options 2022-11-11 17:00:47 +01:00
Robert Beckebans
6689d60b74 Passed idImportOptions along the animations loader code 2022-11-11 16:59:36 +01:00
Robert Beckebans
0d5d947f17 Apply import options to glTF2 models 2022-11-11 16:59:36 +01:00
Robert Beckebans
6cbb205ece Hook idImportOptions into idRenderModel*::InitFromFile() 2022-11-11 16:59:36 +01:00
Robert Beckebans
81d70dc5d8 Parse idImportOptions for model declarations 2022-11-11 16:59:36 +01:00
Robert Beckebans
e499514fea Little cleanup of the glTF2 code 2022-11-11 16:59:35 +01:00
Robert Beckebans
891ba7478e Added idMat4::GetTranslation() and some comments 2022-11-11 16:58:19 +01:00
Robert Beckebans
9f50dbc9bc Astyle 2022-11-11 13:12:38 +01:00
HarrievG
389798ee4b [!] Corrected Spot light transforms
[+] Added support for GLTF cameras. useable with idCameraView and idAnimatedCamera
2022-11-11 13:11:21 +01:00