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

Docs don't show all features #111

Open
dhardy opened this issue Jan 18, 2020 · 3 comments
Open

Docs don't show all features #111

dhardy opened this issue Jan 18, 2020 · 3 comments

Comments

@dhardy
Copy link

dhardy commented Jan 18, 2020

The SPIR-V transpiler doesn't show up in the docs.

You probably want this in your Cargo.toml:

[package.metadata.docs.rs]
all-features = true

It would also be nice to see a transpiling example included in the docs.

@hadronized
Copy link
Owner

Hello,

Yes, currently, it doesn’t show up because I don’t really know whether the glsl crate is a good place to put such a transpiler in. glsl -> glsl is trivial so it’s okay to have it there, but for anything else, I’m quite not sure. What do you think?

@dhardy
Copy link
Author

dhardy commented Jan 19, 2020

I don't know. I was just looking for a GLSL → SPIR-V compiler since the glsl-to-spirv is deprecated and was wondering if there was a pure-Rust solution — but I see you use shaderc anyway.

@hadronized
Copy link
Owner

So far, yes. But the goal is to use pure Rust. I haven’t spent the time to write a semantic analysis phase but IIRC @jrmuizel has information about that.

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

2 participants