Add renderer shader uniform command

This commit is contained in:
2026-06-02 16:15:23 +02:00
parent 23c308db1b
commit 8232b0efc8
9 changed files with 189 additions and 21 deletions

View File

@@ -287,15 +287,16 @@ Known local toolchain state:
- `pp_renderer_api` exposes a headless `RecordingRenderDevice` that validates
backend-owned resource creation, command order, scissor state, depth state,
blend state, texture-slot binding, sampler-state binding, texture-upload byte
counts, readback bounds, frame-capture sources, destination buffer sizes, and
render-target blit regions, records
render/scissor/depth/blend/texture-bind/sampler-bind/upload/readback/
frame-capture/blit commands, draw mesh inputs, and records trace markers
without a window or GL context.
counts, shader-uniform writes, readback bounds, frame-capture sources,
destination buffer sizes, and render-target blit regions, records
render/scissor/depth/blend/shader-uniform/texture-bind/sampler-bind/upload/
readback/frame-capture/blit commands, draw mesh inputs, and records trace
markers without a window or GL context.
- `pano_cli record-render` exposes the recording renderer through JSON
automation, including scissor/depth/blend/texture-bind/sampler-bind/upload/
readback/frame-capture/blit command and byte totals, backend resource
creation counts, plus draw vertex/index totals, and is covered by
automation, including scissor/depth/blend/shader-uniform/texture-bind/
sampler-bind/upload/readback/frame-capture/blit command and byte totals,
backend resource creation counts, plus draw vertex/index totals, and is
covered by
`pano_cli_record_render_smoke` plus
`pano_cli_record_render_rejects_oversized_target`.
- `pano_cli simulate-document-history` exposes `pp_document::DocumentHistory`

View File

@@ -724,9 +724,10 @@ Results:
validation, texture-upload byte-count validation, frame-capture byte-size and
command-order validation, render-target blit validation, texture-slot binding
validation, blend-state validation, scissor-state validation,
backend-neutral resource factory validation, recording
scissor/depth/blend/texture/sampler-bind/upload/readback/frame-capture/blit
command capture, draw mesh-input capture, and invalid catalog rejection.
shader-uniform write validation, backend-neutral resource factory validation,
recording scissor/depth/blend/shader-uniform/texture/sampler-bind/upload/
readback/frame-capture/blit command capture, draw mesh-input capture, and
invalid catalog rejection.
- `pp_paint_renderer_compositor_tests` passed.
- `pp_ui_core_color_tests` passed.
- `pp_ui_core_layout_value_tests` passed.
@@ -822,18 +823,19 @@ Results:
- `pp_renderer_api` now includes a headless `RecordingRenderDevice` with strict
renderer-owned resource factory and
command-order/scissor-state/depth-state/blend-state/texture-bind/
sampler-bind/texture-upload/readback/frame-capture/blit validation; it
creates validated textures, render targets, shaders, meshes, and readback
buffers, then records commands, trace markers, scissor state, depth state,
blend state, texture/sampler binds, draw mesh inputs, uploads/readbacks,
frame captures, and render-target blits, giving automation a backend-neutral
render path that does not require a window or GL context.
sampler-bind/shader-uniform/texture-upload/readback/frame-capture/blit
validation; it creates validated textures, render targets, shaders, meshes,
and readback buffers, then records commands, trace markers, scissor state,
depth state, blend state, shader uniform writes, texture/sampler binds, draw
mesh inputs, uploads/readbacks, frame captures, and render-target blits,
giving automation a backend-neutral render path that does not require a
window or GL context.
- `pano_cli record-render` exercises that headless recording renderer and emits
JSON command counts, resource creation counts, target dimensions, backend
name, trace/draw summary, and draw vertex/index totals, scissor/depth/
blend-state plus texture/sampler-bind/upload/readback/frame-capture/blit
command/byte totals for agent automation, with an expected-failure smoke for
oversized render/readback targets.
blend-state plus shader-uniform/texture/sampler-bind/upload/readback/
frame-capture/blit command/byte totals for agent automation, with an
expected-failure smoke for oversized render/readback targets.
- `pano_cli simulate-document-history` exercises pure document history
apply/undo/redo behavior and emits JSON layer/frame/history state for agent
automation.