Rise
The Vieneo Province
Loading...
Searching...
No Matches
Program Binding11 tests

Compares cached program binding with reference bindings and verifies state preservation.

Subsystem: Rendering, shaders, textures and lighting
Fixture/harness: programbinding11tests
Setup: Explicit setup symbols: Fixture. The standalone ProgramBinding11Tests 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/ProgramBinding11Tests.vcxproj; declared configurations: Debug|Win32, Release|Win32.

ProgramBinding11Tests.cpp

Source: Tests/ProgramBinding11Tests.cpp

Create

Fixture: Program Binding11 tests
Case symbol: Create
Source: Tests/ProgramBinding11Tests.cpp:77

Test
Create: create cached program; create reference program.
Source check messages (including original failure wording)

  • create cached program
  • create reference program

Compare

Fixture: Program Binding11 tests
Case symbol: Compare
Source: Tests/ProgramBinding11Tests.cpp:115

Test
Compare: all constant bytes match previous binder; all pixels match previous binder.
Source check messages (including original failure wording)

  • reference bind
  • cached bind
  • all constant bytes match previous binder
  • all pixels match previous binder

Verify

Fixture: Program Binding11 tests
Case symbol: Verify
Source: Tests/ProgramBinding11Tests.cpp:124

Test
Verify: invalid input rejected on retry.
Source check messages (including original failure wording)

  • short matrix rejected
  • invalid input rejected on retry
  • oversized late array rejected

Clean

Fixture: Program Binding11 tests
Case symbol: Clean
Source: Tests/ProgramBinding11Tests.cpp:173

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
  • clean D3D11 debug layer

Verify Resources

Fixture: Program Binding11 tests
Case symbol: VerifyResources
Source: Tests/ProgramBinding11Tests.cpp:185

Test
Verify Resources: resource bindings preserved after invalidation.
Source check messages (including original failure wording)

  • resource VS
  • resource PS
  • resource program
  • resource reference
  • 2D resource
  • 3D resource
  • 2D view
  • 3D view
  • resource sampler
  • resource validation preserved
  • resource bindings preserved after invalidation

Verify Resource Ranges

Fixture: Program Binding11 tests
Case symbol: VerifyResourceRanges
Source: Tests/ProgramBinding11Tests.cpp:249

Test
Verify Resource Ranges: bulk resource validation matches baseline; bulk binding preserves all slots and holes; bulk resource pixels match baseline exactly.
Source check messages (including original failure wording)

  • range VS
  • range PS
  • range program
  • range reference
  • range texture
  • range view
  • range invalid dimension
  • range volume view
  • range sampler
  • bulk resource validation matches baseline
  • bulk binding preserves all slots and holes
  • bulk resource pixels match baseline exactly

Benchmark

Fixture: Program Binding11 tests
Case symbol: Benchmark
Source: Tests/ProgramBinding11Tests.cpp:406

Test
Benchmark: shipping benchmark bytecode exists; baseline benchmark bytecode exists.
Source check messages (including original failure wording)

  • shipping benchmark bytecode exists
  • baseline benchmark bytecode exists

Entry-point checks

Fixture: Program Binding11 tests
Case symbol: main
Source: Tests/ProgramBinding11Tests.cpp:449

Test
Compares cached program binding with reference bindings and verifies state preservation. This entry point also runs the associated check groups.
Source check messages (including original failure wording)

  • both layout shader directories are required