acdream/tests/AcDream.App.Tests/Rendering/Gpu/Vk
Erik 15ed57a1e7 fix(rendering): carry retail SetSurface state to detail draws
Resolve exact SetSurface blend, alpha-test, and fog state once during extraction and preserve it through recipe-10 prepared payloads, Wb/EnvCell command data, Vulkan pipelines, push constants, and both ordinary/atmospheric one-pass shaders. Preserve AP-240 Wb pure-Clip immediate opaque/A2C while EnvCell uses retail premultiplied Clip; detail-off routing remains unchanged. Correct AP-232 and register the remaining detail-off state divergence.

Mutation first failures (all restored):
- raw Add->SRCALPHA/ONE: WalkStaticStreamPopulatorTests.ImmediateBuildingDetail_UsesExactResolvedSetSurfaceState line 1278, expected wb-mesh-raw-additive-1x.
- inverse-add->alpha-add: same test line 1278, expected wb-mesh-inverse-additive-1x.
- remove Env inverse: EnvCellAlphaDrawSourceTests.DetailOn_EveryEnvCellFamilyDrawsOnceInPlaceWithAuthoredOpacity line 132, expected envcell-inverse.
- raw IsAdditive precedence: same test line 132, Translucent|Clip|Additive expected envcell-alpha.
- Wb paletted ParamB=0: OrderPreservingSubmitterTests line 333, expected 0.392156869.
- Wb DDS ParamB=0.05: same test line 333, expected 0.784313738.
- disable Alpha+Clip test: WalkStaticStreamPopulatorTests line 1286, expected 0.784313738.
- always fog raw Add: same test line 1287, expected no-fog true.
- disable fog non-Add: same test line 1287, expected no-fog false.
- X=a*qA: RetailDetailTextureContractTests line 261, shared squared-alpha substring absent.
- X includes base alpha: same test line 262, forbidden baseTexel.a present.
- CLIP uses 0.05: EnvCellAlphaDrawSourceTests.ClipShaders_UseGreaterEqualForThePerRangeReference line 367.
- second detail draw: EnvCell detail-on line 131, collection contained 2 draws.
- straight-alpha substitute: Wb immediate line 1278, expected wb-mesh-additive-1x.
- omit ordered detail arm: OrderPreservingSubmitterTests line 318, expected (77,3.5), got (0,0).
- omit atmospheric combine: RetailDetailTextureContractTests line 260, shared include absent.
- drop serialized opacity: ObjectMeshDataSerializerTests line 292, expected opacity bits, got 1.0.
- stale detail arm: atmospheric adjacency line 402, expected slot 0, got 77.
- per-frame surface map: EnvCell warmed allocation line 285, expected 0 B, got 204800 B.
2026-09-05 02:03:13 +02:00
..
BlockCompressionTests.cs feat(render): Campaign V slice V6b - Vulkan textures, mips, samplers and the descriptor table 2026-07-28 07:49:40 +02:00
VulkanActiveDeviceProbeTests.cs feat(render): Campaign V slice V5 - Vulkan bring-up, dark 2026-07-28 07:11:50 +02:00
VulkanBindingScopeArenaTests.cs feat(render): Campaign V slice V6i-1 - one descriptor set per renderer scope 2026-07-28 13:17:25 +02:00
VulkanBringUpBudgetTests.cs ci(render): Campaign V slice V9 - the Vulkan gate runs on lavapipe 2026-07-28 20:10:01 +02:00
VulkanCapabilityGateTests.cs feat(render): implement Campaign AR and terrain fidelity 2026-08-22 13:13:29 +02:00
VulkanCapabilityReportContractTests.cs test: remove exact duplicate coverage 2026-08-18 12:36:41 +02:00
VulkanDeviceSelectionTests.cs feat(render): Campaign V slice V5 - Vulkan bring-up, dark 2026-07-28 07:11:50 +02:00
VulkanDirectionalMultiviewContractTests.cs feat(render): implement Campaign AR and terrain fidelity 2026-08-22 13:13:29 +02:00
VulkanDrawBindingStateTests.cs test(ci): harden scheduling and allocation gates 2026-08-27 19:28:10 +02:00
VulkanFrameFlightTests.cs feat(render): Campaign V slice V6a - Vulkan memory, buffers, rings and the frame timeline 2026-07-28 07:36:15 +02:00
VulkanGraphicsContextAcquisitionTests.cs feat(render): implement Campaign AR and terrain fidelity 2026-08-22 13:13:29 +02:00
VulkanHostStorageVisibilityTests.cs feat(render): implement Campaign AR and terrain fidelity 2026-08-22 13:13:29 +02:00
VulkanMemoryModelTests.cs feat(render): Campaign V slice V6a - Vulkan memory, buffers, rings and the frame timeline 2026-07-28 07:36:15 +02:00
VulkanRenderFailurePolicyTests.cs feat(render): implement Campaign AR and terrain fidelity 2026-08-22 13:13:29 +02:00
VulkanShaderDescriptorContractTests.cs fix(render): S3 chunk 4 round 2 — draw-gate condition pinned, scissor and terrain-clip stacks deleted, one outside-view slice constructor 2026-09-03 16:18:27 +02:00
VulkanShaderManifestTests.cs fix(rendering): carry retail SetSurface state to detail draws 2026-09-05 02:03:13 +02:00
VulkanSwapchainConfigurationTests.cs feat(render): Campaign V slice V5 - Vulkan bring-up, dark 2026-07-28 07:11:50 +02:00
VulkanViewportMappingTests.cs fix(rendering): carry retail SetSurface state to detail draws 2026-09-05 02:03:13 +02:00
VulkanWorldPassScopeTests.cs feat(render): implement Campaign AR and terrain fidelity 2026-08-22 13:13:29 +02:00