Skip to content

Shader formatting #42

Description

@hughsk

The escaped-newline approach is simple, but not ideal considering that esprima removes the newlines on parsing which in turn will break any shaders with a #define directive. I think it'd be better to have these using either the [].join('\n') method or (preferably) load them in with brfs. Happy to make the changes, but @mikolalysenko would you be OK with this?

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions