nannou-org / nannou

A Creative Coding Framework for Rust.
https://nannou.cc/
6.04k stars 305 forks source link

Expose nannou::wgpu::texture::image::Pixel from wgpu module #936

Closed chrisranderson closed 11 months ago

chrisranderson commented 1 year ago

Motivation Close https://github.com/nannou-org/nannou/issues/595.

Summary Exposed Pixel in the wgpu crate.

4 examples failed (judging by cmd+f "panicked"), but I assume those are unrelated to this change? For example:

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