]> git.tdb.fi Git - libs/gl.git/commitdiff
Treat standard and camera shader data specially in Renderer
authorMikko Rasa <tdb@tdb.fi>
Sun, 13 Mar 2022 07:34:18 +0000 (09:34 +0200)
committerMikko Rasa <tdb@tdb.fi>
Sun, 13 Mar 2022 07:34:18 +0000 (09:34 +0200)
Don't add them to the generic shdata stack.  Some effects apply their own
camera, which led to two overlapping ProgramData objects on the stack.
Although the results were correct, this caused PipelineState to flag the
uniform blocks as dirty every frame and do unnecessary work.


No differences found