Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shader Programs should link to individual Shaders #1216

Closed
tomgoogle opened this issue Oct 18, 2017 · 4 comments
Closed

Shader Programs should link to individual Shaders #1216

tomgoogle opened this issue Oct 18, 2017 · 4 comments

Comments

@tomgoogle
Copy link
Contributor

For GLES, jumping to the currently bound Vertex/Fragment shaders is long winded - you have to generally jump through the State window to find the appropriate Vertex/Fragment shaders for the currently bound Program.

It would be really nice to have at a minimum the shader ID shown next to the Vertex/Fragment shaders in the Programs view, and at a push a link that takes you straight to the right shader in the Shaders tab.

screen shot 2017-10-17 at 5 29 46 pm

@dsrbecky
Copy link
Contributor

I find this view a bit odd in general.
We have two tabs which serve the same purpose (show shaders) but slightly differently.
The "all shaders on the screen" approach will not scale if add support for the other shader types.

My suggestion would to remove the Shader tab alogether, show only one shader source in the program at the time (selectable by tab or toolbar), and making it possible to edit the shaders here as well.

@tomgoogle
Copy link
Contributor Author

I agree - my suggestion is more of a band-aid to get the current design more usable.

@AWoloszyn
Copy link
Contributor

I think a pipeline view would solve this problem as well. For a longer-term solution. (What was the entire state of the drawing pipeline for the last draw call, shaders, blend state, buffers, etc etc etc).

@AWoloszyn
Copy link
Contributor

This is effectively a dupe of #387, closing

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

No branches or pull requests

3 participants