Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[NO BUG] GLSL Shaders crash vid io
#3
The same file but with the julia brot calc commented out doesn't crash

(11-11-2025, 04:10 PM)XORadmin Wrote: Not a bug but this shader is too heavy for the Video expander and takes too long to compile (most probably due to the too deep 'for loop' involved.)
This takes more than 4 seconds which is the timeout for the watchdog reboot.

Page 118 in the manual: "Good to know: Avoid ‘for’ loops with many loop iterations as these increment the processing time and might cause performance issues. Especially ‘for’ loops that would loop many ten/hundred times will most likely not work properly with the VEX"
Is there a recomended sized / lines to keep them under as i had a similar problem when i unrolled the loop manually to try and optimise
Reply


Messages In This Thread
RE: GLSL Shaders crash vid io - by XORadmin - 11-11-2025, 04:10 PM
RE: GLSL Shaders crash vid io - by TheSandbag - 11-11-2025, 04:10 PM
RE: GLSL Shaders crash vid io - by XORadmin - 11-11-2025, 04:12 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)