Skip to content

Allow hot-reloading on first compilation if .spv doesn't exist at load time #11

Description

@ProfLander

Currently, AssetServer gives up on loading an asset if it doesn't exist when load is called.

Thus, hot-reloading will fail for .spv files that don't exist at boot time. This is at odds with the rest of the hot-reload workflow, since you can go from fallback shader -> compiled shader if the .spv starts out empty, but will be stuck with the fallback shader until restart if the .spv starts out nonexistent.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    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