bevy/assets
Martin Lysell 594074149d
Fix screenspace_texture example shader compiler error in WebGPU (Browser) (#8682)
# Objective

Fix the screenspace_texture example not working on the WebGPU examples
page. Currently it fails with the following error in the browser
console:

```
1 error(s) generated while compiling the shader:
:213:9 error: redeclaration of 'uv'
    let uv = coords_to_viewport_uv(position.xy, view.viewport);
        ^^

:211:14 note: 'uv' previously declared here
@location(2) uv: vec2<f32>,
```

## Solution

Rename the shader variable `uv` to `viewport_uv` to prevent variable
redeclaration error.
2023-05-25 21:54:29 +00:00
..
android-res/mipmap-mdpi android example polish (#845) 2020-11-11 16:31:16 -08:00
branding Minor Dark/Light Logo Tweak (#4051) 2022-02-27 02:09:42 +00:00
data Asset system rework and GLTF scene loading (#693) 2020-10-18 13:48:15 -07:00
environment_maps EnvironmentMapLight, BRDF Improvements (#7051) 2023-02-09 16:46:32 +00:00
fonts Add the license for the FiraMono font (#3589) 2022-05-06 19:29:43 +00:00
models Add support for custom glTF vertex attributes. (#5370) 2023-04-24 14:20:13 +00:00
pixel Add pixelated Bevy to assets and an example (#6408) 2022-11-14 22:15:46 +00:00
scenes (De) serialize resources in scenes (#6846) 2023-03-20 21:17:02 +00:00
shaders Fix screenspace_texture example shader compiler error in WebGPU (Browser) (#8682) 2023-05-25 21:54:29 +00:00
sounds Add simple collision sound to breakout (#4331) 2022-04-14 20:20:38 +00:00
textures Add parallax mapping to bevy PBR (#5928) 2023-04-15 10:25:14 +00:00