You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currenty the RenderShaderPasses and FillDepthBuffer function are enabling vertex array attrib 1 and 5 for every drawn surface. Due to the fact that each of these surfaces need at least attrib 1 and 5 it makes sense to enable them once, draw all the surfs and disable them afterwards.
Please have a look at following patch, it will drop a lot of redundant state changes and gain some performance: https://www.dropbox.com/s/jlg3ef0moy6xbr8/draw_common.patch?dl=0
The text was updated successfully, but these errors were encountered:
Currenty the RenderShaderPasses and FillDepthBuffer function are enabling vertex array attrib 1 and 5 for every drawn surface. Due to the fact that each of these surfaces need at least attrib 1 and 5 it makes sense to enable them once, draw all the surfs and disable them afterwards.
Please have a look at following patch, it will drop a lot of redundant state changes and gain some performance:
https://www.dropbox.com/s/jlg3ef0moy6xbr8/draw_common.patch?dl=0
The text was updated successfully, but these errors were encountered: