Checks mip generation, reference filtering and constrained cockpit textures.
Subsystem: Rendering, shaders, textures and lighting
Fixture/harness: texturemip11tests
Setup: The standalone TextureMip11Tests harness owns the inputs, local helpers and assertion sink used by the case files below.
Build/entry point: Tests/TextureMip11Tests.vcxproj; declared configurations: Debug|Win32, Release|Win32.
TextureMip11Tests.cpp
Source: Tests/TextureMip11Tests.cpp
Check Mip Fixtures
Fixture: Texture Mip11 tests
Case symbol: CheckMipFixtures
Source: Tests/TextureMip11Tests.cpp:43
- Test
- Check Mip Fixtures: encoded mip chain matches original BOX filter.
Source check messages (including original failure wording)
-
boundary fixture generation
-
encoded mip chain matches original BOX filter
Check Constrained Cockpit Texture
Fixture: Texture Mip11 tests
Case symbol: CheckConstrainedCockpitTexture
Source: Tests/TextureMip11Tests.cpp:82
- Test
- Check Constrained Cockpit Texture: unrestricted cockpit mip generation; cockpit glass mips match original loader; cockpit mip generation with 12 MiB allocation limit.
Source check messages (including original failure wording)
-
cockpit glass fixture exists
-
unrestricted cockpit mip generation
-
cockpit glass mips match original loader
-
cockpit mip generation with 12 MiB allocation limit
-
constrained texture is byte-identical
-
allocation failure returns E_OUTOFMEMORY without a partial DDS
-
single-level glass needs no mip workspace
Entry-point checks
Fixture: Texture Mip11 tests
Case symbol: main
Source: Tests/TextureMip11Tests.cpp:116
- Test
- Checks mip generation, reference filtering and constrained cockpit textures. This entry point also runs the associated check groups.
Source check messages (including original failure wording)
-
test window
-
reference device
-
native mip generation
-
reference texture creation
-
read native DDS chain
-
complete mip count matches reference
-
mip sizes match
-
native DDS preserves texture filter/compression appearance
-
authored complete chain remains untouched