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

10 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
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
76488fab43 attempt to fix invalid ressource state on render target 2025-12-04 22:17:36 +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
915e4c769e support rain shader in experimental 2025-11-22 18:53:38 +01:00
a39d972126 Some renaming 2025-04-15 01:32:56 +02:00