Reassign attribute locations for image shader
This commit is contained in:
parent
5fb877ab59
commit
41dec5bd20
2 changed files with 12 additions and 7 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue