Commit graph

20587 commits

Author SHA1 Message Date
Magnus Norddahl
ecd2dc6300 Move command buffers out of vk_framebuffer and into its own manager class 2022-06-22 07:55:19 +02:00
Magnus Norddahl
a4e82766d7 Move inlined builder functions to the cpp file and remove FixedVector (none of it is on the critical path anyway) 2022-06-22 07:55:19 +02:00
Magnus Norddahl
3f28a7e5e4 Add some more pipeline barriers hoping it will make any difference to Nvidia drivers crashing on a worker thread (yay, nvidia!) 2022-06-22 07:55:19 +02:00
Magnus Norddahl
8517c9713a Move descriptor sets from VkRenderPassManager into a new class called VkDescriptorSetManager 2022-06-22 07:55:19 +02:00
Magnus Norddahl
e26fb04adf Some minor bug fixes 2022-06-22 07:55:19 +02:00
Magnus Norddahl
138d3e86ce Fix null pointer crash when writing debug messages 2022-06-22 07:55:19 +02:00
Magnus Norddahl
0c1aab074c Hook up the acceleration structure to the shader and start shooting some rays! 2022-06-22 07:55:19 +02:00
Magnus Norddahl
e08965b0b3 Improve vk_debug output a lot by throwing away the useless parts of the message and limit the callstack to the first 5 gzdoom calls 2022-06-22 07:55:19 +02:00
Magnus Norddahl
0c90a72c66 Upgrade SPV and GLSL version if using Vulkan 1.2 2022-06-22 07:55:19 +02:00
Magnus Norddahl
5e9906e3d3 Upgrade glsl compiler to 11.6.0 2022-06-22 07:55:19 +02:00
Magnus Norddahl
97073410c4 Upload acceleration structures for the level mesh 2022-06-22 07:55:19 +02:00
Magnus Norddahl
bf1732904f Enable vulkan 1.2 and ray tracing extensions, if available 2022-06-22 07:55:19 +02:00
Magnus Norddahl
c6416a2afe Update volk to a newer version 2022-06-22 07:55:19 +02:00
Christoph Oelckers
d5888dfa0a - validate fountaincolor before using it. 2022-06-21 19:47:08 +02:00
Jan Engelhardt
3213f046c2 Resolve build failure on i686-linux
gcc had to say:
gzdoom-g4.8.0/src/common/engine/stats.h:83:13: error: 'CPU' was not declared in this scope
   83 |         if (CPU.bRDTSC)
2022-06-19 07:53:21 +02:00
alexey.lysiuk
cd998edf86 - added detection of macOS Ventura 2022-06-18 13:14:48 +03:00
alexey.lysiuk
d2c9a0fcde - updated continuous integration workflow
* Use macOS 12 runners
* Test Xcode project generation in addition to Makefile one
* Remove obsolete CMake options
* Use ZMusic 1.1.9
2022-06-18 13:14:27 +03:00
Christoph Oelckers
14fc2a011e - ZScript: don't allow multiple assignment syntax with only one element. 2022-06-16 10:47:11 +02:00
Christoph Oelckers
316b9305a2 - fixed type of third argument of MBF21's MonsterMeleeAttack function.
This is a sound, not an int.
2022-06-16 10:31:39 +02:00
Christoph Oelckers
de4627a477 - added an override for NOTAUTOAIMED flag when using P_AimLineAttack for informative CCMDs.
The flag is explicitly blocked for script use.
2022-06-16 10:07:22 +02:00
Christoph Oelckers
74866c28ce - allow taking screenshots in cutscenes. 2022-06-16 09:51:09 +02:00
Christoph Oelckers
18115ef455 - fixed JIT target function for GetTimeFrac.
I_GetTimeFrac has default parameters so it cannot be used directly.
2022-06-16 09:34:40 +02:00
Christoph Oelckers
c5eec7b8bb - fixed: For cutscenes the alternative clean scaling factors need to be activated.
This setting was at odds with the internals of the intermission and summary screen handlers.
2022-06-16 09:18:27 +02:00
Christoph Oelckers
2397b9c117 - missed a ZScript declaration. 2022-06-16 08:23:09 +02:00
Christoph Oelckers
e62fe65d00 - silenced a few more float conversion warnings. 2022-06-16 08:21:27 +02:00
Christoph Oelckers
355219d614 - fixed several scale related floating point conversion warnings. 2022-06-15 22:15:36 +02:00
Christoph Oelckers
431c47c957 - fixed setup of ready state with Dehacked.
This needs to emulate the hard coded chainsaw sound when weapon states get reassigned.
2022-06-15 22:04:01 +02:00
nashmuhandes
972e9cba09 Standardize and finalize the naming conventions for the new UDMF keys to everything lightmap-related to use an "lm_" prefix. 2022-06-15 20:20:16 +02:00
nashmuhandes
004a962ed5 Actually parse the new ZDRayInfo keys 2022-06-15 13:48:57 +02:00
nashmuhandes
ac5e969759 Update ZDRay keywords 2022-06-15 11:30:21 +02:00
Magnus Norddahl
34f1b23c3f Fix the discolored sky bug 2022-06-13 21:34:30 -04:00
Christoph Oelckers
be2fe0f304 - check point pushers/pullers by inheritance, not absiolute match 2022-06-13 00:08:34 +02:00
Christoph Oelckers
851a211be2 - fixed some warnings 2022-06-13 00:08:08 +02:00
RaveYard
519f9f4298 Fix JIT pointer offsets 2022-06-12 17:57:44 +02:00
RaveYard
f9bf6f9311 Implement FVector ZScript for Actor Scale 2022-06-12 17:57:44 +02:00
Blue Shadow
d862bf4347 - added FailSound property to PuzzleItem 2022-06-12 17:26:18 +02:00
Rachael Alexanderson
f1dec835d7 - add i_pauseinbackground to the menu. note: please pull the language file for this 2022-06-09 04:13:55 -04:00
Rachael Alexanderson
0344462684 - set i_pauseinbackground to match !(i_soundinbackground) for all configs before this commit. 2022-06-09 04:11:44 -04:00
Christoph Oelckers
013f2003e8 Revert "-got rid of shared_ptr in postprocessing system"
This reverts commit 40872a2b21.

This crashed on Vulkan in a very weird way.
2022-06-09 09:16:58 +02:00
Christoph Oelckers
86a5545fa8 - fixed division by zero with unvalidated ticdup values. 2022-06-09 08:36:11 +02:00
Christoph Oelckers
eb56eb380e - reinstated con_scale. 2022-06-08 16:42:32 +02:00
James Le Cuirot
3f9842dabb Exclude the Discord RPC library from "all" in CMake
Otherwise the headers and separate library file get installed
system-wide with the rest of GZDoom.
2022-06-07 23:35:54 +02:00
Christoph Oelckers
07a8701f8d - make sure the last notch on the start screen is rendered. 2022-06-07 23:14:17 +02:00
Ricardo Luís Vaz Silva
121045e48d move relative path resolution earlier, to prevent problems with include deduplication 2022-06-07 20:16:50 +02:00
Ricardo Luís Vaz Silva
6f6942609c fix relative include path when loading folders 2022-06-07 10:02:12 -04:00
Christoph Oelckers
9454ba1009 - eliminated more unneeded shared_ptr’s. 2022-06-07 14:09:00 +02:00
Christoph Oelckers
40872a2b21 -got rid of shared_ptr in postprocessing system 2022-06-07 13:59:00 +02:00
Christoph Oelckers
c7798d5503 - use a unique_ptr for the GL debug object.
This doesn’t get shared and the containing class doesn’t need to be copied so this is sufficient.
2022-06-07 00:11:56 +02:00
Christoph Oelckers
989dcfcf1c - avoid storing texture pointers in longer lived data
* these circumvented all internal texture replacement logic. Texture objects should only be resolved right before drawing them
* added an explicit ‚tilebackground‘ option for the summary screen to fix problems with bad decision logic based on incorrect texture type checks. Automatic tiling no longer depends on texture type, but solely on size.
* added a DrawTexture variant that can be passed a texture ID instead of a pointer
2022-06-07 00:00:54 +02:00
Christoph Oelckers
21b6f722be - actually GCC is really dumb. 2022-06-06 20:11:01 +02:00