Add D3D12 temporal diagnostic targets

This commit is contained in:
Meta Vens 2026-05-09 17:02:12 +01:00
commit c7b4d402c3
7 changed files with 160 additions and 8 deletions

View file

@ -41,6 +41,11 @@ has feature parity.
downsample plus separable blur, and final presentation applies exposure,
bloom/veil, and ACES. Debug mode `7` shows bloom and `8` shows exposed
luminance.
- The D3D12 scene pass writes the first temporal diagnostic spine: color/travel,
field id/normal metadata, and temporal control render targets. The present
shader can inspect current temporal control in debug mode `5` and field
identity in debug mode `6`. History ping-pong and reprojection are still
pending; these targets are the buffers that make that work honest.
- Resize waits for the GPU, releases swapchain-dependent resources, rebuilds
static shader/RTV descriptor arenas, then recreates backbuffer views and
dependent render targets. Descriptor exhaustion on resize is no longer a

View file

@ -91,8 +91,10 @@ medium transport. Grid transparency contributes to the froxel medium as a thin
binned transparent-surface layer, not as an alpha-blended surface or scene-depth
terminator. That binned Grid layer now carries cartesian gridlines, height
isolines, and gradient-angle field lines. D3D12 also owns an HDR scene target
and bloom/present pass. The full temporal resolve and overlay/debug UI still
need to move.
and bloom/present pass. Its scene pass now writes color/travel,
field-id/normal metadata, and temporal-control targets, with debug modes `5`
and `6` inspecting the current control and identity buffers. The full temporal
history ping-pong/reprojection and overlay/debug UI still need to move.
The shader far distance is frame-derived, not a fixed constant. C# sends the
distance from the camera to the Grid origin plus the Grid radius, which matches

View file

