Move cube face target mapping to renderer gl

This commit is contained in:
2026-06-01 18:09:12 +02:00
parent 4212387b70
commit 7d80afce2f
6 changed files with 71 additions and 17 deletions

View File

@@ -391,9 +391,10 @@ float texture support. It also owns the OpenGL texture upload-type mapping used
by legacy `Texture2D` and `RTT` creation, plus image channel-count to texture
format mapping for `Texture2D` image uploads and framebuffer status naming for
`RTT` diagnostics. Mesh index-type and primitive-mode decisions used by legacy
`Shape` drawing also live in `pp_renderer_gl`. The legacy app delegates
extension, upload-format, framebuffer diagnostic, and mesh draw-mode
interpretation to that backend library. The PanoPainter shader attribute
`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, mesh draw-mode, and cube-face
texture-target interpretation to that backend library. 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
@@ -640,10 +641,11 @@ Results:
WebGL exclusion behavior, upload types for RGBA8/RGBA16F/RGBA32F internal
formats, image channel-count format mapping including invalid counts, and
framebuffer status names, plus Shape index-type and fill/stroke primitive
mode mapping. 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 uniform catalog validation covers the 43 legacy uniform
mode mapping and PanoPainter cube-face texture-target order. 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 uniform catalog
validation covers the 43 legacy uniform
names used by `Shader`, preserves the legacy hash ids, and rejects empty,
unnamed, null-name, mismatched-hash, and duplicate-name catalogs.
- PowerShell analyze automation returns JSON summaries and includes the shader