diff --git a/tools/tests/effects_source_cache_harness.c b/tools/tests/effects_source_cache_harness.c index 475d4b133..da9615d1c 100644 --- a/tools/tests/effects_source_cache_harness.c +++ b/tools/tests/effects_source_cache_harness.c @@ -84,6 +84,9 @@ static void check_generated_settings_and_layout(void) { g_vk.CmdBindPipeline = bind_pipeline; g_vk.CmdBindDescriptorSets = bind_sets; g_vk.CmdPushConstants = push; g_vk.CmdDraw = draw; g_vk.CmdEndRenderPass = end_pass; g_vk.CmdBlitImage = blit; + g_rp = (VkRenderPass)(uintptr_t)5; + g_pipe[P_SGSR] = (VkPipeline)(uintptr_t)6; + g_pipe[P_COLOR] = (VkPipeline)(uintptr_t)7; g_ready = 1; for (int k = 0; k < 2; k++) { struct fx_target *t = &g_contexts[1].targets[k]; diff --git a/tools/tests/test_effects_lazy_pipelines.py b/tools/tests/test_effects_lazy_pipelines.py index 1da6a9c2f..9f2782989 100644 --- a/tools/tests/test_effects_lazy_pipelines.py +++ b/tools/tests/test_effects_lazy_pipelines.py @@ -32,7 +32,7 @@ class LazyEffectPipelineSourceTest(unittest.TestCase): self.assertIn("effect pipelines are created when needed", body) def test_pipelines_are_prepared_before_effect_chain_resources_and_draws(self): - body = function_body(self.source, "VkImage vkp_effects_run(") + body = function_body(self.source, "static VkImage effects_run(") prepare = body.index("pipelines_ensure(spatial, s)") scene = body.index("scene_ensure(scene, scene_w, scene_h)") self.assertLess(prepare, scene)