Giter Club home page Giter Club logo

eww's Introduction

Luis Wirth

Luis' Stats

Luis' Top Langs

eww's People

Contributors

lu15w1r7h avatar

Watchers

 avatar  avatar

eww's Issues

Example does not build (Windows)

When cargo running the eww example, these are the errors shown by the compiler

error[E0433]: failed to resolve: could not find `BackendBit` in `wgpu`
  --> eww\examples\basic.rs:93:50
   |
93 |         let instance = wgpu::Instance::new(wgpu::BackendBit::PRIMARY);
   |                                                  ^^^^^^^^^^ could not find `BackendBit` in `wgpu`

error[E0433]: failed to resolve: could not find `TextureUsage` in `wgpu`
   --> eww\examples\basic.rs:118:26
    |
118 |             usage: wgpu::TextureUsage::RENDER_ATTACHMENT,
    |                          ^^^^^^^^^^^^ could not find `TextureUsage` in `wgpu`
error[E0412]: cannot find type `SwapChain` in crate `wgpu`
  --> eww\examples\basic.rs:88:23
   |
88 |     swap_chain: wgpu::SwapChain,
   |                       ^^^^^^^^^ not found in `wgpu`
error[E0422]: cannot find struct, variant or union type `SwapChainDescriptor` in crate `wgpu`
   --> eww\examples\basic.rs:117:29
    |
117 |         let sc_desc = wgpu::SwapChainDescriptor {
    |                             ^^^^^^^^^^^^^^^^^^^ not found in `wgpu`
error[E0599]: no method named `create_swap_chain` found for struct `Device` in the current scope
   --> eww\examples\basic.rs:125:33
    |
125 |         let swap_chain = device.create_swap_chain(&surface, &sc_desc);
    |                                 ^^^^^^^^^^^^^^^^^ method not found in `Device`

Example crashing on startup on Ubuntu 20.04

When trying to run the example on my computer, before the first frame, I'm getting:

thread 'main' panicked at 'wgpu error: Validation Error

Caused by:
    In Device::create_render_pipeline
      note: label = `egui_wgpu_pipeline`
    parent device is lost

The Wgpu examples run just fine, I could not find a cause to this error

Missing Example(s)

Having an example to start using this library would be very helpful. It's the first thing I looked for and couldn't find.

Love the name of this by the way.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.