Compares logo shader compositing, emissive color and alpha with the reference rendering path.
Subsystem: Rendering, shaders, textures and lighting
Fixture/harness: citylogoshadertests
Setup: The standalone CityLogoShaderTests harness owns the inputs, local helpers and assertion sink used by the case files below.
Build/entry point: Tests/CityLogoShaderTests.vcxproj; declared configurations: Debug|Win32, Release|Win32.
CityLogoShaderTests.cpp
Source: Tests/CityLogoShaderTests.cpp
Image
Fixture: City Logo Shader tests
Case symbol: Image
Source: Tests/CityLogoShaderTests.cpp:9
- Test
- Image: fixture texture9; texture9 lock; texture9 bind.
Source check messages (including original failure wording)
-
fixture texture9
-
texture9 lock
-
texture9 bind
-
fixture texture11
-
fixture view
Expected
Fixture: City Logo Shader tests
Case symbol: Expected
Source: Tests/CityLogoShaderTests.cpp:41
- Test
- Expected: surface alpha preserved for overlay; legacy alpha otherwise.
Source check messages (including original failure wording)
-
emissive lattice RGB equation
-
surface alpha preserved for overlay; legacy alpha otherwise
Entry-point checks
Fixture: City Logo Shader tests
Case symbol: main
Source: Tests/CityLogoShaderTests.cpp:56
- Test
- Compares logo shader compositing, emissive color and alpha with the reference rendering path. This entry point also runs the associated check groups.
Source check messages (including original failure wording)
-
compile city VS
-
compile city PS
-
city shader program
-
independent UV mesh
-
SM3/SM5 city image parity
-
restore UV mesh
ShaderParity11Tests.cpp
Source: Tests/ShaderParity11Tests.cpp
Texture
Fixture: City Logo Shader tests
Case symbol: Texture
Source: Tests/ShaderParity11Tests.cpp:171
- Test
- Texture: create reference texture; lock reference texture; reference effect texture.
Source check messages (including original failure wording)
-
create reference texture
-
lock reference texture
-
reference effect texture
-
create native texture
-
native texture SRV
Volume
Fixture: City Logo Shader tests
Case symbol: Volume
Source: Tests/ShaderParity11Tests.cpp:194
- Test
- Volume: create reference volume; lock reference volume; create native volume.
Source check messages (including original failure wording)
-
create reference volume
-
lock reference volume
-
create native volume
-
native volume SRV
Vector
Fixture: City Logo Shader tests
Case symbol: Vector
Source: Tests/ShaderParity11Tests.cpp:218
- Test
- Vector: reference vector.
Source check messages (including original failure wording)
Configure
Fixture: City Logo Shader tests
Case symbol: Configure
Source: Tests/ShaderParity11Tests.cpp:223
- Test
- Configure: world matrix; reference half-pixel correction; lamp count.
Source check messages (including original failure wording)
-
world matrix
-
reference half-pixel correction
-
lamp count
-
lamp positions
-
lamp directions
-
lamp colors
-
lamp up
-
lamp angles
-
lamp profiles
Save
Fixture: City Logo Shader tests
Case symbol: Save
Source: Tests/ShaderParity11Tests.cpp:323
- Test
- Support check: verifies readback and export of the fixture image used for visual comparison.
Source check messages (including original failure wording)
-
lock image export
-
save image
Debug Check
Fixture: City Logo Shader tests
Case symbol: DebugCheck
Source: Tests/ShaderParity11Tests.cpp:329
- Test
- Support check: inspects graphics debug messages and rejects resource/state errors reported by the fixture.
Source check messages (including original failure wording)
-
native shader debug-layer warnings/errors
Entry-point checks
Fixture: City Logo Shader tests
Case symbol: main
Source: Tests/ShaderParity11Tests.cpp:345
- Test
- Compares native shader output with legacy reference rendering. This entry point also runs the associated check groups.
Source check messages (including original failure wording)
-
create native program
-
create native baseline
-
native baseline pixels must match exactly
-
material image parity (see metrics and images)