@ -67,6 +67,8 @@ public sealed class D3D12Renderer : IAquariumRenderer
private D3D12RenderTarget mediumVolumeRenderTarget;
private D3D12RenderTarget mediumTransportRenderTarget;
private D3D12RenderTarget sceneRenderTarget;
private D3D12RenderTarget sceneMetadataRenderTarget;
private D3D12RenderTarget sceneControlRenderTarget;
private readonly D3D12RenderTarget[] bloomRenderTargets = new D3D12RenderTarget[BloomLevelCount];
private readonly D3D12RenderTarget[] bloomScratchTargets = new D3D12RenderTarget[BloomLevelCount];
private readonly D3D12StructuredBuffer froxelPrimitiveBuffer;
@ -144,6 +146,8 @@ public sealed class D3D12Renderer : IAquariumRenderer
mediumVolumeRenderTarget = CreateMediumVolumeRenderTarget("medium-volume-target", "Aquarium D3D12 Medium Volume Target");
mediumTransportRenderTarget = CreateMediumVolumeRenderTarget("medium-transport-target", "Aquarium D3D12 Medium Transport Target");
sceneRenderTarget = CreateSceneRenderTarget();
sceneMetadataRenderTarget = CreateSceneAuxiliaryRenderTarget("scene-metadata-target", "Aquarium D3D12 Scene Metadata Target");
sceneControlRenderTarget = CreateSceneAuxiliaryRenderTarget("scene-control-target", "Aquarium D3D12 Scene Control Target");
CreateBloomRenderTargets();
froxelPrimitiveBuffer = new D3D12StructuredBuffer(device, FroxelBufferElementCount, Marshal.SizeOf<Int4>(), "Aquarium D3D12 Froxel Primitive Buffer");
fieldInstanceBuffer = new D3D12StructuredBuffer(device, FieldInstanceCount, Marshal.SizeOf<FieldInstanceGpu>(), "Aquarium D3D12 Field Instance Buffer");
@ -292,6 +296,10 @@ public sealed class D3D12Renderer : IAquariumRenderer
transparentSurfaceBuffer.CreateShaderResourceView(device, frameResources.TransparentSurfaceDescriptor);
frameResources.SceneDescriptor = frameResources.TransientShaderDescriptors.Allocate();
sceneRenderTarget.CreateShaderResourceView(device, frameResources.SceneDescriptor);
frameResources.SceneMetadataDescriptor = frameResources.TransientShaderDescriptors.Allocate();
sceneMetadataRenderTarget.CreateShaderResourceView(device, frameResources.SceneMetadataDescriptor);
frameResources.SceneControlDescriptor = frameResources.TransientShaderDescriptors.Allocate();
sceneControlRenderTarget.CreateShaderResourceView(device, frameResources.SceneControlDescriptor);
for (var level = 0; level < BloomLevelCount; level++)
{
frameResources.BloomDescriptors[level] = frameResources.TransientShaderDescriptors.Allocate();
@ -362,6 +370,8 @@ public sealed class D3D12Renderer : IAquariumRenderer
transparentSurfaceIndexBuffer.Dispose();
DisposeBloomRenderTargets();
sceneRenderTarget.Dispose();
sceneMetadataRenderTarget.Dispose();
sceneControlRenderTarget.Dispose();
mediumTransportRenderTarget.Dispose();
mediumVolumeRenderTarget.Dispose();
gridHeightRenderTarget.Dispose();
@ -410,11 +420,15 @@ public sealed class D3D12Renderer : IAquariumRenderer
WaitForGpu();
RemoveBloomRenderTargets();
resourceRegistry.RemoveRenderTarget("scene-hdr-target");
resourceRegistry.RemoveRenderTarget("scene-metadata-target");
resourceRegistry.RemoveRenderTarget("scene-control-target");
resourceRegistry.RemoveRenderTarget("medium-transport-target");
resourceRegistry.RemoveRenderTarget("medium-volume-target");
resourceRegistry.RemoveRenderTarget("grid-height-target");
DisposeBloomRenderTargets();
sceneRenderTarget.Dispose();
sceneMetadataRenderTarget.Dispose();
sceneControlRenderTarget.Dispose();
mediumTransportRenderTarget.Dispose();
mediumVolumeRenderTarget.Dispose();
gridHeightRenderTarget.Dispose();
@ -439,6 +453,8 @@ public sealed class D3D12Renderer : IAquariumRenderer
mediumVolumeRenderTarget = CreateMediumVolumeRenderTarget("medium-volume-target", "Aquarium D3D12 Medium Volume Target");
mediumTransportRenderTarget = CreateMediumVolumeRenderTarget("medium-transport-target", "Aquarium D3D12 Medium Transport Target");
sceneRenderTarget = CreateSceneRenderTarget();
sceneMetadataRenderTarget = CreateSceneAuxiliaryRenderTarget("scene-metadata-target", "Aquarium D3D12 Scene Metadata Target");
sceneControlRenderTarget = CreateSceneAuxiliaryRenderTarget("scene-control-target", "Aquarium D3D12 Scene Control Target");
CreateBloomRenderTargets();
viewport = new Viewport(0.0f, 0.0f, width, height);
scissorRect = new RawRect(0, 0, width, height);
@ -462,6 +478,23 @@ public sealed class D3D12Renderer : IAquariumRenderer
return target;
}
private D3D12RenderTarget CreateSceneAuxiliaryRenderTarget(string registryName, string resourceName)
{
var target = new D3D12RenderTarget(
device,
width,
height,
SceneHdrFormat,
renderTargetViewArena.Allocate(),
staticShaderDescriptorArena.Allocate(),
null,
false,
new Color4(0.0f, 0.0f, 0.0f, 1.0f),
resourceName);
resourceRegistry.Add(registryName, target);
return target;
}
private void CreateBloomRenderTargets()
{
for (var level = 0; level < BloomLevelCount; level++)
@ -551,7 +584,11 @@ public sealed class D3D12Renderer : IAquariumRenderer
mediumVolumeRenderTarget.Transition(context.CommandList, ResourceStates.PixelShaderResource);
mediumTransportRenderTarget.Transition(context.CommandList, ResourceStates.PixelShaderResource);
sceneRenderTarget.Transition(context.CommandList, ResourceStates.RenderTarget);
sceneMetadataRenderTarget.Transition(context.CommandList, ResourceStates.RenderTarget);
sceneControlRenderTarget.Transition(context.CommandList, ResourceStates.RenderTarget);
context.CommandList.ClearRenderTargetView(sceneRenderTarget.RenderTargetView.Cpu, new Color4(0.0f, 0.0f, 0.0f, 1.0f));
context.CommandList.ClearRenderTargetView(sceneMetadataRenderTarget.RenderTargetView.Cpu, new Color4(0.0f, 0.0f, 0.0f, 1.0f));
context.CommandList.ClearRenderTargetView(sceneControlRenderTarget.RenderTargetView.Cpu, new Color4(0.0f, 0.0f, 0.0f, 1.0f));
context.CommandList.SetDescriptorHeaps(frameResources.TransientShaderDescriptors.Heap);
context.CommandList.SetPipelineState(scenePipelineState);
context.CommandList.SetGraphicsRootSignature(fullscreenRootSignature);
@ -562,7 +599,13 @@ public sealed class D3D12Renderer : IAquariumRenderer
context.CommandList.SetGraphicsRootDescriptorTable(5, frameResources.MediumTargetsDescriptor.Gpu);
context.CommandList.RSSetViewports(viewport);
context.CommandList.RSSetScissorRects(scissorRect);
context.CommandList.OMSetRenderTargets(sceneRenderTarget.RenderTargetView.Cpu, null);
context.CommandList.OMSetRenderTargets(
[
sceneRenderTarget.RenderTargetView.Cpu,
sceneMetadataRenderTarget.RenderTargetView.Cpu,
sceneControlRenderTarget.RenderTargetView.Cpu,
],
null);
context.CommandList.IASetPrimitiveTopology(PrimitiveTopology.TriangleList);
context.CommandList.DrawInstanced(3, 1, 0, 0);
}
@ -652,6 +695,12 @@ public sealed class D3D12Renderer : IAquariumRenderer
var pipelineState = showMediumDensity ? mediumDensityDebugPipelineState : presentPipelineState;
sourceTarget.Transition(context.CommandList, ResourceStates.PixelShaderResource);
if (!showMediumDensity)
{
sceneMetadataRenderTarget.Transition(context.CommandList, ResourceStates.PixelShaderResource);
sceneControlRenderTarget.Transition(context.CommandList, ResourceStates.PixelShaderResource);
}
context.BackBuffer.Transition(context.CommandList, ResourceStates.RenderTarget);
context.CommandList.SetDescriptorHeaps(frameResources.TransientShaderDescriptors.Heap);
context.CommandList.SetPipelineState(pipelineState);
@ -661,6 +710,8 @@ public sealed class D3D12Renderer : IAquariumRenderer
if (!showMediumDensity)
{
context.CommandList.SetGraphicsRootDescriptorTable(7, frameResources.BloomPresentationDescriptor.Gpu);
context.CommandList.SetGraphicsRootDescriptorTable(8, frameResources.SceneMetadataDescriptor.Gpu);
context.CommandList.SetGraphicsRootDescriptorTable(9, frameResources.SceneControlDescriptor.Gpu);
}
context.CommandList.RSSetViewports(viewport);
@ -1175,6 +1226,18 @@ public sealed class D3D12Renderer : IAquariumRenderer
9,
0,
D3D12.DescriptorRangeOffsetAppend);
var currentSceneMetadataRange = new DescriptorRange(
DescriptorRangeType.ShaderResourceView,
1,
5,
0,
D3D12.DescriptorRangeOffsetAppend);
var currentSceneControlRange = new DescriptorRange(
DescriptorRangeType.ShaderResourceView,
1,
7,
0,
D3D12.DescriptorRangeOffsetAppend);
var rootParameters = new[]
{
new RootParameter(new RootDescriptorTable([constantBufferRange]), ShaderVisibility.All),
@ -1185,6 +1248,8 @@ public sealed class D3D12Renderer : IAquariumRenderer
new RootParameter(new RootDescriptorTable([mediumTargetRange]), ShaderVisibility.Pixel),
new RootParameter(new RootDescriptorTable([transparentSurfaceRange]), ShaderVisibility.Pixel),
new RootParameter(new RootDescriptorTable([bloomRange]), ShaderVisibility.Pixel),
new RootParameter(new RootDescriptorTable([currentSceneMetadataRange]), ShaderVisibility.Pixel),
new RootParameter(new RootDescriptorTable([currentSceneControlRange]), ShaderVisibility.Pixel),
};
var staticSamplers = new[]
{
@ -1214,7 +1279,7 @@ public sealed class D3D12Renderer : IAquariumRenderer
private ID3D12PipelineState CreateScenePipelineState(string path)
{
return CreateFullscreenPipelineState(path, "FullscreenTriangleVS", "D3D12ScenePS", SceneHdrFormat);
return CreateFullscreenPipelineState(path, "FullscreenTriangleVS", "D3D12ScenePS", [SceneHdrFormat, SceneHdrFormat, SceneHdrFormat]);
}
private ID3D12PipelineState CreateMediumVolumePipelineState(string path)
@ -1549,6 +1614,10 @@ public sealed class D3D12Renderer : IAquariumRenderer
public D3D12DescriptorSlot SceneDescriptor { get; set; }
public D3D12DescriptorSlot SceneMetadataDescriptor { get; set; }
public D3D12DescriptorSlot SceneControlDescriptor { get; set; }
public D3D12DescriptorSlot[] BloomDescriptors { get; } = new D3D12DescriptorSlot[BloomLevelCount];
public D3D12DescriptorSlot[] BloomScratchDescriptors { get; } = new D3D12DescriptorSlot[BloomLevelCount];

View file

@ -23,6 +23,8 @@ cbuffer AquariumFrame : register(b0)
};
Texture2D<float4> sourceTexture : register(t0);
Texture2D<float4> currentSceneMetadataTexture : register(t5);
Texture2D<float4> currentSceneControlTexture : register(t7);
Texture2D<float4> bloomTexture0 : register(t9);
Texture2D<float4> bloomTexture1 : register(t10);
Texture2D<float4> bloomTexture2 : register(t11);
@ -58,6 +60,35 @@ float3 aces(float3 color)
return saturate((color * (a * color + b)) / (color * (c * color + d) + e));
}
float3 debugFieldIdColor(float fieldId)
{
if (fieldId < 0.5)
{
return float3(0.0, 0.0, 0.0);
}
if (abs(fieldId - 1.0) < 0.25)
{
return float3(0.0, 0.9, 1.0);
}
if (abs(fieldId - 2.0) < 0.25)
{
return float3(1.0, 0.92, 0.25);
}
if (fieldId >= 10.0)
{
float phase = frac((fieldId - 10.0) * 0.37);
return 0.35 + 0.65 * float3(
0.5 + 0.5 * sin(phase * 6.28318 + 0.0),
0.5 + 0.5 * sin(phase * 6.28318 + 2.1),
0.5 + 0.5 * sin(phase * 6.28318 + 4.2));
}
return float3(1.0, 0.0, 1.0);
}
float4 D3D12BloomPrefilterPS(VertexOut input) : SV_Target0
{
return float4(sourceTexture.SampleLevel(sourceSampler, input.uv, 0.0).rgb * max(exposure, 0.001), 1.0);
@ -125,6 +156,23 @@ float4 D3D12PresentPS(VertexOut input) : SV_Target0
bloomTexture0.SampleLevel(sourceSampler, input.uv, 0.0).rgb * 0.42 +
bloomTexture1.SampleLevel(sourceSampler, input.uv, 0.0).rgb * 0.34 +
bloomTexture2.SampleLevel(sourceSampler, input.uv, 0.0).rgb * 0.24;
if (renderDebugMode > 0.5 && renderDebugMode < 1.5)
{
return float4(aces(scene), 1.0);
}
if (renderDebugMode >= 4.5 && renderDebugMode < 5.5)
{
float4 control = currentSceneControlTexture.SampleLevel(sourceSampler, input.uv, 0.0);
return float4(saturate(control.xyz), 1.0);
}
if (renderDebugMode >= 5.5 && renderDebugMode < 6.5)
{
float fieldId = currentSceneMetadataTexture.SampleLevel(sourceSampler, input.uv, 0.0).x;
return float4(debugFieldIdColor(fieldId), 1.0);
}
if (renderDebugMode >= 6.5 && renderDebugMode < 7.5)
{
return float4(aces(bloom * bloomIntensity), 1.0);

View file

@ -30,6 +30,8 @@ SamplerState gridSampler : register(s0);
static const int PLANET_COUNT = 5;
static const float SUN_RADIUS = 1.12;
static const float FIELD_ID_GRID = 1.0;
static const float FIELD_ID_SELF = 2.0;
static const float FIELD_ID_PLANET_BASE = 10.0;
static const int MEDIUM_FROXEL_ATLAS_COLUMNS = 8;
static const int MEDIUM_FROXEL_ATLAS_ROWS = 4;
static const int MEDIUM_FROXEL_SLICE_COUNT = MEDIUM_FROXEL_ATLAS_COLUMNS * MEDIUM_FROXEL_ATLAS_ROWS;
@ -40,6 +42,13 @@ struct VertexOut
float2 uv : TEXCOORD0;
};
struct SceneOut
{
float4 colorTravel : SV_Target0;
float4 metadata : SV_Target1;
float4 control : SV_Target2;
};
VertexOut FullscreenTriangleVS(uint vertexId : SV_VertexID)
{
float2 uv = float2((vertexId << 1) & 2, vertexId & 2);
@ -207,7 +216,7 @@ float3 shadeBody(float3 p, float3 normal, int primitiveId)
return albedo * (0.08 + ndl * 1.6);
}
float4 D3D12ScenePS(VertexOut input) : SV_Target0
SceneOut D3D12ScenePS(VertexOut input)
{
float2 screenUv = float2(input.uv.x, 1.0 - input.uv.y);
float2 pixel = screenUv * resolution;
@ -215,12 +224,18 @@ float4 D3D12ScenePS(VertexOut input) : SV_Target0
float travel = farDistance + 1.0;
float3 color = float3(0.001, 0.003, 0.004);
float outputFieldId = 0.0;
float3 outputNormal = 0.0;
float outputCoverage = 0.0;
float hitTravel;
if (traceSphere(cameraPosition, rayDirection, float3(0.0, 0.0, 2.2), SUN_RADIUS, hitTravel))
{
travel = hitTravel;
float3 p = cameraPosition + rayDirection * hitTravel;
color = shadeBody(p, normalize(p - float3(0.0, 0.0, 2.2)), 0);
outputNormal = normalize(p - float3(0.0, 0.0, 2.2));
color = shadeBody(p, outputNormal, 0);
outputFieldId = FIELD_ID_SELF;
outputCoverage = 1.0;
}
[unroll]
@ -232,7 +247,10 @@ float4 D3D12ScenePS(VertexOut input) : SV_Target0
{
travel = hitTravel;
float3 p = cameraPosition + rayDirection * hitTravel;
color = shadeBody(p, normalize(p - center), i + 1);
outputNormal = normalize(p - center);
color = shadeBody(p, outputNormal, i + 1);
outputFieldId = FIELD_ID_PLANET_BASE + (float)i;
outputCoverage = 1.0;
}
}
@ -248,5 +266,9 @@ float4 D3D12ScenePS(VertexOut input) : SV_Target0
color = lerp(float3(0.006, 0.016, 0.026), float3(0.32, 0.86, 1.0), saturate(densityMean * 6.0));
}
return float4(color, 1.0);
SceneOut output;
output.colorTravel = float4(color, min(travel, farDistance + 1.0));
output.metadata = float4(outputFieldId, outputNormal);
output.control = float4(0.0, outputCoverage, saturate(1.0 - transmittance), densityMean);
return output;
}

