From 0a0078fcef687664eb1cbe94dfe5d50d7530324a Mon Sep 17 00:00:00 2001 From: Sylvain Lefebvre Date: Mon, 22 Jan 2024 12:58:26 +0100 Subject: [PATCH] fun with humanshader (pipeline) --- projects/vga_demo/vga_humanshader.si | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/projects/vga_demo/vga_humanshader.si b/projects/vga_demo/vga_humanshader.si index 76459ff3..e94006b9 100644 --- a/projects/vga_demo/vga_humanshader.si +++ b/projects/vga_demo/vga_humanshader.si @@ -9,7 +9,7 @@ // SL 2024-01-22 $$VGA_640_480 = 1 -$$delay = 22540 +$$delay = 27333 $include('vga_demo_main.si') @@ -135,7 +135,11 @@ algorithm frame_display( -> // --- next pipeline stage - int22 c = 240*(-v) - p; + // int22 c = 240*(-v) - p; + // this one is heavy, we split it in stages + int22 c = 240*(-v); + -> + c = c - p; -> // --- next pipeline stage