Commit graph

22,824 commits

Author SHA1 Message Date
Magnus Norddahl
acdf49ee7a Don't use glcycle_t 2024-12-17 00:39:38 +01:00
Magnus Norddahl
e30831a409 Clean up the ranges code a bit 2024-12-16 22:17:18 +01:00
Magnus Norddahl
0d87875003 Add some more null checks 2024-12-16 11:32:39 +01:00
Magnus Norddahl
e0a7e2e8cc Add build time to cpublasinfo 2024-12-15 22:42:24 +01:00
Magnus Norddahl
82e748cb49 Fix typo 2024-12-15 16:41:24 +01:00
Magnus Norddahl
e002697598 Add cpublasinfo ccmd 2024-12-15 16:30:19 +01:00
Boondorl
419fc91522 Stop interpolators constantly force updating mesh 2024-12-14 06:08:49 +08:00
Boondorl
8b03f32ce6 Fixed missing 3D floor trace check 2024-12-14 06:08:38 +08:00
Boondorl
4d5bba8d02 Clean up decal behavior
Only update the mesh if a decal was truly created/destroyed
2024-12-14 05:40:45 +08:00
Ricardo Luís Vaz Silva
c2901404d5 ensure non-dynamic tiles are baked first 2024-12-14 05:40:32 +08:00
Magnus Norddahl
36d74cf8f9 Try try again 2024-12-12 23:21:45 +01:00
Magnus Norddahl
2040be87a5 One more save fix 2024-12-12 23:10:13 +01:00
Magnus Norddahl
bd3b41cffb Don't save dynamic lightmap textures 2024-12-12 21:19:17 +01:00
Magnus Norddahl
1004d6ae20 Exclude inactive triangles from subdivide 2024-12-12 20:18:27 +01:00
Magnus Norddahl
ab7c7cb465 Allocate from the start of the free lists 2024-12-12 20:08:38 +01:00
Magnus Norddahl
c46896599c Use the SSE2 version in debug builds as its faster when the optimizer isn't running 2024-12-12 20:08:08 +01:00
Magnus Norddahl
22aab27058 Add some lame free list info 2024-12-12 18:58:47 +01:00
Boondorl
0b8989968d 3D floor performance fix
Prevent dummy trace sectors from sending updates to the accel struct
2024-12-12 16:05:09 +08:00
Magnus Norddahl
9729d8abc0 Fix median not getting initialized
Added some SSE2 code that wasn't faster unfortunately
2024-12-11 01:28:52 +01:00
Magnus Norddahl
6190ffecda Also expand the bbox for the TLAS tree 2024-12-10 23:12:12 +01:00
Magnus Norddahl
bc5bf8ca7b Increase the bounding box for numerical stability 2024-12-10 23:10:16 +01:00
Magnus Norddahl
dafc612b68 Add measurement of how long DoomLevelMesh::BeginFrame took 2024-12-10 23:05:57 +01:00
nashmuhandes
ca469e57ed Revert "Show hitboxes even for invisible things (not sure if this is the most elegant solution; will revert this commit if I could come up with a better way)"
This reverts commit 1fc1f467a0.

