You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 18, 2021. It is now read-only.
Device::create_render_pipeline panics with failed to create graphics pipeline: Failed to create pipeline: Unsupported usage: Implementation specific error occurred
in wgpu-core/src/device/mod.rs:3097:17 using current wgpu master (86757f)
stack backtrace:
0: rust_begin_unwind
at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39\/library\std\src/panicking.rs:475
1: std::panicking::begin_panic_fmt
at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39\/library\std\src/panicking.rs:429
2: wgpu_core::device::<impl wgpu_core::hub::Global<G>>::device_create_render_pipeline::{{closure}}
at ~/.cargo\git\checkouts\wgpu-53e70f8674b08dd4\7ac706f\wgpu-core\src\device/mod.rs:3102
3: core::result::Result<T,E>::map_err
at ~/.rustup\toolchains\stable-x86_64-pc-windows-gnu\lib/rustlib/src/rust\library\core\src/result.rs:595
4: wgpu_core::device::<impl wgpu_core::hub::Global<G>>::device_create_render_pipeline
at ~/.cargo\git\checkouts\wgpu-53e70f8674b08dd4\7ac706f\wgpu-core\src\device/mod.rs:3097
5: <wgpu::backend::direct::Context as wgpu::Context>::device_create_render_pipeline
at ~/.cargo\git\checkouts\wgpu-rs-40ea39809c03c5d8\86757f4\src\backend/direct.rs:814
6: wgpu::Device::create_render_pipeline
at ~/.cargo\git\checkouts\wgpu-rs-40ea39809c03c5d8\86757f4\src/lib.rs:1498
The text was updated successfully, but these errors were encountered:
My fragment shader had an unused input variable without a vertex shader counterpart, which I found out after using VS to debug the exe.
On vulkan, this ran fine and didn't return any validation warnings (on linux, nv proprietary driver) (the unused fragment shader input variable was probably optimized away).
For anyone interested in the error: D3D12 ERROR: ID3D12Device::CreateGraphicsPipelineState: Vertex Shader - Pixel Shader linkage error: Signatures between stages are incompatible. The input stage requires Semantic/Index (TEXCOORD,0) as input, but it is not provided by the output stage. [ STATE_CREATION ERROR #666: CREATEGRAPHICSPIPELINESTATE_SHADER_LINKAGE_SEMANTICNAME_NOT_FOUND]
👍 thanks for the update! This will improve in the future when we're able to fully validate shaders – wgpu will be able to notice this mismatch and fail with a better error message.
kejor
pushed a commit
to kejor/wgpu-rs
that referenced
this issue
Nov 28, 2020
Device::create_render_pipeline panics with
failed to create graphics pipeline: Failed to create pipeline: Unsupported usage: Implementation specific error occurred
in
wgpu-core/src/device/mod.rs:3097:17
using current wgpu master (86757f
)The text was updated successfully, but these errors were encountered: