Route renderer feature gates through device snapshot

This commit is contained in:
2026-06-04 19:58:38 +02:00
parent f2cb0f2276
commit 0bd1e92ee1
10 changed files with 30 additions and 9 deletions

View File

@@ -1113,6 +1113,12 @@ The OpenGL shader initialization path now stores a renderer-neutral
`RenderDeviceFeatures` snapshot converted by `pp_renderer_gl`, and those live
canvas gates consume that snapshot instead of rebuilding feature flags from
individual `ShaderManager` extension booleans.
`RenderDeviceFeatures` now carries the float32-linear-filtering bit as well,
so the canvas stroke texture format decision, renderer diagnostics, and grid
lightmap/bake target selection all consume the renderer-neutral feature
snapshot instead of reading `ShaderManager::ext_*` flags directly. The retained
extension booleans are now limited to the shader-manager compatibility adapter
and legacy logging.
`pp_paint_renderer::plan_canvas_stroke_feedback` now models the current stroke
shader's required destination feedback without changing the legacy shader math.
Live `Canvas::stroke_draw` consumes that plan for main-brush, dual-brush, and