Christoph Oelckers
18daf2c510
- update comment on SSBOs.
2023-04-21 00:41:21 +08:00
Christoph Oelckers
36591d2493
- fixed a few more leftover Clang warnings.
2023-04-21 00:41:20 +08:00
Christoph Oelckers
783ea20ec8
- updated RapidJson library.
...
This still needed the Nan hotfix to be reapplied. The problem hasn't been addressed yet. :(
2023-04-21 00:41:20 +08:00
Christoph Oelckers
b8f5511ee4
- fixed several warnings emitted by Clang.
2023-04-21 00:41:19 +08:00
Ricardo Luís Vaz Silva
5d0a7392fa
Fix possible memory corruption in TArray::Delete(index, count)
2023-04-21 00:39:00 +08:00
RaveYard
2c55266f6b
Fix TArray allocating 0 bytes in constructor
2023-04-21 00:39:00 +08:00
Magnus Norddahl
5c9ff283a6
Only add the lightmode actually being used into the shader
2023-04-19 02:28:32 +02:00
Magnus Norddahl
6381280177
Remove virtual inheritance
2023-04-16 21:49:05 +02:00
Magnus Norddahl
6894eb013f
Begin removing binding points from the hwrenderer layer.
...
Well known buffers should be created and managed by the backend, otherwise the backend just becomes an OpenGL emulator.
2023-04-16 19:30:27 +02:00
Magnus Norddahl
1b221db996
Remove dead code
2023-04-16 17:34:52 +02:00
Magnus Norddahl
184e73ab28
Add GetDevice function instead of accessing device member directly
2023-04-16 17:07:55 +02:00
Magnus Norddahl
cd35a0ad76
More folder adjustments
2023-04-16 16:51:52 +02:00
Magnus Norddahl
295eb252ab
Change the folder structure of the vulkan backend to better reflect what is going on
2023-04-16 16:39:15 +02:00
Magnus Norddahl
1f5b7a0256
Add support for gl_light_raytrace for cards that do not support rayquery
2023-04-12 02:09:28 +02:00
Magnus Norddahl
caefc09549
Improve shader performance significantly by only including raytracing or shadowmaps in the shader if enabled
2023-04-07 04:22:43 +02:00
Magnus Norddahl
5ca4c51b7d
Avoid stepping further into VkShaderManager::Get unless the shader has not been compiled
2023-04-06 19:48:28 +02:00
Magnus Norddahl
d5d6c07f53
Fix misc shader related issues
2023-04-06 19:36:58 +02:00
Magnus Norddahl
87ee014b5b
Improve VkShaderProgram to handle more program types
...
Fix memory alignment issues with the shader/pipeline keys
2023-04-06 17:56:44 +02:00
Magnus Norddahl
fd2ae4865c
Merge tracelights
2023-04-05 23:14:25 +02:00
dpjudas
94a06d393f
Add VkShaderKey and start preparing VkShaderManager to be able to handle a lot more shader permutations
2023-04-04 01:00:08 +02:00
Magnus Norddahl
44fed1451d
Fix shader build errors and remove support for old deprecated shader types
2023-03-24 03:34:24 +01:00
Magnus Norddahl
c495c8c094
Add support for using #include in glsl files and improve glsl compile errors
2023-03-22 00:06:13 +01:00
Magnus Norddahl
6878dc5580
Move static layout code back to wadsrc
2023-03-21 20:24:08 +01:00
nashmuhandes
896102c179
Change more default settings
...
- Show item counter on automap
- Enable thicker automap lines and anti-aliased lines for better visibility with high res displays
- Enable textured automap
- HUD border scaling factor to better match default status bar scaling
- Enable subtitles
- Set render quality to "quality" to fix level mesh seams (gl_seamless)
- Enable mouse in menus by default (instead of touchscreen-like)
- Don't show ENDDOOM when quitting the app
- Enable the first crosshair, and set its scale slightly smaller
- Grow crosshair when picking up items
- Set autoaim slider to 0
- Show nametags when switching items and weapons
- Always run enabled
- Disable save/load confirmation dialog
- Enable quicksave rotation
- Enable additively-translucent Doom rocket explosion
- Increase default particles to 10k, and increase the slider to 65k (engine limit)
- Disable night vision effect
- Set sprite clipping to "Always" as this looks better than having sprites sink into the geometry
- Set particle style to round as it matches the pixelated aesthetics better
2023-03-19 04:35:27 +08:00
Magnus Norddahl
b417958f17
Remove old vk_raytrace cvar
2023-03-17 00:06:33 +01:00
Magnus Norddahl
342d495c08
Fix some compile errors caused by cherry-picking an old commit
2023-03-16 23:17:23 +01:00
Magnus Norddahl
7eb9053e30
Update ZVulkan, rename vk_raytrace to gl_light_raytrace and support turning it on and off without a restart
2023-03-16 23:15:02 +01:00
Magnus Norddahl
4bbc88d358
Updates ZVulkan to latest version.
...
Also changes vsync off from mailbox to immediate since otherwise it doesn't work in exclusive full screen mode.
And finally it fixes a scratch buffer alignment bug with the vk raytrace thing
2023-03-16 23:00:56 +01:00
Magnus Norddahl
df7d31968d
Change various defaults
2023-03-16 22:56:21 +01:00
Magnus Norddahl
151b60c436
Remove OpenGL and OpenGL ES backends
2023-03-16 22:09:19 +01:00
Magnus Norddahl
38a1a8d5cb
Rename the project
2023-03-16 21:12:29 +01:00
Ricardo Luís Vaz Silva
590475a8e3
Improve Services
2023-02-19 08:11:08 +01:00
Christoph Oelckers
087050c201
- use uniform buffers for dynamic lights everywhere.
...
Branching on SSBO content does not work that well on NVidia so it is better disabled.
So far only implemented for OpenGL - Vulkan needs more work.
2023-02-18 12:22:26 +01:00
Rachael Alexanderson
ea720605d4
Revert "Fixed an error where implicit pointer casts should've failed but didn't."
...
This reverts commit 68d3f474ce .
# Conflicts:
# src/common/scripting/backend/codegen.cpp
2023-02-11 11:30:05 -05:00
Christoph Oelckers
17800f2504
- removed bad #include
2023-02-11 12:37:28 +01:00
Christoph Oelckers
f6bfc48d9f
- Backend update from Raze.
2023-02-11 12:05:45 +01:00
CandiceJoy
68d3f474ce
Fixed an error where implicit pointer casts should've failed but didn't.
...
Signed-off-by: CandiceJoy <candice@candicejoy.com>
2023-02-11 00:02:51 -05:00
Emile Belanger
c41b07531a
Fixing GLES mode to work on real GLES hardware and OpenGL 2 again
2023-02-10 13:44:11 -05:00
Ricardo Luís Vaz Silva
1dcdfcc4d3
Mark const methods as const in pseudo-generics
2023-02-09 17:02:40 +01:00
Ricardo Luís Vaz Silva
569263efe9
Extend pseudo-generics system used by maps to dynarrays
2023-02-09 17:02:40 +01:00
Rachael Alexanderson
e29011ecde
- (win32) increase compatibility with indirect renders/inputs - instruct the operating system that the cursor is actually hidden - for some API's this actually gives a hint that the cursor is grabbed, which allows for relative mouse movement. In particular, Parallels and Microsft RDP need this.
2023-02-07 13:47:39 -05:00
Ricardo Luís Vaz Silva
b50d7f4db5
Let custom CVar handlers to be called on cloned cvars
2023-02-01 10:35:28 -05:00
Ricardo Luís Vaz Silva
c8f3aa3fd1
ZScript Custom CVars -- ONLY WORKS FROM THE CONSOLE
2023-01-29 14:42:20 -05:00
Ricardo Luís Vaz Silva
8dbe0ae353
Don't change static variable when updating callback for single CVars
2023-01-29 14:42:20 -05:00
Emile Belanger
c8bd2deb1e
GLES: Fix first wipe
2023-01-29 20:03:05 +01:00
CandiceJoy
4d9e60574d
Added scroll bar for wad picker to Linux.
...
Min height is set to 150 for GTK3, or none for GTK2.
Signed-off-by: CandiceJoy <candice@candicejoy.com>
2023-01-29 04:14:20 -05:00
Christoph Oelckers
ec04a95929
- validate the buffer size in HWViewpointBuffer::Set2D.
...
This was causing crashes in Dragon Sector when writing past the buffer's end.
2023-01-27 18:25:13 +01:00
CandiceJoy
70d355cfa3
Fixed a bug where calling an invalid virtual function would cause a crash.
2023-01-26 08:52:23 -05:00
Ricardo Luís Vaz Silva
4c7e9c6193
Change CheckValue to multi-return, due to unsupported out int/bool
2023-01-25 17:32:54 +01:00
CandiceJoy
1e39202484
Added check for invalid class on in-VM instantiation
...
Signed-off-by: CandiceJoy <candice@candicejoy.com>
2023-01-24 22:10:34 +01:00