Compares native shader output with legacy reference rendering.
Subsystem: Rendering, shaders, textures and lighting
Fixture/harness: shaderparity11tests
Setup: Explicit setup symbols: Fixture. The standalone ShaderParity11Tests 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/ShaderParity11Tests.vcxproj; declared configurations: Debug|Win32, Release|Win32, Release|x64.
ShaderParity11Tests.cpp
Source: Tests/ShaderParity11Tests.cpp
Texture
Fixture: Shader Parity11 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: Shader Parity11 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: Shader Parity11 tests
Case symbol: Vector
Source: Tests/ShaderParity11Tests.cpp:218
- Test
- Vector: reference vector.
Source check messages (including original failure wording)
Configure
Fixture: Shader Parity11 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: Shader Parity11 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: Shader Parity11 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: Shader Parity11 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)