Rise
The Vieneo Province
Loading...
Searching...
No Matches
Client Renderer11 tests

Checks native render resources, UI drawing, lighting and device shutdown lifetime.

Subsystem: Rendering, shaders, textures and lighting
Fixture/harness: clientrenderer11tests
Setup: The standalone ClientRenderer11Tests harness owns the inputs, local helpers and assertion sink used by the case files below.

Build/entry point: Tests/ClientRenderer11Tests.vcxproj; declared configurations: Debug|Win32, Release|Win32, Release|x64.

ClientRenderer11Tests.cpp

Source: Tests/ClientRenderer11Tests.cpp

Debug Clean

Fixture: Client Renderer11 tests
Case symbol: DebugClean
Source: Tests/ClientRenderer11Tests.cpp:28

Test
Support check: inspects graphics debug messages and rejects resource/state errors reported by the fixture.
Source check messages (including original failure wording)

  • read debug message
  • D3D11 debug layer is clean

Check Encoded Image

Fixture: Client Renderer11 tests
Case symbol: CheckEncodedImage
Source: Tests/ClientRenderer11Tests.cpp:63

Test
Check Encoded Image: capture retains color channels and crop origin.
Source check messages (including original failure wording)

  • capture decoder factory
  • capture decoder stream
  • encoded capture stream
  • decode captured image
  • capture image frame
  • capture dimensions
  • capture crop dimensions
  • capture pixel converter
  • capture BGRA pixels
  • capture decoded pixels
  • capture retains color channels and crop origin

City Night Lighting

Fixture: Client Renderer11 tests
Case symbol: CityNightLighting
Source: Tests/ClientRenderer11Tests.cpp:82

Test
City Night Lighting: volumetric lighting preserves the weather night-light control; disable unrelated city lighting; district power selects city light layer.
Source check messages (including original failure wording)

  • volumetric lighting preserves the weather night-light control
  • city light fixture depth
  • city light fixture culling
  • city light fixture lighting
  • city quad
  • lock city quad
  • upload city quad
  • bind city quad
  • city quad layout
  • city world
  • city projection
  • disable landing lights
  • disable unrelated city lighting
  • load actual city facade
  • load actual city light layer
  • bind city facade
  • city weather illumination
  • city night-light blend
  • clear city frame
  • district power selects city light layer
  • begin city material
  • city near/far pass
  • draw city facade
  • end city pass
  • end city material
  • district power loss removes the light layer on the next draw
  • powered city windows illuminate at night/twilight and fade in daylight

Runway Light Sprites

Fixture: Client Renderer11 tests
Case symbol: RunwayLightSprites
Source: Tests/ClientRenderer11Tests.cpp:138

Test
Runway Light Sprites: approach light remains visible with world culling; world winding does not change point sprite pixels; point sprite preserves caller culling state.
Source check messages (including original failure wording)

  • begin runway light fixture
  • unlit runway lights
  • runway fixture depth
  • runway point sprites
  • runway sprite size
  • runway additive blend
  • runway source blend
  • runway destination blend
  • white approach light
  • runway light color
  • actual running-light texture
  • bind runway light texture
  • running-light vertex format
  • inherited world culling
  • clear approach light frame
  • draw approach light point
  • approach light remains visible with world culling
  • world winding does not change point sprite pixels
  • read culling after point
  • point sprite preserves caller culling state
  • solid triangle probe
  • clear triangle probe
  • triangle after point sprite
  • triangle culling survives point sprite draw
  • restore runway texture
  • signal extinction culling
  • baseline attenuated signal color
  • clear signal extinction frame
  • draw attenuated signal
  • single extinction preserves clear-air pixels
  • normal flight applies signal transmission once
  • simulator pixels exactly match the packed baseline after normal flight
  • leaving the simulator immediately restores single extinction
  • zero transmission emits no signal light
  • faint transmitted signal survives color quantization
  • ordinary texture-factor setter restores subsequent draws
  • finish runway light fixture

Runway Edge Sources

