Route renderer feature gates through device snapshot
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user