From 9595e9efaf343a8d37c9641eeb89f1c847a568a6 Mon Sep 17 00:00:00 2001 From: skal Date: Thu, 12 Feb 2026 01:53:21 +0100 Subject: fix: suppress spurious shader snippet and auxiliary texture warnings - Add render/scene_query_mode to known placeholders in VerifyIncludes - Remove warning for duplicate auxiliary texture registration (valid for multiple CNNEffect stacks) Co-Authored-By: Claude Sonnet 4.5 --- src/gpu/effect.cc | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/gpu/effect.cc') diff --git a/src/gpu/effect.cc b/src/gpu/effect.cc index e0a9c24..3ee2acd 100644 --- a/src/gpu/effect.cc +++ b/src/gpu/effect.cc @@ -457,13 +457,9 @@ void MainSequence::register_auxiliary_texture(const char* name, int width, int height) { const std::string key(name); - // Check if already exists + // Check if already exists (silent, idempotent registration is valid) auto it = auxiliary_textures_.find(key); if (it != auxiliary_textures_.end()) { -#if !defined(STRIP_ALL) - fprintf(stderr, "Warning: Auxiliary texture '%s' already registered\n", - name); -#endif /* !defined(STRIP_ALL) */ return; } -- cgit v1.2.3