Ivan 'provod' Avdeev
41e5757c0a
FIXME: rt: try disabling light grid entirely
...
this skips 40ms+ grid upload cost, and seems generally just a few ms more costly than sampling clusters.
however, there are sync glitches for reasons unknown.
2022-08-15 09:31:13 -07:00
Ivan 'provod' Avdeev
188d02c4aa
rt: fix shader reloading validation crashes
...
wait for gpu to become idle before trying to recreate pipelines
2022-08-15 09:31:13 -07:00
Ivan 'provod' Avdeev
c53f22d028
rt: extract bit array
2022-08-15 09:31:13 -07:00
Ivan 'provod' Avdeev
9f6fa0a8cb
rt: make lights data more private
2022-08-15 09:31:13 -07:00
Ivan 'provod' Avdeev
0f0a58d1aa
rt: add debug markers to see that uploading lights takes >35ms
2022-08-15 09:31:13 -07:00
Ivan 'provod' Avdeev
1d2e763baf
rt: add staging buffer for light grid, fix #368
2022-08-15 09:31:13 -07:00
Ivan 'provod' Avdeev
1d25b718dd
rt: split light metadata/grid bindings back in shader
...
for some reason joining them leads to "invalid spirv" validation errors (and broken lights).
split the bindings back making shaders essentially unchanged, while still keeping a single physical buffer
2022-08-15 09:31:13 -07:00
Ivan 'provod' Avdeev
01d4764cf4
vk: do not compile dumbspter
2022-08-15 09:31:13 -07:00
Ivan 'provod' Avdeev
1b834f37be
rt: join metadata and grid buffers together (breaks validation)
2022-08-15 09:31:13 -07:00
Ivan 'provod' Avdeev
608bf020c4
rt: move light metadata uploading to vk_light.c
2022-08-15 09:31:13 -07:00
Ivan 'provod' Avdeev
1f741a48a3
rt: hide emissive_textures info
2022-08-15 09:31:13 -07:00
Ivan 'provod' Avdeev
a5efa71ecb
rt: clean vk_light a bit
2022-08-15 09:31:13 -07:00
Ivan Avdeev
202f2b8462
rt: print material load stats
2022-08-13 14:17:43 -07:00
Ivan Avdeev
8ee68935d0
rt: do not print each material texture lookup
2022-08-13 14:17:43 -07:00
NightFox
91df117998
new material paths ( #382 )
2022-08-12 10:27:41 -07:00
NightFox
557d6c1ab6
fix incorrect display device id in r_show_devices (R_GetRenderDevices_f) ( #383 )
...
fixed #381
2022-08-12 10:22:54 -07:00
Ivan Avdeev
bdbcddb5ea
Merge pull request #386 from w23/merge-from-upstream
...
Merge from upstream @ 28d7f2eaa2
2022-08-12 10:21:51 -07:00
Ivan Avdeev
85c55a7fc9
update after merge, make it build and run with rasterizer
...
have not checked ray tracing, or playing longer than a couple of minutes
2022-08-08 00:23:38 -07:00
Ivan Avdeev
6b9ddf288f
Merge remote-tracking branch 'upstream/master' into merge-from-upstream
2022-08-08 00:08:17 -07:00
Andrey Akhmichin
28d7f2eaa2
Documentation: not-supported-mod-list-and-reasons-why.md: update.
2022-08-07 22:49:04 +03:00
0d449370e0
filesystem: fixes for GCC 3
2022-08-06 20:33:01 +03:00
10ad1c3b38
filesystem: use correct flushing function for file descriptors on Win32
2022-08-06 20:19:42 +03:00
90c566dde3
wscript: enable GCC's -Wmisleading-indentation
2022-08-06 20:17:42 +03:00
33cbead4a4
filesystem: wscript: fix library name on Android
2022-08-06 20:17:41 +03:00
d6dfeaeba7
engine: fix searching filesystem_stdio on mobile platforms
2022-08-06 20:16:56 +03:00
bc00c6c54b
vgui_support: update
2022-08-06 20:16:56 +03:00
3d5aa7c20c
engine: remove mistakingly placed NORETURN attributes
2022-08-05 18:05:40 +03:00
SNMetamorph
a5ba43ea39
engine: fixed vulnerability in NAT bypass mechanism
2022-08-02 18:01:28 +03:00
3eb4862794
common: remove unneeded typedef for wad file type
2022-08-01 15:06:54 +03:00
c025606739
engine: whereami: fix C89 in Android detection
2022-08-01 14:33:36 +03:00
067e9be37a
scripts: upgrade to Android NDK 25
2022-08-01 14:25:44 +03:00
b7b9c611cf
filesystem: wscript: disable RTTI and exceptions(useful on Android), we don't need it here. Link as C++ library.
2022-08-01 14:06:00 +03:00
3c4eec62ae
engine: let engine find the filesystem library, if it wasn't loaded yet
2022-08-01 13:25:51 +03:00
SNMetamorph
fd7dba74cd
filesystem: fixed build for Windows
2022-08-01 12:54:26 +03:00
SNMetamorph
a8674c18df
engine: platform: win32: fixed build for Windows
2022-08-01 12:54:26 +03:00
SNMetamorph
b26cd6cc94
wscript: added /Zc:__cplusplus compiler flag for MSVC
2022-08-01 12:54:26 +03:00
55a29e6e6b
filesystem: implement VFileSystem009 interface
2022-07-28 18:56:02 +03:00
56d7c05b51
filesystem: generated VFileSystem009 from pdwtags output, removed unneeded in C++ this first argument
2022-07-28 18:56:02 +03:00
5e4fc64430
filesystem: introduce new module, based on engine filesystem.
...
The goal is to share filesystem code between engine and
utilities and provide C++ VFileSystem interface in the future
2022-07-28 18:56:02 +03:00
12ea6dcfd7
public: move build.c from engine to public library, in preparation of filesystem_stdio merge
2022-07-26 04:10:36 +03:00
a41f8cb01b
engine: move version strings to com_strings.h file, in preparation of filesystem_stdio branch merge
2022-07-26 04:07:52 +03:00
a9c82dbe21
public: make crtlib linkable with C++
2022-07-26 03:17:11 +03:00
5350d88f57
public: crtlib: add quotation mark support for ParseFile, required for filesystem_stdio
2022-07-26 03:17:11 +03:00
fc132e87f4
engine, game_launch: fix rpath usage
2022-07-26 02:54:20 +03:00
Ivan 'provod' Avdeev
0d0241d088
vk: recreate swapchain on all errors except fatal
...
Unless we know the error is unrecoverable, try to recreate swapchain anyway.
2022-07-23 14:17:20 -07:00
Ivan 'provod' Avdeev
8291efd08b
rt: fix polygon light clusters on missing pvs
2022-07-23 13:39:37 -07:00
Ivan 'provod' Avdeev
af594203f8
rt: fix point light cluster crash on missing pvs
...
will still crash for polygon lights
2022-07-23 13:39:37 -07:00
Ivan 'provod' Avdeev
9b76f3acb4
rt: fix missing moving polygon lights
2022-07-23 12:06:43 -07:00
NightFox
8baf34768a
correct environment light power
2022-07-23 11:34:57 -07:00
Valery Klachkov
658a67e09e
Fix #634
2022-07-23 11:33:42 -07:00