Checks native windshield fractures, authored damage and visibility.
Subsystem: Rain, windshields and wipers
Fixture/harness: windshielddamage11tests
Setup: Explicit setup symbols: Fixture. The standalone WindshieldDamage11Tests harness owns the inputs, local helpers and assertion sink used by the case files below. Fixture is scoped to this harness; similarly named fixtures in other executables are independent.
Build/entry point: Tests/WindshieldDamage11Tests.vcxproj; declared configurations: Release|x64.
WindshieldDamage11Tests.cpp
Source: Tests/WindshieldDamage11Tests.cpp
Graph
Fixture: Windshield Damage11 tests
Case symbol: Graph
Source: Tests/WindshieldDamage11Tests.cpp:25
- Test
- Graph: every fracture attaches to an older fracture.
Source check messages (including original failure wording)
-
network density
-
every fracture attaches to an older fracture
-
stable network
Authored Damage
Fixture: Windshield Damage11 tests
Case symbol: AuthoredDamage
Source: Tests/WindshieldDamage11Tests.cpp:79
- Test
- Authored Damage: P-13's five glass components produce eight panes; damage is visible on authored P-13 front and side glass.
Source check messages (including original failure wording)
-
authored rain device
-
open authored visibility cockpit
-
visibility mesh stride
-
visibility mesh bounds
-
P-13's five glass components produce eight panes
-
authored depth shader
-
depth-only blend
-
authored interior
-
authored scene target
-
authored scene view
-
authored depth
-
authored raster
-
authored stencil
-
authored interior shader
-
authored water draw
-
authored pixels
-
damage is visible on authored P-13 front and side glass
Multisample
Fixture: Windshield Damage11 tests
Case symbol: Multisample
Source: Tests/WindshieldDamage11Tests.cpp:172
- Test
- Multisample: 4x MSAA excludes only refracted advertising samples.
Source check messages (including original failure wording)
-
caller render target restored
-
4x MSAA excludes only refracted advertising samples
Entry-point checks
Fixture: Windshield Damage11 tests
Case symbol: main
Source: Tests/WindshieldDamage11Tests.cpp:247
- Test
- Entry-point checks: no self-illumination in darkness; visible dome-lit edges without white outlines; dome reflection follows electrical power without a brightness floor.
Source check messages (including original failure wording)
-
no self-illumination in darkness
-
visible dome-lit edges without white outlines
-
dome reflection follows electrical power without a brightness floor
-
dome light reveals the fracture network, not only isolated glints
-
dome light adds readable contrast against a dark exterior
-
daylight fractures retain visible dark and bright optical edges
-
healthy glass untouched
-
damage adds widespread coverage
-
repeat-frame stability
-
device reset rebuilds identical fractures
-
damage persists above rain altitude
-
repair releases damage and restores view
-
cockpit occludes damage
-
unified depth occludes damage
-
scene-dependent refraction
-
crack edges sample neighboring scene colors
-
visible crack coverage does not regress as condition falls
-
simulator suppresses optical damage
-
simulator discards new optical damage state
-
simulator exit has no stale damage
-
rain and damage composite together
-
repair retains rain exactly