Rise
The Vieneo Province
Loading...
Searching...
No Matches
Exterior rain benchmarks

Measures exterior-rain rendering while checking device setup, rain motion and output validity against the verification fixtures.

Subsystem: Rain, windshields and wipers
Fixture/harness: exteriorrainbenchmarks
Setup: The ExteriorRainBenchmarks executable owns the graphics device, authored inputs and diagnostic/check helpers. These are explicit diagnostic or measurement paths.

Build/entry point: Tests/ExteriorRainBenchmarks.vcxproj; declared configurations: Debug|Win32, Release|Win32. Inspect source arguments before running.

ExteriorRainBenchmarks.cpp

Source: Tests/ExteriorRainBenchmarks.cpp

Entry-point checks

Fixture: Exterior rain benchmarks
Case symbol: main
Source: Tests/ExteriorRainBenchmarks.cpp:32

Test
Initializes the selected device and runs exterior-rain measurement workloads with verification checks.
Source check messages (including original failure wording)

  • adapter
  • HAL device
  • target
  • bind target
  • completion query
  • timestamp support
  • disjoint support
  • frequency support
  • cloud initialize
  • clear
  • begin cloud setup
  • cloud setup
  • end cloud setup
  • 4x MSAA support
  • original depth
  • MSAA target
  • MSAA depth
  • detach depth
  • bind MSAA target
  • bind MSAA depth
  • detach MSAA depth
  • restore target
  • restore depth
  • particle initialize
  • clear fence
  • disjoint begin
  • start timestamp
  • begin rain
  • shader rain
  • cloud rain
  • legacy rain
  • end rain
  • end timestamp
  • disjoint end
  • frequency
  • completion
  • save baseline preview

ExteriorRainVerification.h

Source: Tests/ExteriorRainVerification.h

Verify Rain Motion

Fixture: Exterior rain benchmarks
Case symbol: VerifyRainMotion
Source: Tests/ExteriorRainVerification.h:19

Test
Checks rain follows relative airflow through climb, slip, pitch and roll; moving with the air leaves gravitational fall.
Source check messages (including original failure wording)

  • rain follows relative airflow through climb, slip, pitch and roll
  • moving with the air leaves only gravitational fall

Verify Rain

Fixture: Exterior rain benchmarks
Case symbol: VerifyRain
Source: Tests/ExteriorRainVerification.h:77

Test
Checks rain targets, MSAA resolve/readback and rendered precipitation comparison.
Source check messages (including original failure wording)

  • verification target description
  • MSAA resolve target
  • verification readback
  • verification clear
  • near object
  • cockpit stencil
  • verification begin
  • verification draw
  • verification end
  • restore depth writes
  • restore cull state
  • restore blend state
  • resolve MSAA particles
  • verification pixels
  • verification lock
  • verification unlock
  • ground coverage fixture
  • maximum liquid rain uses the full storm budget
  • drizzle remains lighter than a downpour
  • maximum rain has substantial parked daytime coverage
  • maximum rain stays visible in the headlight cone
  • save ground rain coverage
  • frame-rate fixture
  • same simulated instant at 30/60/144 FPS
  • visible rain
  • verification particles
  • external camera retains a surrounding rain volume
  • yaw does not rotate the world particle field
  • vertical/banked rain fixture
  • pitch and roll cannot tilt rain gravity
  • E-10 climb fixture
  • climbing rain expands from near straight ahead rather than overhead
  • forward-flight streaks move outward in every screen quadrant
  • visible E-10 climbing rain
  • save E-10 climb preview
  • cloud attenuation preserves nearby rain
  • depth and cockpit occlude particles
  • release device resources
  • recreate particle resources
  • device recreation preserves motion phase
  • device recreation preserves rendered field
  • dry weather has no draw
  • unlit night has no luminous rain
  • unlit transparent rain must not paint dark streaks over the sky
  • headlights illuminate the local rain cone
  • headlight cone fixture
  • forward-mounted lamp still illuminates rain inside its cone
  • rain highlights and streak ends stay within the cloud headlight cone
  • save nose-mounted headlight rain
  • rain behind a forward-mounted lamp is unlit
  • zero headlight range illuminates no rain
  • bounded phase after long flight