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
{{ message }}
Repository navigation
Terrain and portals view modes say the shaders lack their stage while it is still being made #99
With #15, the pipelines of plugin stages (render/extend.odin) are made on the pipeline thread, and their handle is 0 until they are made. Two editor view modes read 0 as "these shaders have no such stage":
plugins/terrain/editor/terrain_view.odin:77: "The shaders in use have no terrain_view.comp: generate those of the project"
plugins/portals/editor/view_mode.odin:16: "The shaders in use have no portals_nested.comp: generate those of the project"
For the frames while the pipeline is made (a few, or seconds on a cold cache), the view mode shows that reason and tells the user to regenerate shaders that are fine. It is gone once the pipeline is made.
On main it does not show: the first frame that asks waits for the pipeline on the UI thread.
The view modes tell "being made" from "missing". For example, render/extend.odin answers whether the stage exists in the shaders, and while it is being made the view shows the editor's pending state instead of a reason.
Activity