Fixture: Client Renderer11 tests
Case symbol: RunwayEdgeSources
Source: Tests/ClientRenderer11Tests.cpp:224

Test
Runway Edge Sources: edge core stays in the painted shoulder strip; edge core stays between thresholds; edge source sits at an actual DDS core center.
Source check messages (including original failure wording)

  • edge core stays in the painted shoulder strip
  • edge core stays between thresholds
  • edge source sits at an actual DDS core center
  • edge sources follow both terrain subdivisions without flattening their height
  • the ground texture defines fifty lights on each runway edge
  • minimum pixel coverage still fades distant edge lights
  • edge points share the ground texture's daylight fade
  • edge source sample configuration
  • begin edge source fixture
  • unlit core color reference
  • core reference depth
  • core reference culling
  • unblended core reference
  • sample the DDS directly
  • actual edge DDS color
  • core reference bilinear magnification
  • core reference bilinear minification
  • authored core mip
  • load the production runway ground-light DDS
  • bind core reference texture
  • core reference vertex format
  • clear core reference
  • render exact texture core reference
  • authored edge-light core has visible color
  • clear transmitted edge source
  • draw native edge source
  • edge source keeps DDS hue with normal-flight T or simulator T-squared extinction
  • edge batch restores the caller's raster/depth/blend state
  • edge sources preserve scene alpha
  • clear subpixel motion fixture
  • draw moving distant edge core
  • subpixel motion keeps edge-light energy stable
  • opaque terrain in front of edge source
  • draw hidden edge source
  • terrain occludes the complete edge source
  • clear edge depth-write probe
  • edge source before later geometry
  • retain depth after edge source
  • test later geometry against scene depth
  • geometry behind the previous edge source
  • edge sources do not write depth or corrupt subsequent draws
  • clear multi-instance edge batch
  • draw two differently attenuated edge instances
  • one batch retains distinct light positions and intensities
  • end runway edge fixture
  • restore suite sample count

Windshield Elmo Overlay

Fixture: Client Renderer11 tests
Case symbol: WindshieldElmoOverlay
Source: Tests/ClientRenderer11Tests.cpp:325

Test
Windshield Elmo Overlay: St. Elmo emission stays inside its windshield region and preserves outside color; inactive/retired overlays, cockpit surfaces and foreground wipers preserve the scene; finish windshield overlay fixture.
Source check messages (including original failure wording)

  • begin windshield overlay fixture
  • windshield fixture culling
  • enable windshield blend
  • Elmo source blend
  • Elmo world complement
  • preserve cockpit mask
  • windshield quad
  • lock windshield quad
  • upload windshield quad
  • bind windshield quad
  • windshield quad layout
  • windshield projection
  • Elmo fixture texture
  • write Elmo fixture
  • upload Elmo fixture
  • bind Elmo texture
  • Elmo windshield region
  • clear world and cockpit mask
  • windshield overlay mode
  • begin windshield material
  • windshield material pass
  • draw overlay through production cockpit mask
  • end windshield pass
  • end windshield material
  • St. Elmo emission stays inside its windshield region and preserves outside color
  • inactive/retired overlays, cockpit surfaces and foreground wipers preserve the scene
  • finish windshield overlay fixture

Exercise

Fixture: Client Renderer11 tests
Case symbol: Exercise
Source: Tests/ClientRenderer11Tests.cpp:397

