Skip to content

Terrain and portals view modes say the shaders lack their stage while it is still being made #99

Open

Description

@5hif7y

Related to #15

What happens

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.

Expected

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.

🤖 Generated with Claude Code

Activity

  1. self-assigned this
    on Nov 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions