17
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-10-17 14:29:20 +02:00
Commit Graph

18 Commits

Author SHA1 Message Date
maj00r
1455583ab6 put every include before every import
A header first pulled in through an imported module's global module
fragment leaves no include guard in the importing unit - macros do not
cross a module boundary - so a later textual include parses it again and
MSVC rejects the redefinition. Redoes the betterRenderer sweep with
placement that stays out of #if blocks, which is where the previous one
dropped <fstream> and broke nvrenderer_d3d12.cpp.
2026-09-10 00:40:32 +02:00
maj00r
2695c8e525 include what you use in betterRenderer
Its sources reached the standard library through the project headers they
included; those are imports now. 178 headers across 56 files, plus 18 C
library headers elsewhere for memcpy/printf and friends. MSVC's STL does
not supply these transitively the way libstdc++ does.
2026-09-10 00:26:55 +02:00
maj00r
7667d8d4d3 build betterRenderer against the modules
Verified locally now that Vulkan and DXC are installed: all 31 targets
compile. glm has to come from eu07.glm only - having it both as a plain
include and as an import made every overload ambiguous. nvrenderer.h is
self-sufficient, since register.cpp includes nothing else. Fixes the
vcpkg triplet, which was pinned to x64-windows.
2026-09-09 23:45:53 +02:00
maj00r
06f6c6035b let betterRenderer import the modules
The module file set moves to its own eu07_modules library: a target can
only consume C++20 modules by linking the target that owns them, and
betterRenderer is a separate add_library. Its project includes become
imports.

CXX_EXTENSIONS must match across the two - a BMI built with -std=c++20
is refused by a unit compiled with -std=gnu++20.
2026-09-09 23:30:34 +02:00
0715437108 Fix include directives 2026-03-14 20:51:11 +01:00
Wls50
0794a0f621 add clouds 2025-12-22 21:43:52 +01:00
Wls50
aa0b6e9965 mouse picking improvements: filter out backfacing; include near plane in ray origin computation 2025-12-04 21:44:22 +01:00
Wls50
a22f449ecd fix gtao glitches; add timer to measure animation phase 2025-12-04 21:44:16 +01:00
Wls50
76d5d3831d refractive material support contd. 2025-12-04 21:44:00 +01:00
Wls50
ff50fdf110 add refraction support for materials; two pass rain shader 2025-12-04 21:43:51 +01:00
Wls50
90538c8878 initial rain material optimizations 2025-12-04 21:43:44 +01:00
Wls50
593a8a288f add depth prepass in preparation for moving from deferred back to forward renderer 2025-12-04 21:43:34 +01:00
Wls50
596ff9d5c2 squash commits from internal:
use gfx queue when loading dynamic textures
fix possible timeout in light culling
exclude lods & transparencies from lod test
add cpu-side submodel structure for ray testing
2025-11-16 19:00:38 +01:00
d018365780 nvrenderer: fix negative resolution for buffer init 2025-10-29 17:13:28 +01:00
2b75b17ca4 Remove workflow since it doesn't work on github 2025-04-29 02:49:26 +02:00
f07b220dba Fix framerate counter 2025-04-23 23:57:50 +02:00
dc49b771bb Change renderer config paths 2025-04-15 01:43:32 +02:00
a39d972126 Some renaming 2025-04-15 01:32:56 +02:00