3Dickulus / FragM

Derived from https://github.com/Syntopia/Fragmentarium/
GNU General Public License v3.0
349 stars 30 forks source link

When buffershader is absent #141

Closed 3Dickulus closed 4 years ago

3Dickulus commented 4 years ago

Description When buffershader is absent the render engine won't pause when subframes is at 0, at least one core will go to 100%, displaying stops when subframemax is reached but engine is still running.

To Reproduce

  1. load any shader that doesn't create a buffershader like 2D Systems/Reaction-Diffusion.frag or any shader that uses one of the engines that doesn't create a buffershader EmulatedDouble.frag DE-Raytracer-Slicer.frag etc.
  2. set the subframes to 0
  3. test the Stop button
  4. increment subframes, stops when max reached
  5. observe CPU load, one core 100% when not rendering
  6. does not happen when buffershader is employed

Expected behaviour Rendering engine should idle when Stop button is clicked or when max subframes have been rendered. A frag that does not use a buffershader should behave the same as frags that use buffershaders from a user standpoint wrt play/pause.

Desktop

Additional context Not sure if it's due to a recent driver update.. investigating..