View file

@ -79,3 +79,4 @@
{"area":"renderer/d3d12","lesson":"Transparent Grid contribution is now routed through an explicit transparent-surface table and froxel-binned transparent surface id buffer. The medium pass resolves transparent surface density/scattering by looking up the current froxel, so Grid/particles/billboards can share the same integration class instead of becoming alpha-blended scene-depth exceptions. The Medium Composite knob gates registered cloud media, while binned transparent surfaces still contribute to transport.","files":["src/Aquarium.Engine/Render/D3D12Renderer.cs","src/Aquarium.Engine/Render/Shaders/D3D12Medium.hlsl","src/Aquarium.Engine/Render/Shaders/D3D12Scene.hlsl","docs/d3d12-migration.md","docs/d3d12-best-practices-audit.md","docs/hlsl-renderer.md","state/map.yaml","state/memory.json","state/scratch.md"],"verification":["dotnet build src\\Aquarium.Engine\\Aquarium.Engine.csproj","dotnet build Aquarium.Engine.slnx",".\\scripts\\dev-reload.ps1 -Headless -RetainSlots 4 -HeadlessTimeoutSeconds 20 with AQUARIUM_RENDERER=d3d12 and AQUARIUM_RENDER_DEBUG_MODE=0 exited 0",".\\scripts\\dev-reload.ps1 -Headless -RetainSlots 4 -HeadlessTimeoutSeconds 20 with AQUARIUM_RENDERER=d3d12 and AQUARIUM_RENDER_DEBUG_MODE=11 exited 0"],"ts":"2026-05-09"}
{"area":"renderer/d3d12","lesson":"D3D12 presentation now mirrors the HDR doctrine: render scene-linear into an R16G16B16A16_Float scene target, build a three-level half/quarter/eighth bloom pyramid with firefly-safe downsample and separable blur scratch targets, then apply exposure, bloom/veil composite, and ACES only in the present pass. Debug mode 7 shows bloom contribution, mode 8 exposed luminance, and mode 11 remains a direct medium-density bypass.","files":["src/Aquarium.Engine/Render/D3D12Renderer.cs","src/Aquarium.Engine/Render/Shaders/D3D12Scene.hlsl","src/Aquarium.Engine/Render/Shaders/D3D12Post.hlsl","state/scratch.md"],"verification":["dotnet build src\\Aquarium.Engine\\Aquarium.Engine.csproj","dotnet build Aquarium.Engine.slnx",".\\scripts\\dev-reload.ps1 -Headless -RetainSlots 4 -HeadlessTimeoutSeconds 20 with AQUARIUM_RENDERER=d3d12 and AQUARIUM_RENDER_DEBUG_MODE=0 exited 0",".\\scripts\\dev-reload.ps1 -Headless -RetainSlots 4 -HeadlessTimeoutSeconds 20 with AQUARIUM_RENDERER=d3d12 and AQUARIUM_RENDER_DEBUG_MODE=7 exited 0",".\\scripts\\dev-reload.ps1 -Headless -RetainSlots 4 -HeadlessTimeoutSeconds 20 with AQUARIUM_RENDERER=d3d12 and AQUARIUM_RENDER_DEBUG_MODE=11 exited 0"],"ts":"2026-05-09"}
{"area":"renderer/d3d12","lesson":"D3D12 Grid transparency now carries the richer Aetheria/Aquarium line vocabulary inside the transparent-surface froxel path: cartesian gridlines, height isolines, and gradient-angle field lines are evaluated from the Grid height target and integrated as binned transparent medium contribution, not as a revived alpha-blended surface path.","files":["src/Aquarium.Engine/Render/Shaders/D3D12Medium.hlsl","docs/d3d12-migration.md","docs/hlsl-renderer.md","state/scratch.md"],"verification":["dotnet build src\\Aquarium.Engine\\Aquarium.Engine.csproj",".\\scripts\\dev-reload.ps1 -Headless -RetainSlots 4 -HeadlessTimeoutSeconds 20 with AQUARIUM_RENDERER=d3d12 and AQUARIUM_RENDER_DEBUG_MODE=0 exited 0",".\\scripts\\dev-reload.ps1 -Headless -RetainSlots 4 -HeadlessTimeoutSeconds 20 with AQUARIUM_RENDERER=d3d12 and AQUARIUM_RENDER_DEBUG_MODE=11 exited 0"],"ts":"2026-05-09"}
{"area":"renderer/d3d12/temporal","lesson":"D3D12 now has the first temporal diagnostic spine: the scene pass writes color/travel, field-id/normal metadata, and temporal-control MRTs, and the present shader can inspect current control in debug mode 5 and field identity in debug mode 6. This is not TAA parity yet; history ping-pong, reprojection, validation, and age/weight outputs still need to be ported before temporal accumulation is real.","files":["src/Aquarium.Engine/Render/D3D12Renderer.cs","src/Aquarium.Engine/Render/Shaders/D3D12Scene.hlsl","src/Aquarium.Engine/Render/Shaders/D3D12Post.hlsl","docs/d3d12-migration.md","docs/hlsl-renderer.md","state/scratch.md"],"verification":["dotnet build src\\Aquarium.Engine\\Aquarium.Engine.csproj","dotnet build Aquarium.Engine.slnx",".\\scripts\\dev-reload.ps1 -Headless -RetainSlots 4 -HeadlessTimeoutSeconds 20 with AQUARIUM_RENDERER=d3d12 and AQUARIUM_RENDER_DEBUG_MODE=0 exited 0",".\\scripts\\dev-reload.ps1 -Headless -RetainSlots 4 -HeadlessTimeoutSeconds 20 with AQUARIUM_RENDERER=d3d12 and AQUARIUM_RENDER_DEBUG_MODE=5 exited 0",".\\scripts\\dev-reload.ps1 -Headless -RetainSlots 4 -HeadlessTimeoutSeconds 20 with AQUARIUM_RENDERER=d3d12 and AQUARIUM_RENDER_DEBUG_MODE=6 exited 0"],"ts":"2026-05-09"}

View file

@ -311,3 +311,8 @@ can start porting real passes while keeping D3D11 as the visual reference.
transparent surface entry. Keep future particles/billboards in this shared
transparent-surface integration class; do not resurrect alpha surfaces for
them.
- D3D12 temporal diagnostic spine pass: the scene pass now writes MRTs for
color/travel, field-id/normal metadata, and temporal control. Present debug
mode 5 shows current control and mode 6 shows field identity. History
ping-pong/reprojection is still pending; do not claim TAA parity until those
buffers are written and validated.