Bluestang
ca8899236f
Increase MAX_SWAPCHAIN_IMAGES to 8
...
-- Fixes RADV segfault on 6800XT, using XWayland and SDL2 x11 backend. Without this patch, the use of env var MESA_VK_WSI_PRESENT_MODE=fifo was needed to prevent the segfault. The increase of 4->8 is taken from vkQuake3's Vk renderer code.
Original issue ticket was #119 .
2021-12-08 09:42:35 -07:00
Eugene
65db7c877c
Fixed erroneous gamma setup in windowed mode, code cleanup
2021-12-08 17:10:55 +02:00
Eugene
3fb70d37cc
Fixed missing gamma correction in screenshots/videos with enabled \r_ignorehwgamma
...
OpenGL: do not suggest that we have actual **hardware** gamma support with enabled FBO
2021-11-23 17:06:02 +02:00
Eugene
7617245129
Handle negative color shift that caused black lightmaps, fixes #125
2021-11-05 21:36:57 +02:00
Eugene
5fbb8188be
Fixed recently broken demo playback, code cleanup
2021-10-30 16:40:37 +03:00
Eugene
aa273b763e
More differential time and interval comparisons, code cleanup
2021-10-29 20:15:25 +03:00
Eugene
3f92ee47f5
Use differential time and interval comparisons whenever possible, code cleanup
2021-10-24 23:00:19 +03:00
Eugene
3dada7f2e8
Various botlib and QVM fixes
2021-10-22 23:08:49 +03:00
Eugene
b38fb81d9e
Vulkan: mark offscreen rendering unavailable for NVidia on linux too
2021-10-20 15:33:30 +03:00
Eugene
db744b95bc
Added more static/const qualifiers, added some missing range checks in botlib code
...
QVM: use explicit in32_t types to indicate data size we operate with
2021-10-20 15:18:10 +03:00
Eugene
eca0e01085
Added more static qualifiers, removed/disabled unused variables and functions
2021-10-15 14:43:01 +03:00
Eugene
97fbef0dc8
Updated changelog
2021-10-14 19:52:49 +03:00
Eugene C
da9de34a42
Merge pull request #123 from BidyBiddle/botlib-typos
...
Fixed typo in BOTLIB files
2021-10-14 19:40:19 +03:00
Eugene
3c96b78b8d
Fixed a few compiler warnings
2021-10-14 19:39:02 +03:00
BidyBiddle
e1f2fc07f6
Fixed typo in BOTLIB files
2021-10-14 13:10:08 +02:00
ec-
36931ace13
QVM: always force either data range checks or mask operations
2021-10-14 13:45:45 +03:00
ec-
f880707a97
vm_x86: removed unsafe optimizations
2021-10-12 19:06:56 +03:00
ec-
33d35a75da
Filesystem: close all handles when switching to other game directory
...
*nix: output only printable chars in console
MSVC: better compatibility with Clang compiler
2021-10-12 16:02:24 +03:00
ec-
a359eacd31
QVM: added more sign-extension optimizations to bytecode compilers
2021-10-11 20:29:54 +03:00
ec-
cf6057f907
QVM: fixed a few typos, code cleanup
...
vm_x86: a few more const-store optimizations
2021-10-08 12:11:22 +03:00
Eugene C
7ec6b15ad9
Merge pull request #120 from gazsiazasz/master
...
Added CMake build system
2021-09-28 11:21:14 +03:00
Gajdos Gábor
8d96a689b2
Added CMake support for building and some love for macOS
2021-09-26 22:54:48 +02:00
ec-
365929adb2
Reworked sound system shutdown - placed single shutdown point in CL_ShutdownRef(), code cleanup
2021-09-20 21:19:49 +03:00
ec-
425dd7139f
Sound: fixed potential division-by-zero in S_GetSoundTime() in case of failed DirectSound initialization
2021-09-19 19:18:59 +03:00
ec-
079583b715
SDL: removed archive flag for \in_nograb
2021-09-03 12:15:38 +03:00
ec-
21f33ea625
Vulkan: correctly decoupled validation code
2021-08-14 14:16:29 +03:00
ec-
b8ec17b883
Updated changelog
2021-07-20 20:52:39 +03:00
ec-
bac9c13dc1
Makefile: use --gc-sections linker option for mingw/*nix builds, reduces binary size a bit
...
snd_codec: formatting and tiny cleanup
2021-07-20 14:22:43 +03:00
ec-
572a0bc72b
win32: use builtin setjmp/longgmp functions with mingw/llvm compilers to avoid problems with hardened longjmp in recent win10 versions
2021-07-18 16:07:00 +03:00
ec-
d37e1506c0
win32: removed RIDEV_CAPTUREMOUSE flag used to fix high-dpi mice movements in win10 insider builds - because it causes issues with releasing mouse capture in regular ones :-/
2021-07-17 11:51:37 +03:00
ec-
7a9e875077
win32: disabled unneeded WM_COPY code
2021-07-14 19:59:54 +03:00
ec-
7c358408bf
win32: allow copying selected text (via CTRL+C or CTRL+INSERT) from dedicated console
2021-07-14 16:24:01 +03:00
ec-
22958edc41
vm_x86: corrected data mask operation in 32-bit mode
2021-07-14 12:11:42 +03:00
ec-
9ce8780d25
Fixed compilation
2021-07-13 23:25:01 +03:00
ec-
a7c666c96e
Corrected Makefile
2021-07-13 23:21:10 +03:00
ec-
4ab8c6bb5c
vm_x86_ng: added support for legacy x87 instructions to new bytecode compiler, so entirely replaced legacy vm_x86 with vm_x86_ng
2021-07-13 23:18:11 +03:00
ec-
f77f6f8095
QVM: allow mapping constants and multiple memory ranges to the same register
2021-07-09 21:09:17 +03:00
Eugene C
c100e8489d
Merge pull request #117 from Q3HQ/PR
...
renderer2 update
2021-07-08 18:41:57 +03:00
q3superman
6c26eff4af
Add r_parallaxMapOffset
...
Set the parallax height offset.
0 - Values map to -255 - 0. (default)
0.5 - Values map to -127 - 127.
1.0 - Values map to 0 - 255.
2021-07-08 16:03:55 +02:00
q3superman
27aefe170b
Add epsilon to avoid division by zero in CalcSpecular()
2021-07-08 16:03:36 +02:00
q3superman
4547c7e298
Use r_texturemode GL_LINEAR_MIPMAP_LINEAR by default
...
This improves visual quality without a noticeable performance loss,
especially on maps that use textures with high-frequency details
such as q3dm1.
2021-07-08 16:02:47 +02:00
ec-
01c78567e3
vm_armv7l: implemented new load/store optimizations, deleted redundant const- and macro-optimizations, corrected zero-extension optimization in all bytecode compilers
2021-07-06 14:10:08 +03:00
ec-
bda00ec4a8
vm_aarch64: implemented new load/store optimizations, deleted redundant const- and macro-optimizations
...
vm_x86_ng: aoid unneeded zero-extension operations, code cleanup
2021-07-03 20:41:46 +03:00
ec-
78d05e0940
vm_x86_ng: fixed incorrect index used in find_free_rx()
2021-07-01 23:26:36 +03:00
ec-
21f0a787af
vm_x86_ng: wipe variable range after corresponding const-store
2021-07-01 22:25:42 +03:00
ec-
0c579df9f5
vm_x86_ng: use different address and target registers during load, that seems improves performance a bit
2021-07-01 14:21:18 +03:00
ec-
4cc7bd98ac
qvm: corrected detection of safe load/store addresses
...
vm_x86_ng: added AND+TEST+JCC constant optimization, code cleanup
2021-06-30 15:54:53 +03:00
ec-
c360da540c
vm_x86_ng: clear all meta variables after OP_BLOCK_COPY to avoid potential overlapping
2021-06-29 14:55:31 +03:00
ec-
067d3cf99d
vm_x86_ng: do not clone forced registers
2021-06-28 20:49:51 +03:00
ec-
9bccbce085
vm_x86_ng: more correct test for overlapped/aliased variables
2021-06-28 19:01:30 +03:00