Hey there,
I find it annoying to set the output attributes on the glsl POP. It’s always a couple extra clicks and it could potentially be automated based on the code we write? If that seams unreasonable, I think P should be in there by default, that’s what most ops will operate on and if not, we need to click in there anyway and might delete the P while we’re on it.
Hey @josefpelz,
That’s an interesting question, in GLSL POPs in general the code is generated based on the UI parameters (buffers, uniforms, etc), part of it is because buffer declaration is a bit verbose, and also only attributes written to are allocated.
Now that I think more about it, maybe we could autodeclare all attributes for writing, similar to how all input attributes are declared, and look at the compiled code and what is actually used before allocations, might not impact performance much. We’ll look into it.
Otherwise not having P by default allows you to use the dropdown arrow and pick an attribute, default is to append to existing list, so if you use the dropdown menu you don’t have to delete anything if it’s empty, otherwise you would have to delete P. In any case we’ll discuss internally.
1 Like
Would be great if that would work! And regarding the defaults, I see why you decided for the empty menu