-
Notifications
You must be signed in to change notification settings - Fork 544
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
GFX is broken on nightly #1070
Comments
Looks like a rust-lang regression (rust-lang/rust#37352), almost fixed (PR rust-lang/rust#37361 waiting for merge). |
Now the error says:
|
Just to offer another example... (snip)
(snip)
|
Fix pipeline definition macro `use $crate;` is not allowed due to recent restrictions and `use super::*;` won't import the gfx crate. (allowed in future but feature gated rust-lang/rfcs#1560) Closes #1070
@kvark Could you update crates.io version? |
Apparently, this change breaks rust-stable, so I yanked v0.12.2 for now... |
Should this issue be re-opened? |
Yes. Apparently, now it works on nightly but broken on stable :/ |
Edit2: Ok, actually I think it is an issue in how Still having this issue on latest nightly (1.15 / 2016-11-15).
|
Looks like everything is fixed for me (with GFX from git master): |
Hi ! I get the previous error on my project too, I'm on Compiling $crate v0.1.0 (file:///.../.../$crate)
error[E0432]: unresolved import `super::gfx`
--> src/gfx/chunk_manager.rs:10:1
|
10 | gfx_defines!{
| ^ no `gfx` in `chunk_manager`
|
= note: this error originates in a macro outside of the current crate
error: aborting due to previous error
error: Could not compile `$crate`. |
Are you importing use gfx;
gfx_defines! {
// ...
} |
1074: Implement ETC2 and ASTC textures r=kvark a=cwfitzgerald **Connections** Closes gfx-rs#1070. Makes progress towards gfx-rs#1069. **Description** This PR has multiple functions: - Adds ETC and ASTC compressed textures behind features. - Adds three helper functions on `Extent3d` that help in calculating mip sizes: `at_mip_level`, `max_mips`, and `physical_size`. - Refactors various conversions into a public `TextureFormat::describe` function. I have used a decl macro to ease in the declaration and modifcation of an otherwise horribly verbose function. I have tried to use clever multi-select based data copying to reduce the possibility for errors, but there's a _lot_ of data moving around here. **Testing** Upcoming wgpu-rs pr adding wider compressed texture support to the skybox example. Helper functions were tested with doctests. Marked as draft until I can get the wgpu-rs pr done and prove it works, it is, however, ready for review. Co-authored-by: Connor Fitzgerald <[email protected]>
https://travis-ci.org/ozkriff/zoc/jobs/169961437
The text was updated successfully, but these errors were encountered: