Commit graph

2378 commits

Author SHA1 Message Date
Robert Beckebans
8a57cf210a Increased vertex cache limits for TSM mod #918 #660 2024-08-28 21:26:43 +02:00
Robert Beckebans
06c6dd0e4a Fixed viewInsideSurface check which caused much flickering 2024-08-27 23:01:08 +02:00
Robert Beckebans
d747be22d6 Fixed compiling MOC on Linux 2024-08-27 14:01:34 +02:00
Robert Beckebans
d34eaf0b09 Fixed compiling on Linux without MOC 2024-08-27 13:28:43 +02:00
Robert Beckebans
0921667151 Merge branch 'master' into 756-masked-software-occlusion-culling 2024-08-27 13:10:45 +02:00
Robert Beckebans
747878eee1 Indented USE_PRECOMPILED_HEADERS blocks 2024-08-27 13:06:22 +02:00
Robert Beckebans
59c309cd65 Merge branch 'master' into 756-masked-software-occlusion-culling 2024-08-27 11:58:07 +02:00
Robert Beckebans
e54fc22180
Merge pull request #928 from SRSaunders/rbdmap-fixes
rbdmap build warning fixes for gcc/posix and MSVC/win32
2024-08-27 11:56:58 +02:00
Robert Beckebans
c4e39bdc1c Skip Masked Occlusion Culling on non-SSE2 CPUs 2024-08-27 11:41:39 +02:00
Stephen Saunders
1a2f19b6ad rbdmap for win32: Suppress warnings from imtui / imgui / pdcurses / wincon third-party source libraries 2024-08-26 18:39:46 -04:00
SRSaunders
79ab0b63e6 rbdmap for linux/posix: Replace deprecated readdir_r() with readdir() to eliminate warnings 2024-08-26 17:17:44 -04:00
SRSaunders
5c8881c7cb rbdmap: Suppress warnings from zlib and minizip third-party source libraries 2024-08-26 17:17:44 -04:00
SRSaunders
387c4a18e5 Fix rbdmap / idlib PCH mismatch and cleanup rbdmap PCH files after build 2024-08-26 17:17:44 -04:00
Robert Beckebans
930c968fa9 Turn off occlusion culling for mirrors and subviews 2024-08-26 22:58:59 +02:00
Robert Beckebans
a7d1d7f72e All lights can be culled now 2024-08-26 22:36:58 +02:00
Robert Beckebans
e121472661 Point lights can be culled. #756 2024-08-26 10:26:40 +02:00
Robert Beckebans
5107d12cc5 Don't cull objects that we run into 2024-08-22 23:19:59 +02:00
Robert Beckebans
fc6c1fef7a Query only draw surface boxes with MOC 2024-08-22 22:05:47 +02:00
Robert Beckebans
dba7404eff Don't let TAA mess with masked culling 2024-08-22 00:24:17 +02:00
Robert Beckebans
1fda97ec25 Masked Software Occlusion Culling kinda works 2024-08-22 00:05:04 +02:00
Robert Beckebans
9e919c8d76 Added Masked Software Occlusion Culling lib by Intel 2024-08-21 18:39:52 +02:00
Robert Beckebans
f6cd2386a7
Merge pull request #926 from SRSaunders/basepath-fix
Respect basePath parameter vs hardcoded path in R_WritePNG()
2024-08-21 13:58:25 +02:00
SRSaunders
4d34957f65 Respect basePath parameter vs hardcoded path in R_WritePNG() 2024-08-20 21:57:56 -04:00
Robert Beckebans
34735910b0 Updated release notes 2024-08-17 22:51:36 +02:00
Robert Beckebans
b66a4d1838 Merge branch '761-psx-rendermode' 2024-08-17 22:29:08 +02:00
Robert Beckebans
aa8ca629ea Renamed Easymode in menu to Advanced 2024-08-17 22:25:25 +02:00
Robert Beckebans
dbddb347f7 Fixed PSX vertex jiggle in hell sky 2024-08-17 19:05:12 +02:00
Robert Beckebans
ab589eb5ef PSX affine texture mapping 2024-08-17 18:37:50 +02:00
Robert Beckebans
91351f8833 Astyle 2024-08-11 22:01:11 +02:00
Robert Beckebans
25e2208f68 Ported advanced CRT shader by whkrmrgks0 2024-08-07 22:35:16 +02:00
Robert Beckebans
e66754b7f3 Easymode CRT looks like the games on my TV in the 90s 2024-08-05 22:59:28 +02:00
Robert Beckebans
802075fdf6
Merge pull request #923 from SRSaunders/zlib-warnings
Suppress clang deprecated-non-prototype warnings for ZLIB sources
2024-08-05 17:33:05 +02:00
Robert Beckebans
c78f16c0dc
Merge pull request #919 from SRSaunders/mvk-arg-buffers
macOS: Fix compile failure when configuring metal argument buffers with MoltenVK >= 1.2.10
2024-08-05 17:29:59 +02:00
SRSaunders
9a3d78ca01 Suppress clang deprecated-non-prototype warnings for ZLIB sources 2024-08-05 11:09:37 -04:00
SRSaunders
3eb260a809 macOS: Add CVAR_NEW tag to r_mvk* cvar declarations 2024-08-03 12:37:29 -04:00
SRSaunders
4c79e21bbc macOS: Fix compile failure when configuring metal argument buffers with MoltenVK >= 1.2.10 2024-08-03 12:13:00 -04:00
Robert Beckebans
4d15543a47
Merge pull request #917 from LocutusOfBorg/patch-1
Update DataQueue.h to fix a build failure in Append method

