You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# This preserves the same runtime feature surface while keeping triangle methods on one heavy backend compile path.
9
-
# SPECIALIZED bakes Area, SolidAngle and ProjectedSolidAngle into separate triangle entrypoints.
10
-
# That does not add only thin entrypoints. It multiplies the heavy triangle-side path tracing instantiations and pushes more work into the DXC/SPIR-V backend.
6
+
# EX31 keeps triangle polygon-method variants as separate precompiled entrypoints.
7
+
# This keeps polygon-method choice compile-time and avoids runtime shader switching on this axis.
11
8
# On AMD Ryzen 5 5600G with Radeon Graphics (6C/12T),
12
-
# a Visual Studio Debug x64 full rebuild of the SPIR-V project completed in:
13
-
# WALLTIME_OPTIMIZED = 12.785 s
14
-
# SPECIALIZED = 18.314 s
15
-
# SPECIALIZED is +5.529 s slower which is +43.25%.
16
-
# Equivalently, WALLTIME_OPTIMIZED is 30.19% faster than SPECIALIZED.
17
-
# This comes from multiplying the heavy triangle-side path tracing instantiations
18
-
# and pushing more work into the DXC/SPIR-V backend.
19
-
# Therefore the default stays WALLTIME_OPTIMIZED.
20
-
set(PT_BUILD_MODE "WALLTIME_OPTIMIZED"CACHESTRING
21
-
"Choose the EX31 precompiled shader layout. WALLTIME_OPTIMIZED keeps polygon-method selection inside the shared triangle shader module to reduce compile wall time. SPECIALIZED bakes triangle polygon methods into distinct entrypoints, which increases backend work and rebuild time but keeps those variants as separate precompiled entrypoints."
22
-
)
9
+
# a Visual Studio Debug x64 full rebuild of the SPIR-V project completed in about 19.789 s.
23
10
set(PT_CACHE_ROOT "pipeline/cache"CACHESTRING
24
11
"Relative cache root written to path_tracer.runtime.json in the common bin directory. The runtime resolves this path relative to the JSON file location. Empty disables the generated dev-mode JSON and falls back to --pipeline-cache-dir or LocalAppData."
# Keep the payload flat and explicit here. Once Nabla PR #988 lands, these per-rule compile axes should move to first-class packaged-variant support there.
0 commit comments