Test
Exercise: subviewport clear preserves surrounding pixels and alpha; engine draw reaches native scene; restored geometry and layout draw.
Source check messages (including original failure wording)

  • begin frame
  • clear scene
  • cockpit depth viewport
  • partial viewport clear
  • subviewport clear preserves surrounding pixels and alpha
  • restore full viewport
  • clear for authored geometry
  • unlit geometry
  • disable depth
  • disable stencil
  • disable cull
  • diffuse RGB
  • diffuse alpha
  • diffuse RGB source
  • diffuse alpha source
  • create engine geometry
  • edit authored geometry
  • unlock authored geometry
  • authored screen layout
  • bind engine geometry
  • draw engine geometry
  • engine draw reaches native scene
  • save engine draw state
  • unbind geometry
  • change layout
  • restore engine draw state
  • restored geometry and layout draw
  • instrument texture
  • map instrument pixels
  • upload instrument pixels
  • map image subrectangle
  • upload image subrectangle
  • read image
  • subrectangle preserves surrounding image
  • subrectangle updates intended pixel
  • finish image read
  • end scene before instrument pass
  • native instrument surface
  • native instrument pass
  • begin instrument pass
  • paint instrument
  • end instrument pass
  • read restored viewport
  • instrument pass restores scene target and viewport
  • resume scene
  • clear sprite destination
  • encode instrument crop
  • capture scene surface
  • capture region viewport
  • capture colored region
  • capture restore viewport
  • encode RGBA scene crop
  • MSAA capture target
  • MSAA capture surface
  • encode MSAA color resolve
  • load original BITMAP resource
  • bitmap dimensions
  • bitmap resource produces native image
  • load compressed city texture with generated mipmaps
  • city texture description
  • city texture retains authored dimensions and compression with complete mipmaps
  • load authored landing mat crop
  • landing mat dimensions
  • landing mat preserves the reference loader crop and compression
  • native game sprite
  • instrument sprite scale
  • begin instrument sprite
  • draw instrument texture
  • finish instrument sprite
  • render-to-texture instrument appears in scene
  • begin sprite batch around immediate GUI geometry
  • interleaved GUI rectangle changes index and vertex buffers
  • clear interleaved geometry
  • queue sprites after GUI geometry
  • restore sprite buffers after interleaved rectangle
  • queued sprites survive an intervening geometry draw
  • clear custom blend destination
  • custom sprite blending enabled
  • custom source blend
  • custom destination blend
  • begin sprite inheriting game blend
  • draw custom blended sprite
  • finish custom blend
  • sprite without alpha flag retains caller blend equation
  • clear dynamic sprite clipping
  • begin instrument clipping batch
  • change clip during sprite batch
  • enable clip during sprite batch
  • clipped instrument draw
  • flush clipped instrument
  • instrument clip applies within the active batch
  • disable active clip
  • unclipped instrument draw
  • finish dynamic clipping
  • next sprite uses restored clipping
  • write wrap fixture
  • upload wrap fixture
  • unscaled wrap fixture
  • begin login cloud wrap batch
  • sprite wrap inside batch
  • sprite point min filter
  • sprite point mag filter
  • draw repeated source rectangle
  • flush repeated image
  • restore sprite clamp
  • draw clamped source rectangle
  • end wrapping batch
  • login cloud wrap and restore affect the current sprite batch
  • native game font
  • font layout without sprite
  • font automatically owns its native sprite
  • begin scene materials
  • all production TShader passes available
  • game state inside material block
  • end scene materials
  • read game state after material block
  • material end preserves caller render-state changes
  • create building material fixture
  • lock building fixture
  • upload building fixture
  • bind building fixture
  • building vertex layout
  • building matrix
  • retain earlier pass two-dimensional auxiliary image
  • begin far building effect
  • select far building material
  • far building tolerates a 2D auxiliary image left by another pass
  • end far building material
  • end building fixture effect
  • create vehicle material fixture
  • lock vehicle fixture
  • upload vehicle fixture
  • bind vehicle fixture
  • vehicle hull and overlay coordinate layout
  • begin vehicle effect
  • select below or above cloud vehicle material
  • vehicle material accepts both authored coordinate sets
  • end vehicle material
  • end vehicle fixture effect
  • finish test scene
  • resize for native controls
  • create native button
  • create native edit control
  • create native checkbox
  • create native slider
  • create native combo
  • populate native combo
  • create native control fonts and atlas
  • create native UI saved state
  • begin native UI frame
  • clear native UI scene
  • render native controls
  • end native UI frame
  • native controls paint visible atlas and text
  • edit control text survives native port
  • create nested dialog control
  • begin multi-dialog frame
  • clear multi-dialog frame
  • disable overlay depth
  • world culling before overlay batch
  • cockpit stencil before overlay batch
  • world stencil excludes screen overlays
  • enable overlay blend
  • overlay source alpha
  • overlay destination alpha
  • unscaled dialog frame sprites
  • begin shared dialog frame batch
  • queue dialog frame
  • flush frame before nested controls
  • render nested dialog controls
  • queue overlay after dialogs
  • finish dialogs and overlay
  • end multi-dialog frame
  • every dialog frame survives nested control state restoration
  • overlay drawn after dialogs remains visible

Shutdown Lifetime Tests

Fixture: Client Renderer11 tests
Case symbol: ShutdownLifetimeTests
Source: Tests/ClientRenderer11Tests.cpp:599

Test
Shutdown Lifetime Tests: game cleanup retains the graphics context; leave texture mapped at shutdown; callbacks stop before game resource destruction.
Source check messages (including original failure wording)

  • game cleanup retains the graphics context
  • create shutdown test window
  • create shutdown texture
  • leave texture mapped at shutdown
  • callbacks stop before game resource destruction
  • shutdown callbacks run exactly once
  • final shutdown releases the device
  • create abandoned mapping test window
  • create abandoned mapping texture
  • map abandoned texture

Entry-point checks

Fixture: Client Renderer11 tests
Case symbol: main
Source: Tests/ClientRenderer11Tests.cpp:635

Test
Checks native render resources, UI drawing, lighting and device shutdown lifetime. This entry point also runs the associated check groups.
Source check messages (including original failure wording)

  • create native test window
  • exact test viewport

IomereLighting11Tests.h

Source: Tests/IomereLighting11Tests.h

Iomere Lighting

Fixture: Client Renderer11 tests
Case symbol: IomereLighting
Source: Tests/IomereLighting11Tests.h:3

Test
Iomere Lighting: Iomere normalized surface normals; Iomere restores observer weather lighting; sun-facing Iomere receives unobstructed sunlight.
Source check messages (including original failure wording)

  • Iomere fixture depth
  • Iomere fixture stencil
  • Iomere fixture culling
  • Iomere normalized surface normals
  • Iomere illumination probe
  • Iomere diffuse probe
  • Iomere probe alpha
  • Iomere diffuse alpha
  • Iomere diffuse material
  • Iomere probe mesh
  • lock Iomere mesh
  • upload Iomere mesh
  • observer weather light
  • enable sun
  • clear Iomere probe
  • Iomere camera
  • Iomere projection
  • Iomere restores observer weather lighting
  • sun-facing Iomere receives unobstructed sunlight
  • Iomere sunlight is independent of observer night/clouds
  • Iomere night side remains dark
  • Iomere retains cosine surface shading
  • panning the camera does not change Iomere surface illumination
  • far-plane compression preserves Iomere illumination
  • foreground atmosphere still attenuates Iomere
  • Iomere remains excluded from simulator
  • below-cloud visibility gate is preserved
  • Iomere returns correctly after simulator/visibility transitions

ShipLightSprite11Tests.h

Source: Tests/ShipLightSprite11Tests.h

Ship Light Sprite Tests

Fixture: Client Renderer11 tests
Case symbol: ShipLightSpriteTests
Source: Tests/ShipLightSprite11Tests.h:2

Test
Ship Light Sprite Tests: visible strobe retains its diameter from a grazing or tail camera; navigation bulbs are omnidirectional; beacon visibility is not restricted to an emission cone.
Source check messages (including original failure wording)

  • ship flare viewport
  • begin ship flare fixture
  • shared ship flare texture
  • ship light vertex layout
  • ship flare depth test
  • fixture stencil
  • white strobe
  • external camera projection
  • clear ship flare frame
  • ship flare diameter
  • shared point billboard draw
  • flare capture surface
  • save flare GPU image
  • visible strobe retains its diameter from a grazing or tail camera
  • navigation bulbs are omnidirectional
  • beacon visibility is not restricted to an emission cone
  • only beams retain their directional angular falloff
  • orbit external camera
  • reproduce old native clamp
  • near ship flare retains its authored extent instead of the 64-pixel clamp
  • flare texture has transparent dark borders, not a solid billboard
  • flare stays camera-facing while orbiting the ship
  • ship flare remains bounded to 256 pixels
  • intervening opaque hull or building occludes ship flare
  • dirty point UV state
  • dirty blend state
  • dirty alpha test
  • reject stale alpha
  • dirty flare texture argument
  • dirty second texture stage
  • dirty second stage argument
  • ship flare explicitly establishes texture, billboard and blend state
  • strobe has a substantially broader bright core
  • strobe retains a strong soft halo
  • exposed strobe remains bright across camera directions
  • strobe glare restores subsequent ordinary navigation lamp pixels
  • ordinary bulbs retain baseline flare brightness
  • opaque cloud or fog completely extinguishes even a saturated strobe
  • hull and buildings still occlude strong strobe glare
  • cloud transmission applies once, including the saturated strobe core
  • red navigation lamp
  • navigation lamp also uses the flare texture
  • navigation flare retains authored red color
  • finish ship flare fixture
  • restore client test viewport

ThrustConeBlend11Tests.h

Source: Tests/ThrustConeBlend11Tests.h

Thrust Cone Blending

Fixture: Client Renderer11 tests
Case symbol: ThrustConeBlending
Source: Tests/ThrustConeBlend11Tests.h:5

Test
Thrust Cone Blending: deferred exhaust excludes simulator and legacy path; authored cone IDs and original all-components path; exactly one draw pass per component.
Source check messages (including original failure wording)

  • deferred exhaust excludes simulator and legacy path
  • authored cone IDs and original all-components path
  • exactly one draw pass per component
  • orbital exhaust in front of clouds retains authored alpha
  • dense cloud suppresses exhaust behind the layer
  • exhaust MSAA target
  • cone test culling
  • cone test stencil
  • opaque hull depth
  • opaque hull writes
  • cone vertex layout
  • cone fixture buffer
  • cone lock
  • cone upload
  • cone stream
  • cone texture
  • cone texture lock
  • cone texture upload
  • authored cone alpha texture
  • cone world
  • cone projection
  • cloud backdrop
  • cone cloak
  • cone throttle
  • old opaque cone depth
  • cone begin
  • actual cone shader
  • cone draw
  • cone end pass
  • cone end
  • cone state restore
  • overlay restores caller depth writes
  • zero throttle leaves cloud pixels untouched
  • zero cloak alpha leaves cloud pixels untouched
  • foreground opaque hull hides exhaust
  • half-alpha exhaust blends with white clouds
  • partial cloud transmission attenuates cone alpha once
  • retain depth after cone
  • surface behind cone
  • depth probe begin
  • depth probe shader
  • farther depth probe
  • probe end pass
  • probe end
  • reset cone projection
  • restore test target samples

CockpitInteriorRenderFixture.h

Source: Tests/CockpitInteriorRenderFixture.h

Cockpit Interiors

Fixture: Client Renderer11 tests
Case symbol: CockpitInteriors
Source: Tests/CockpitInteriorRenderFixture.h:3

Test
Checks authored cockpit-interior mesh buffers and their rendering integration.
Source check messages (including original failure wording)

  • interior mesh buffer
  • lock interior mesh
  • upload interior mesh
  • interior wall texture
  • lock interior texture
  • upload interior texture
  • begin interior regression
  • interior fixture winding
  • interior stencil enabled
  • aircraft fixture unlit
  • aircraft fixture color
  • aircraft fixture solid color
  • aircraft fixture factor
  • aircraft fixture opacity
  • aircraft fixture alpha factor
  • clear interior fixture
  • aircraft stencil
  • preceding geometry format
  • draw aircraft before room
  • building interior paints its wall texture
  • interior preserves the aircraft in front of the room
  • windowless and windowed interior paths agree
  • aircraft layout does not alter surrounding interior pixels
  • room remains visible around the aircraft
  • finish interior regression