From d6c8b0631cee10c6876aa7485574a9b57510dc68 Mon Sep 17 00:00:00 2001 From: chrg6 Date: Thu, 12 Nov 2026 05:33:52 -0500 Subject: [PATCH] Expect the SMAA lookup textures among the files the shader build embeds as headers, beside the menu font. Co-Authored-By: Claude Opus 5.5 --- tests/launcher_test.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/launcher_test.py b/tests/launcher_test.py index 1a329bba..c3b54d30 100644 --- a/tests/launcher_test.py +++ b/tests/launcher_test.py @@ -2587,7 +2587,10 @@ class MakeGameTest(Tmp): self.assertEqual(build_shaders.stale(rt), [font]) menu = (ROOT / 'runtime' / 'ui' / 'menu.cpp').read_text(encoding='utf-8') self.assertIn('#ifdef __has_embed\n#embed "fonts/Roboto-Medium.ttf"\n#else\n#include "roboto_ttf.h"\n#endif', menu) - self.assertEqual(build_shaders.EMBEDDED, {'ui/fonts/Roboto-Medium.ttf': 'ui/roboto_ttf.h'}) + # the menu font, and the SMAA lookup textures of the anti-aliasing setting (runtime/vk_aa.c) + self.assertEqual(build_shaders.EMBEDDED, {'ui/fonts/Roboto-Medium.ttf': 'ui/roboto_ttf.h', + 'third_party/smaa/AreaTex.bin': 'smaa_area_tex.h', + 'third_party/smaa/SearchTex.bin': 'smaa_search_tex.h'}) def test_objects_of_an_earlier_version_are_taken_over(self): """An entry under a key an earlier version gave the same compile is re-recorded under the new key when its