(Revert note: the fix here is messy and incorrect. Roll the code back to a cleaner slate to help smoothen the merge with the pending GZDoom 4.14 update, THEN later figure out how to fix this properly)
2024-12-10 17:14:12 +08:00
dpjudas
08282e9d5c Add readonly specifier to CopyBuffer 2024-12-08 13:00:36 +01:00
dpjudas
55aa1d44eb Resize node buffer if too small 2024-12-08 04:40:24 +01:00
Magnus Norddahl
6867b0e9a6 Validation layer is complaining about missing readonly specifier on buffers in GLSL 2024-12-07 23:00:53 +01:00
Magnus Norddahl
db4472b067 Maps with a ZDRayInfo must always have dynamic lights (gl_lights cvar is ignored in this situation) 2024-12-06 20:58:12 +01:00
nashmuhandes
1fc1f467a0 Show hitboxes even for invisible things (not sure if this is the most elegant solution; will revert this commit if I could come up with a better way) 2024-11-14 23:29:36 +08:00
Magnus Norddahl
7b75a080b9 Remove "first/second chance not available" spam from crash reports 2024-11-12 23:14:51 +01:00
Magnus Norddahl
6c67c55ca7 Set a define for user shaders if they need to deviate between GZD and VKD 2024-11-06 22:27:46 +01:00
nashmuhandes
dfb75dc3c5 GLSL: add a vec4 texture(int index, vec2 p, float bias) overload 2024-11-07 04:48:50 +08:00
nashmuhandes
8402f3f7fa Update Discord AppID 2024-11-05 05:31:34 +08:00
Boondorl
57202305d6 Added toggle for lm_dynamic 2024-11-02 09:20:23 +01:00
nashmuhandes
2c45d9aa99 Merge remote-tracking branch 'remotes/ZDoom/gzdoom/4.13' 2024-11-01 21:17:09 +08:00
Major Cooke
0c29e3a778
Fixed STRETCHPIXELS flag not being exposed.
Some checks failed
Continuous Integration / Linux Clang 12 | AppImage (push) Has been cancelled
Continuous Integration / macOS | Debug (push) Has been cancelled
Continuous Integration / Linux Clang 11 | Debug (push) Has been cancelled
Continuous Integration / Visual Studio 2022 | Debug (push) Has been cancelled
Continuous Integration / Linux GCC 12 | MinSizeRel (push) Has been cancelled
Continuous Integration / Linux GCC 9 | RelWithDebInfo (push) Has been cancelled
Continuous Integration / macOS | Release (push) Has been cancelled
Continuous Integration / Linux Clang 15 | Release (push) Has been cancelled
Continuous Integration / Visual Studio 2019 | Release (push) Has been cancelled
Continuous Integration / Visual Studio 2022 | Release (push) Has been cancelled
g4.13.2
2024-10-31 07:57:41 -04:00
Magnus Norddahl
f5a0e01b2c Support STARTUPSONG for the generic startupscreen 2024-10-30 00:37:08 +01:00
Magnus Norddahl
7bbd69e7e3 Improve start screen logo rendering by rendering it directly to screen instead of using StartupTexture 2024-10-30 00:00:46 +01:00
Ricardo Luís Vaz Silva
b84d28e9a7
Allow using Self as the class name in the default block to refer to the current class 2024-10-28 12:07:49 -04:00
Dileep V. Reddy
dc6f116315
Reduce number of multiply ops per frame and increase x-axis clipper range for orthographic projection. 2024-10-28 12:07:44 -04:00
Rachael Alexanderson
3c36102eed
- cap the size of the string copy calls in LevelStatEntry() 2024-10-28 12:07:29 -04:00
Christoph Oelckers
2cbb980388
Check array size for overflow.
Since ZScript is a 32 bit VM, the largest safe value for an array's physical size is 2GB. Any larger value will be destroyed by the compiler which relies on signed 32 bit values too much.
2024-10-28 12:07:15 -04:00
Christoph Oelckers
adeb48d598
Do a check if a local variable exceeds the available stack space.
Windows stack is 1 MB so play it safe and allow 512 kb as max. stack space for a single function.
2024-10-28 12:07:10 -04:00
nashmuhandes
a37c47cf92 Change SetSunDirection to take in angle and pitch 2024-10-24 12:59:12 +08:00
nashmuhandes
42a02eb2db Fix default lightmap sample distance (16 is too blurry; plus 8 matches what it is in UDB) 2024-10-24 11:20:03 +08:00
nashmuhandes
521d44d623 Fix compile error 2024-10-24 11:15:59 +08:00
Nash Muhandes
e86b092b35
Merge pull request #71 from MrRaveYard/pr_lightmap_modding_vkdoom
MapInfo/ZScript Lightmap Control
2024-10-24 11:13:00 +08:00
Nash Muhandes
7092550d3e
Merge branch 'master' into pr_lightmap_modding_vkdoom 2024-10-24 11:06:26 +08:00
dpjudas
4fee895c2b Remove unused struct 2024-10-22 02:30:18 +02:00
dpjudas
dfbef085e6 Group lightmap variables and put polyobj walls in a dynamic lightmap atlas 2024-10-22 02:29:12 +02:00
Magnus Norddahl
c866937262 Fix upload bug and skip upload when RT cores are available 2024-10-21 20:50:25 +02:00