Commit Graph

3311 Commits

Author SHA1 Message Date
Alibek Omarov ced6e8869a ref: fix chrome texture being misaligned 2023-02-01 04:55:47 +03:00
Alibek Omarov d7af50ea6c engine: ref: remove direction vectors from Ref API, renderers calculate them from viewangles to local data anyway 2023-01-31 07:18:23 +03:00
Alibek Omarov f7d4e5a2ea engine: server: don't show GAMESAVED message in autosaves, small refactoring 2023-01-31 07:16:08 +03:00
Alibek Omarov 2e3788f23d engine: dedicated: add CL_HudMessage to dedicated stubs 2023-01-31 07:14:26 +03:00
Alibek Omarov eaf9a9283a Revert "engine: network: do not read from uninitialized sockaddr storage"
This reverts commit 4f78ec01cf.
2023-01-31 04:33:27 +03:00
Alibek Omarov ae66291272 scripts: compiler_optimizations: added MSan target 2023-01-31 04:28:08 +03:00
Alibek Omarov 4f78ec01cf engine: network: do not read from uninitialized sockaddr storage 2023-01-31 04:14:18 +03:00
Alibek Omarov be084d5603 engine: crashhandler: fully initialize struct sigaction 2023-01-31 00:50:48 +03:00
Alibek Omarov aac0be1ab3 engine: imagelib: img_bmp: fully initialize local palette array 2023-01-31 00:50:04 +03:00
Alibek Omarov 6282acc825 engine: client: simplify drawing loading or paused bar, fix position with hud_scale active 2023-01-30 23:17:53 +03:00
Ivan 'provod' Avdeev c1cfe1008d rt: minor rt pipelines and pre-meatpipe cleanup 2023-01-30 11:31:46 -08:00
Ivan Avdeev be5e50d50b
Merge pull request #406 from w23/prev-feedback
Add previous frame images feedback
2023-01-30 10:33:28 -08:00
Ivan Avdeev 71f7449a8e comment and add additional checks for the previous commit 2023-01-30 10:21:18 -08:00
LifeKILLED 615a10c005 vk rt: remove unused struct from vk_studio.c 2023-01-30 16:36:44 +04:00
LifeKILLED 9ed9eb5451 vk rt: merge with reworked motion vectors 2023-01-30 09:01:46 +04:00
LifeKILLED 164259d6b1 rt denoiser: rework motion vectors, add simple temporal reprojection 2023-01-30 08:59:49 +04:00
Ivan 'provod' Avdeev 3a87934415 rt: add test previous frame blur 2023-01-30 08:57:16 +04:00
Ivan 'provod' Avdeev a5abde2162 rt/seba: export prev_ frame image resource index 2023-01-30 08:54:33 +04:00
LifeKILLED 571fc16c3b rt denoiser: rework motion vectors, add simple temporal reprojection 2023-01-30 08:53:18 +04:00
LifeKILLED 73c750020f merge with previous frames feedback 2023-01-30 05:23:08 +04:00
LifeKILLED 2627cb97af rt: reviewer's fixes 2023-01-30 05:15:41 +04:00
Ivan 'provod' Avdeev 3cb9ca0579 rt: add test previous frame blur 2023-01-28 14:50:43 -08:00
Ivan 'provod' Avdeev 858e3eed55 rt/seba: export prev_ frame image resource index 2023-01-28 12:55:53 -08:00
Alibek Omarov 39fd30a472 engine: client: fix HUD font loading 2023-01-27 19:07:26 +03:00
Alibek Omarov 279e391949 engine: sound: allow mouth move for CHAN_STREAM 2023-01-27 06:19:31 +03:00
Alibek Omarov 6df25392b8 engine: server: redirect special sounds, detected by leading asterisk, into CHAN_STREAM
In GoldSrc this magic symbol means that we should not override channel this
sound is playing on. Originally handled on client but for both static and dynamic sounds
so let's redirect channel on server side instead.
2023-01-27 06:19:31 +03:00
Alibek Omarov 327372e253 engine: client: call SND_ForceOpen/CloseMouth within SND_Open/CloseMouth to avoid copypasted code 2023-01-27 06:19:31 +03:00
Andrey Akhmichin 801dbaa387 engine: common: soundlib: libmpg: backport fix for CVE-2017-11126.
Original patch: https://www.mpg123.de/cgi-bin/scm/mpg123/trunk/src/libmpg123/layer3.c?view=patch&r1=4275&r2=4274
Same as: f246a0cdfd
2023-01-25 15:57:52 +03:00
Andrey Akhmichin ffd5c2d3d0 engine: common: soundlib: libmpg: backport fix for CVE-2017-12839.
Original patch: https://www.mpg123.de/cgi-bin/scm/mpg123/trunk/src/libmpg123/getbits.h?view=patch&r1=2024&r2=4323
Same as: 8a5e21a2a2
2023-01-25 15:57:52 +03:00
Alibek Omarov 84c14b32ec engine: client: fix filtering errors by adjusting texcoords by half of a pixel
Remove useless wrapper functions and conversions
Don't scale texcoords and position if hud_scale is not active
2023-01-25 04:17:48 +03:00
Alibek Omarov c481e52558 engine: client: consolidate variable and quake fixed width font loading functions 2023-01-25 02:38:18 +03:00
LifeKILLED c4881f57c9 rt denoiser: motion vectors for raytracing pipeline and for ray query 2023-01-23 04:00:36 +04:00
Ivan Avdeev 308e0962a3 update todo 2023-01-22 15:11:27 -08:00
Ivan Avdeev ab59393909
Merge pull request #403 from w23/primary-ray-compute
Convert primary ray pass to compute shader

