summaryrefslogtreecommitdiffstats
path: root/wgpu/src/shader/image.wgsl
diff options
context:
space:
mode:
authorLibravatar Jim Eckerlein <jim.eckerlein@icloud.com>2023-09-24 15:26:10 +0200
committerLibravatar Jim Eckerlein <jim.eckerlein@icloud.com>2023-09-24 15:26:10 +0200
commit41dec5bd203ff5b1574a33a17d5f7358ae1beea2 (patch)
tree2c65672612ada8aefee0a813f2b3a3039171bc26 /wgpu/src/shader/image.wgsl
parent5fb877ab5984dd1c4a3f3dcccf87103393da4e0c (diff)
downloadiced-41dec5bd203ff5b1574a33a17d5f7358ae1beea2.tar.gz
iced-41dec5bd203ff5b1574a33a17d5f7358ae1beea2.tar.bz2
iced-41dec5bd203ff5b1574a33a17d5f7358ae1beea2.zip
Reassign attribute locations for image shader
Diffstat (limited to 'wgpu/src/shader/image.wgsl')
-rw-r--r--wgpu/src/shader/image.wgsl10
1 files changed, 5 insertions, 5 deletions
diff --git a/wgpu/src/shader/image.wgsl b/wgpu/src/shader/image.wgsl
index 0c8b3bdb..7b2e5238 100644
--- a/wgpu/src/shader/image.wgsl
+++ b/wgpu/src/shader/image.wgsl
@@ -8,11 +8,11 @@ struct Globals {
struct VertexInput {
@builtin(vertex_index) vertex_index: u32,
- @location(1) pos: vec2<f32>,
- @location(2) scale: vec2<f32>,
- @location(3) atlas_pos: vec2<f32>,
- @location(4) atlas_scale: vec2<f32>,
- @location(5) layer: i32,
+ @location(0) pos: vec2<f32>,
+ @location(1) scale: vec2<f32>,
+ @location(2) atlas_pos: vec2<f32>,
+ @location(3) atlas_scale: vec2<f32>,
+ @location(4) layer: i32,
}
struct VertexOutput {