wgpu/examples/src
Erich Gubler 765c20235e
refactor: use include_wgsl!(…) more (#6326)
This change uses `include_wgsl!(…)` in usages where an
`include_str!("….wgsl")` was used to construct
a `ShaderModuleDescriptor`'s `source, but the `label` was set to `None`.
This should (1) showcase a nice idiomatic convenience we offer in our
examples better, (2) make code more concise, and (3) get some
automatically generated labels in diagnostics where it seems it won't
hurt.
2024-09-26 08:47:57 +02:00
..
boids refactor: use include_wgsl!(…) more (#6326) 2024-09-26 08:47:57 +02:00
bunnymark Make bind group an Option for set_bind_group calls. (#6216) 2024-09-06 14:29:09 -07:00
conservative_raster refactor: use include_wgsl!(…) more (#6326) 2024-09-26 08:47:57 +02:00
cube refactor: use include_wgsl!(…) more (#6326) 2024-09-26 08:47:57 +02:00
hello [example hello] Produce output when run in the usual way. 2024-07-04 00:24:59 -07:00
hello_compute refactor: use include_wgsl!(…) more (#6326) 2024-09-26 08:47:57 +02:00
hello_synchronization refactor: use include_wgsl!(…) more (#6326) 2024-09-26 08:47:57 +02:00
hello_triangle feat(shader)!: make ProgrammableStage::entry_point optional 2024-07-24 07:40:00 -04:00
hello_windows Expose gpu allocation configuration options (#5875) 2024-07-08 14:49:44 +02:00
hello_workgroups refactor: use include_wgsl!(…) more (#6326) 2024-09-26 08:47:57 +02:00
mipmap refactor: use include_wgsl!(…) more (#6326) 2024-09-26 08:47:57 +02:00
msaa_line refactor: use include_wgsl!(…) more (#6326) 2024-09-26 08:47:57 +02:00
render_to_texture refactor: use include_wgsl!(…) more (#6326) 2024-09-26 08:47:57 +02:00
repeated_compute refactor: use include_wgsl!(…) more (#6326) 2024-09-26 08:47:57 +02:00
shadow refactor: use include_wgsl!(…) more (#6326) 2024-09-26 08:47:57 +02:00
skybox refactor: use include_wgsl!(…) more (#6326) 2024-09-26 08:47:57 +02:00
srgb_blend refactor: use include_wgsl!(…) more (#6326) 2024-09-26 08:47:57 +02:00
stencil_triangles refactor: use include_wgsl!(…) more (#6326) 2024-09-26 08:47:57 +02:00
storage_texture refactor: use include_wgsl!(…) more (#6326) 2024-09-26 08:47:57 +02:00
texture_arrays Make bind group an Option for set_bind_group calls. (#6216) 2024-09-06 14:29:09 -07:00
timestamp_queries refactor: use include_wgsl!(…) more (#6326) 2024-09-26 08:47:57 +02:00
uniform_values refactor: use include_wgsl!(…) more (#6326) 2024-09-26 08:47:57 +02:00
water refactor: use include_wgsl!(…) more (#6326) 2024-09-26 08:47:57 +02:00
framework.rs Expose gpu allocation configuration options (#5875) 2024-07-08 14:49:44 +02:00
lib.rs Bump Many Dependencies and MSRV (#5241) 2024-02-27 14:43:05 -05:00
main.rs style: simplify string formatting for readability (#6316) 2024-09-24 23:40:53 -04:00
utils.rs Move to A Single Example Executable (#4756) 2023-11-23 05:26:42 -05:00