Makes it work under open source mesa amdgpu driver (although it's ~30% slower than the old binary driver)
2023-01-22 15:09:48 -08:00
Ivan 'provod' Avdeev 28f40d5ca0 rt: compute the primary ray 2023-01-22 15:00:01 -08:00
Ivan Avdeev 9f3735240c
Merge pull request #400 from w23/rtables
Meatpipe-centric resource management
2023-01-22 13:48:51 -08:00
Ivan 'provod' Avdeev 9df38a6487 update todo 2023-01-22 13:43:33 -08:00
Ivan 'provod' Avdeev 8709f668c4 rt: track meatpipe-created resources by refcounts 2023-01-22 13:22:56 -08:00
LifeKILLED 4d370b072c vk rt denoiser: add motion vectors 2023-01-22 03:45:29 +04:00
Ivan 'provod' Avdeev d0fc84b7dd update todo 2023-01-21 13:15:49 -08:00
Ivan 'provod' Avdeev 3b77a84746 rt: make it paint things again
missing:
- proper resource destruction at exit and at meatpipe recreation time
2023-01-21 13:03:57 -08:00
Ivan 'provod' Avdeev 3e194c7c6d [wip] preregister all resources and get meatpipe to compile
still doesn't draw anything yet. needs writing descriptor values and barriers
2023-01-21 11:36:11 -08:00
Ivan Avdeev 59b3bbec08 fix linux build 2023-01-19 22:51:32 -08:00
Ivan 'provod' Avdeev 1ef9526aff [wip] begin creating gbuffer resources based on meatpipe description 2023-01-18 11:06:35 -08:00
Alibek Omarov b946ed4625 engine: platform: sdl: don't flood about closest display mode in case of no changes 2023-01-18 20:05:00 +03:00
Alibek Omarov ef1572b15b engine: crashhandler: fix build on FreeBSD (and probably on NetBSD and OpenBSD) 2023-01-18 19:45:21 +03:00
Alibek Omarov aaeb18f433 engine: inline version of MSG_BigShort 2023-01-18 19:29:27 +03:00
Alibek Omarov dd1d86c289 engine: platform: sdl: check usable display rect before creating window 2023-01-18 19:28:16 +03:00
Alibek Omarov 16b162f7bb engine: vid: position window in center by default 2023-01-18 19:27:40 +03:00
Alibek Omarov 500ca54550 Revert "engine: get rid of MSG_BigShort, use htons instead, since network headers are always included"
This reverts commit a6475f530b.
2023-01-18 19:21:51 +03:00