Move sampler parameter mapping to renderer gl

This commit is contained in:
2026-06-01 18:13:55 +02:00
parent f1e2743d58
commit 8130a922d0
6 changed files with 78 additions and 12 deletions

View File

@@ -135,10 +135,11 @@ Known local toolchain state:
used by `RTT::create`. It also validates Shape index-type and fill/stroke
primitive-mode mapping used by the legacy mesh draw path, plus the
PanoPainter cube-face to OpenGL texture-target mapping used by `TextureCube`.
The PanoPainter shader attribute binding catalog used by legacy `Shader`
creation also lives here. It also owns the PanoPainter shader uniform catalog
and legacy hash mapping used by `Shader` active-uniform discovery and the
uniform uniqueness check.
It also owns and validates sampler wrap S/T/R plus min/mag filter parameter
ordering used by legacy `Sampler`. The PanoPainter shader attribute binding
catalog used by legacy `Shader` creation also lives here. It also owns the
PanoPainter shader uniform catalog and legacy hash mapping used by `Shader`
active-uniform discovery and the uniform uniqueness check.
- `windows-msvc-vcpkg-headless` validates manifest install/configure/build/test
for the current headless component matrix; see DEBT-0007 for remaining app
and platform triplet migration.

View File

@@ -396,7 +396,9 @@ decisions used by legacy `Shape` drawing and the PanoPainter cube-face to
OpenGL texture-target mapping used by `TextureCube` also live in
`pp_renderer_gl`. The legacy app delegates extension, upload-format,
framebuffer diagnostic, render-target texture parameter, mesh draw-mode, and
cube-face texture-target interpretation to that backend library. The PanoPainter shader attribute
cube-face texture-target interpretation to that backend library. Sampler wrap
and min/mag filter parameter mapping for legacy `Sampler` also lives in
`pp_renderer_gl`. The PanoPainter shader attribute
binding catalog also lives in `pp_renderer_gl` and is consumed by legacy
`Shader` creation. Shader uniform hashing, catalog validation, active-uniform
mapping, and the legacy uniform uniqueness check now delegate to
@@ -645,6 +647,8 @@ Results:
framebuffer status names, plus Shape index-type and fill/stroke primitive
mode mapping, PanoPainter cube-face texture-target order, and the linear
clamp-to-edge render-target texture parameter set used by `RTT::create`.
Sampler parameter validation covers wrap S/T/R plus min/mag filter ordering
used by legacy `Sampler::set` and `Sampler::set_filter`.
Shader attribute binding catalog validation covers the current `pos`, `uvs`,
`uvs2`, `col`, and `nor` bindings and rejects empty, unnamed, null-name, and
duplicate-name catalogs while preserving legacy shared locations. Shader