Commit graph

1727 commits

Author SHA1 Message Date
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
HarrievG
3d366ba386 [!] Fixed runtime reloading for gltf models
[!] Fixed timestamp check for static models
2022-11-11 13:11:21 +01:00
Stephen Saunders
f5745b4ab6 Support window resize and fullscreen changes on Windows and Linux without validation errors 2022-11-10 14:56:18 -05:00
Stephen Saunders
f6e5571d39 Support image depth/stencil format D32S8 when D24S8 not available (e.g. Vulkan on AMD GPUs) 2022-11-10 14:50:09 -05:00
Stephen Saunders
80c56e573d Fix compile errors: DeviceManager.h include path for DX12, sync2 structure initialization typo for Vulkan 2022-11-10 12:19:54 -05:00
Stephen Saunders
f756ef26c2 Move DeviceManager_<API>.cpp files to neo/sys directory for single stream common maintenance 2022-11-08 16:33:29 -05:00
Stephen Saunders
7703d4221d Vulkan timer query fixes, support in-game display mode / window size / vsync changes 2022-11-08 15:27:09 -05:00
Stephen Saunders
1adedfd3fc Vulkan volatile buffer and validation error fixes (sync2, fillModeNonSolid, MoltenVK imageViewFormatSwizzle) 2022-11-08 15:21:50 -05:00
Robert Beckebans
7fb6948777 Merge branch '635-nvrhi3-cleanexit' into 635-nvrhi3 2022-11-03 18:54:56 +01:00
Robert Beckebans
600e50ad50 Astyle 2022-11-03 18:54:38 +01:00
Robert Beckebans
e9284c3818 Use fixed size (-8 -8 0, 8 8 16) bounds for all model based entities for TB 2022-11-02 15:51:12 +01:00
Robert Beckebans
487430a01c Added TrenchBroom FGD files 2022-11-02 11:55:51 +01:00
Robert Beckebans
15a9d12661 exportFGD proxymodel fix 2022-11-02 11:44:38 +01:00
Robert Beckebans
1ee669c31f Merge branch 'master' into 635-nvrhi3 2022-10-29 19:09:30 +02:00
Robert Beckebans
3a877568e4 Support glTF2 vertex colors for static models 2022-10-29 19:08:12 +02:00
Robert Beckebans
b53271fc68 No need to set the rotation for the Blender lights 2022-10-29 18:25:56 +02:00
Robert Beckebans
7166b50501 Astyle 2022-10-29 17:42:09 +02:00
HarrievG
889f613610 [+] Ext_KHR_lights_punctual::Point support
[!] Fix for multple collections, entity names will be written out according to the full hierarchy.
2022-10-29 17:37:47 +02:00
Stephen Saunders
3d3658384d Cleanup references to nvrhi::IDevice on shutdown, otherwise device won't clean up properly on final exit 2022-10-28 17:50:48 -04:00
Stephen Saunders
9734df5f01 Fix NVRHI device shutdown for SDL and do additional resource cleanup on exit 2022-10-28 14:11:10 -04:00
Stephen Saunders
8219860378 Clean up NVRHI resources before Sys_Quit(), otherwise non-zero exit code (destructors too late) 2022-10-27 14:52:08 -04:00
HarrievG
2cf8d5c8f9 [+] Recursive entity/collection support for gltf maps
[+] KHR_lights_punctual spotlight support
2022-10-27 12:10:32 +02:00
HarrievG
9589ea300d [+] Inline support for gltf maps; add "inline" 0 property to an idStaticEntity or func_static to not inlude it in the map bsp. Defaults to 1 2022-10-27 12:10:32 +02:00
Robert Beckebans
98ed96adf4 LoadOgg fix 2022-10-27 12:09:47 +02:00
Robert Beckebans
dd69e30e40 Reenabled parallel shader compiling on Windows 2022-10-26 11:09:50 +02:00
Robert Beckebans
b3bab4de96 Merge branch 'master' into 635-nvrhi3 2022-10-26 10:59:41 +02:00
Robert Beckebans
822ff7d860 Astyle 2022-10-26 10:59:22 +02:00
Robert Beckebans
b12379e1af Merge branch '635-nvrhi3-sdl' into 635-nvrhi3 2022-10-25 20:55:54 +02:00
Robert Beckebans
bb79eae285 Turn off SSAO if Vulkan is active 2022-10-25 20:42:16 +02:00