GPGPU
state-stepping - declaratively maps optimal draw passes, shaders, GL
resources, inputs, outputs - lets you focus on your logic, BYO-renderer.
Decouples logic from rendering approach/engine.
Each module and hook may be used as given, or piecemeal, or overridden.
Todo
Add a way to look up values from previous passes in the current step:
We have past state inputs and the next state outputs, so adjacent
states in the current pass can be called got states.
All states are already accessible in the shader, just need a way to
declare the lookup is desired; maybe a negative index in derives should
signify that, and be handled in the tapStates macros?
Todo
Add a way to resize all gpgpu resources in one convenient function.
Todo
Handle values with more channels than channelsMax...
Main
index.js- seereadmeGPGPU state-stepping - declaratively maps optimal draw passes, shaders,
GLresources, inputs, outputs - lets you focus on your logic, BYO-renderer.Decouples logic from rendering approach/engine. Each module and hook may be used as given, or piecemeal, or overridden.
Todo
Add a way to look up values from previous passes in the current step:
paststate inputs and thenextstate outputs, so adjacent states in the current pass can be calledgotstates.derivesshould signify that, and be handled in thetapStatesmacros?Todo
Add a way to resize all
gpgpuresources in one convenient function.Todo
Handle values with more channels than
channelsMax...