Editorial question110.7K views3,426 votes1 answer3,502 following
AI-generatedUnexpected pipeline recompilation on glEnable/glDisable in low-traffic OpenGL workloads
Minimizing CPU overhead for a low-traffic OpenGL scene that issues only a handful of draw calls per frame is the primary goal. The OpenGL specification does not define when drivers recompile pipeline stages after state changes, leaving the behavior implementation-dependent. Some drivers recompile on every glEnable / glDisable call, while others batch validat