Thanks!
2024-08-03 10:43:50 +02:00
Robert Beckebans
885bf8d7c0 Combined easymode CRT with a NTSC signal 2024-08-02 17:30:01 +02:00
Gianfranco Costamagna
ea567131e9 DataQueue.h
also check for b1 being NULL
2024-08-02 15:44:43 +02:00
Robert Beckebans
e14d6d595c Ported RetroArch Aperture CRT shader but not much better than Easymode 2024-08-01 21:05:50 +02:00
Robert Beckebans
cef666f2fd Easymode CRT shader works correctly 2024-08-01 17:23:07 +02:00
Robert Beckebans
a4de5a1350 Tweaked CRT shaders 2024-08-01 16:20:47 +02:00
Gianfranco Costamagna
53310744ce
Update DataQueue.h to fix a build failure in Append method
This is a quick and dirty fix for this gcc-13 build failure on ppc64el with -O3 optimization level:


/usr/bin/g++-13 -DCPUSTRING=\"ppc64el\" -DUSE_DOOMCLASSIC -DUSE_EXCEPTIONS -DUSE_FFMPEG -DUSE_NEWER_JPEG -DUSE_OPENAL -D__DOOM__ -I/usr/include/imgui -I/usr/include/stb -I/<<PKGBUILDDIR>>/neo/. -I/<<PKGBUILDDIR>>/neo/idlib -isystem /usr/include/SDL2 -g -O3 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/rbdoom3bfg-1.4.0+dfsg-3ubuntu2 -Wdate-time -D_FORTIFY_SOURCE=3  -std=c++11   -pipe -Werror=format-security -Werror=format -Wno-pragmas -Wno-unused-variable -Wno-switch -Wno-unused-value -Winvalid-pch -Wno-multichar -fno-strict-aliasing -MD -MT CMakeFiles/rbdoom3bfg.dir/sys/Snapshot_Jobs.cpp.o -MF CMakeFiles/rbdoom3bfg.dir/sys/Snapshot_Jobs.cpp.o.d -o CMakeFiles/rbdoom3bfg.dir/sys/Snapshot_Jobs.cpp.o -c /<<PKGBUILDDIR>>/neo/sys/Snapshot_Jobs.cpp
In file included from /usr/include/string.h:548,
                 from /<<PKGBUILDDIR>>/neo/idlib/sys/sys_includes.h:141,
                 from /<<PKGBUILDDIR>>/neo/idlib/precompiled.h:34,
                 from /<<PKGBUILDDIR>>/neo/sys/PacketProcessor.cpp:29:
In function ‘memcpy’,
    inlined from ‘idDataQueue<64, 8000>::Append(int, unsigned char const*, int, unsigned char const*, int)’ at /<<PKGBUILDDIR>>/neo/idlib/../idlib/DataQueue.h:112:8,
    inlined from ‘idPacketProcessor::VerifyEmptyReliableQueue(unsigned char, unsigned char)’ at /<<PKGBUILDDIR>>/neo/sys/PacketProcessor.cpp:660:16:
/usr/include/powerpc64le-linux-gnu/bits/string_fortified.h:29:33: error: argument 2 null where non-null expected [-Werror=nonnull]
   29 |   return __builtin___memcpy_chk (__dest, __src, __len,
      |          ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
   30 |                                  __glibc_objsize0 (__dest));
      |                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/powerpc64le-linux-gnu/bits/string_fortified.h:29:33: note: in a call to built-in function ‘__memcpy_chk’
cc1plus: some warnings being treated as errors
2024-08-01 08:17:34 +02:00
Robert Beckebans
00a4a4067b Got Easymode CRT working but it looks bad 2024-08-01 00:40:44 +02:00
Robert Beckebans
fe959aa03a Ported RetroArch Easymode CRT shader WIP 2024-07-31 23:52:01 +02:00
Robert Beckebans
21645ee262 Removed SSAO test from CPC shader 2024-07-31 21:30:35 +02:00
Robert Beckebans
9fb21205f1 Added 4 color CGA shader 2024-07-31 21:27:36 +02:00
Robert Beckebans
676c970886 Added Gameboy and NES render modes 2024-07-31 18:11:43 +02:00
Robert Beckebans
ea78cf42e3 Store world normals in gbuffer 2024-07-31 17:04:42 +02:00
Robert Beckebans
449f56ab9f More triplanar shader tests 2024-07-30 23:24:44 +02:00