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

Error building the isf_demo example #871

Open
michaelmariaott opened this issue Jun 24, 2022 · 6 comments
Open

Error building the isf_demo example #871

michaelmariaott opened this issue Jun 24, 2022 · 6 comments

Comments

@michaelmariaott
Copy link

michaelmariaott commented Jun 24, 2022

Hello,

I have problems getting the isf_demo to build. I am on macOS 12.4 and get the following error:

[nannou_isf/src/pipeline.rs:504] &vs = Shader {
    source: HardCoded,
    module: Some(
        ShaderModule {
            context: Context {
                type: "Native",
            },
            id: (
                2,
                1,
                Metal,
            ),
        },
    ),
    error: None,
}
[nannou_isf/src/pipeline.rs:505] &fs = Shader {
    source: Path(
        "/Users/mememe/Documents/Nannou-Projects/examples/nannou/assets/isf/Test-Float.fs",
    ),
    module: Some(
        ShaderModule {
            context: Context {
                type: "Native",
            },
            id: (
                3,
                1,
                Metal,
            ),
        },
    ),
    error: None,
}
thread 'main' panicked at 'wgpu error: Validation Error

Caused by:
    In Device::create_render_pipeline
      note: label = `nannou render pipeline`
    error matching FRAGMENT shader requirements against the pipeline
    shader global ResourceBinding { group: 2, binding: 1 } is not available in the layout pipeline layout
    binding is missing from the pipeline layout

', /Users/mememe/.cargo/registry/src/github.com-1ecc6299db9ec823/wgpu-0.11.1/src/backend/direct.rs:2195:5

Is this a problem with the render pipeline in nannou?

@patgarner
Copy link

I'm seeing this too. It's not a build issue, it's a run time issue. As soon as it launches it crashes.

@dumski
Copy link

dumski commented Oct 22, 2022

Same here :/ Macbook Air M1. Any ideas?
Thx, Teo

@bernardoaraujor
Copy link

same here, Macbook Pro M2

@bernardoaraujor
Copy link

bernardoaraujor commented May 20, 2023

tagging @mitchmindtree as it seems they're the author of examples/isf/isf_demo.rs.

@mitchmindtree
Copy link
Member

I haven't had a chance to continue work on this, but for some more context on the state of the ISF demo support, check out this long-running PR: #684.

@zmitchell
Copy link

I just ran into this today. I'm wondering if part of the issue is that nannou_isf depends on hotglsl, which depends on glsl-to-spirv. The glsl-to-spirv crate is deprecated in favor of the shaderc crate, and I actually encountered a build failure trying to create a Nix flake for this repository with the exact same error message seen here: vulkano-rs/vulkano#2318

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

6 participants