Email or username:

Password:

Forgot your password?
Top-level
NOTimothyLottes

@julienbarnoin I'd like code pointers, with ability to setup explicit blocks of register state. So it's possible to have functions that apply to state in registers without all the push/pop stack nonsense which would be prohibitively expensive.

1 comment
Julien Barnoin

@NOTimothyLottes Actually on my end, I'd already be happy to see just function pointer constants that could be fully inlined at compile time. This would be quite easy probably, but GLSL doesn't offer even this. Maybe with another layer of ugly macros I could make something work...

See for instance examples here: iquilezles.org/articles/sdfrep
Every time there's an "sdf()" call represents a use for a function pointer that could be known at compile time and still make code reusable.

Go Up