pixels/examples
Jay Oster c4df23f65d
Update to wgpu 0.9 (#179)
* Update to wgpu 0.9

* Fix validation error in WGSL shader

- This moves the hardcoded vertex positions and texture coordinates to
  the vertex buffer.
- Replaces the two-triangle quad to 1 full-screen triangle (fixes #180)
- Rewrites the custom shader example to fix a bug with large surface
  textures;
  - The input texture size was used for the output texture, causing the
    purple rectangle to appear very jumpy on large displays in full screen.
- The `ScalingRenderer` now exposes its clipping rectangle. The custom
  shader example uses this for its own clipping rectangle, but it can
  also be used for interacting with the border in general.

* Switch to `wgpu::include_wgsl!()`

- This is a nice little simplification.
- Thanks to @JMS55 for the suggestion!
2021-06-27 11:09:29 -07:00
..
conway Update to wgpu 0.9 (#179) 2021-06-27 11:09:29 -07:00
custom-shader Update to wgpu 0.9 (#179) 2021-06-27 11:09:29 -07:00
egui-winit Update to wgpu 0.9 (#179) 2021-06-27 11:09:29 -07:00
imgui-winit Update to wgpu 0.9 (#179) 2021-06-27 11:09:29 -07:00
invaders Update to wgpu 0.9 (#179) 2021-06-27 11:09:29 -07:00
minimal-fltk Update fltk (#169) 2021-05-29 03:27:33 -07:00
minimal-sdl2 Rename resize to resize_surface (#149) 2021-03-09 04:15:24 -08:00
minimal-winit Update winit to 0.25 (#168) 2021-05-29 02:18:48 -07:00
raqote-winit Update dependencies and prepare release (#177) 2021-06-17 20:00:24 -07:00