Plan OpenGL texture command metadata

This commit is contained in:
2026-06-02 20:59:05 +02:00
parent b4c2117992
commit b6a25474ff
7 changed files with 324 additions and 30 deletions

View File

@@ -534,9 +534,10 @@ blend/depth/sampler state, texture formats, primitive modes, draw counts, and
blit filters into GL-facing planned command data with explicit unsupported-token
rejection before a runtime GL context is needed. It also plans whole recorded
command streams, preserving per-command planned data while counting render
passes, draws, passthrough commands, trace commands, unsupported commands, and
render-pass ordering errors such as state changes outside a pass, nested passes,
and unclosed passes.
passes, draws, texture uploads, mipmap generation, texture transitions, texture
copies, texture readbacks, frame captures, passthrough commands, trace
commands, unsupported commands, and render-pass ordering errors such as state
changes outside a pass, nested passes, and unclosed passes.
The existing renderer classes are not yet fully
behind the renderer interfaces.
@@ -847,9 +848,11 @@ Results:
- `pp_renderer_gl_command_plan_tests` covers the headless OpenGL command
planner for recorded render-pass clear masks/values, viewport/scissor state,
blend/depth/sampler state, texture format mapping, mesh/draw primitive modes,
draw counts, blit filters, planned command names, unsupported enum rejection,
whole recorded stream planning, valid trace/render/draw/blit ordering, and
broken render-pass order detection.
draw counts, texture upload/mipmap/transition/copy/readback/capture metadata,
blit filters and byte totals, planned command names, unsupported enum/state
rejection, whole recorded stream planning, valid trace/render/draw/blit
ordering, typed texture-command counts, and broken render-pass order
detection.
- PowerShell analyze automation returns JSON summaries and includes the shader
validation target and renderer-boundary guard.
- `windows-msvc-vcpkg-headless` configured through the Visual Studio bundled
@@ -892,9 +895,10 @@ Results:
shader-uniform/texture/sampler-bind/upload/mipmap-generation/texture-transition/texture-copy/readback/
frame-capture/blit command/byte totals for agent automation. When
`pp_renderer_gl` is available, it also emits an `openGlPlan` JSON object with
planned command count, support status, render-pass/draw/passthrough/trace
counts, unsupported command count, render-pass order error count, and
unclosed-pass state. The
planned command count, support status, render-pass/draw/texture-upload/
mipmap/transition/copy/readback/capture/passthrough/trace counts,
unsupported command count, render-pass order error count, and unclosed-pass
state. The
`--exercise-clear` mode deliberately clears an interrupted trace/render pass,
verifies stale trace-scope state is rejected, verifies the render context can
be reused, and then emits that reset status in JSON. It also has an