Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Add support for SHADER_NAME - #55

#55
Open
hughsk wants to merge 2 commits into
masterglslify/glslify:masterfrom
shader-namesglslify/glslify:shader-namesCopy head branch name to clipboard
Open

Add support for SHADER_NAME#55
hughsk wants to merge 2 commits into
masterglslify/glslify:masterfrom
shader-namesglslify/glslify:shader-namesCopy head branch name to clipboard

Conversation

@hughsk

@hughsk hughsk commented Jun 25, 2015

Copy link
Copy Markdown
Member

As per this discussion:

/cc @mattdesl @mikolalysenko any thoughts on this? Currently it's always on, but could have it opt-in or opt-out.

hughsk added 2 commits June 25, 2015 12:46
Useful for assisting developer tools in identifying shaders
@mattdesl

Copy link
Copy Markdown
Contributor

Hmm seems a bit app-specific, maybe better as a global transform?

@mikolalysenko

Copy link
Copy Markdown
Contributor

It might be worth revisiting this idea. I'd like to figure out a better way to identify shaders and line numbers in glslify so that we can report errors correctly. Maybe we could use the #line preprocessor command and SHADER_NAME to implement something like a glsl source map?

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.