style: strip trailing whitespace from README.md

This commit is contained in:
Erich Gubler 2022-11-07 13:32:23 -05:00 committed by Jim Blandy
parent 6e026c8c0a
commit c04da7adae

View File

@ -93,7 +93,7 @@ Note that the WGSL specification is still under development,
so the [draft specification][wgsl spec] does not exactly describe what `wgpu` supports. so the [draft specification][wgsl spec] does not exactly describe what `wgpu` supports.
See [below](#tracking-the-webgpu-and-wgsl-draft-specifications) for details. See [below](#tracking-the-webgpu-and-wgsl-draft-specifications) for details.
To enable SPIR-V shaders, enable the `spirv` feature of wgpu. To enable SPIR-V shaders, enable the `spirv` feature of wgpu.
To enable GLSL shaders, enable the `glsl` feature of wgpu. To enable GLSL shaders, enable the `glsl` feature of wgpu.
### Angle ### Angle
@ -101,7 +101,7 @@ To enable GLSL shaders, enable the `glsl` feature of wgpu.
[Angle](http://angleproject.org) is a translation layer from GLES to other backends, developed by Google. [Angle](http://angleproject.org) is a translation layer from GLES to other backends, developed by Google.
We support running our GLES3 backend over it in order to reach platforms with GLES2 or DX11 support, which aren't accessible otherwise. We support running our GLES3 backend over it in order to reach platforms with GLES2 or DX11 support, which aren't accessible otherwise.
In order to run with Angle, "angle" feature has to be enabled, and Angle libraries placed in a location visible to the application. In order to run with Angle, "angle" feature has to be enabled, and Angle libraries placed in a location visible to the application.
These binaries can be downloaded from [gfbuild-angle](https://github.com/DileSoft/gfbuild-angle) artifacts, [manual compilation](https://github.com/google/angle/blob/main/doc/DevSetup.md) may be required on Macs with Apple silicon. These binaries can be downloaded from [gfbuild-angle](https://github.com/DileSoft/gfbuild-angle) artifacts, [manual compilation](https://github.com/google/angle/blob/main/doc/DevSetup.md) may be required on Macs with Apple silicon.
On Windows, you generally need to copy them into the working directory, in the same directory as the executable, or somewhere in your path. On Windows, you generally need to copy them into the working directory, in the same directory as the executable, or somewhere in your path.
On Linux, you can point to them using `LD_LIBRARY_PATH` environment. On Linux, you can point to them using `LD_LIBRARY_PATH` environment.
@ -204,7 +204,7 @@ Exactly which WGSL features `wgpu` supports depends on how you are using it:
for catching up to the WGSL specification, for catching up to the WGSL specification,
but in general there is no up-to-date summary but in general there is no up-to-date summary
of the differences between Naga and the WGSL spec. of the differences between Naga and the WGSL spec.
- When running in a web browser (by compilation to WebAssembly) - When running in a web browser (by compilation to WebAssembly)
without the `"webgl"` feature enabled, without the `"webgl"` feature enabled,
`wgpu` relies on the browser's own WebGPU implementation. `wgpu` relies on the browser's own WebGPU implementation.