mirror of
https://github.com/gfx-rs/wgpu.git
synced 2025-12-08 21:26:17 +00:00
[rs] Removed unusued Uniform struct in texture-arrays example.
This commit is contained in:
parent
033c896c4f
commit
6fb829d4df
@ -13,12 +13,6 @@ struct Vertex {
|
|||||||
_index: u32,
|
_index: u32,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[repr(C)]
|
|
||||||
#[derive(Clone, Copy, Pod, Zeroable)]
|
|
||||||
struct Uniform {
|
|
||||||
index: u32,
|
|
||||||
}
|
|
||||||
|
|
||||||
fn vertex(pos: [i8; 2], tc: [i8; 2], index: i8) -> Vertex {
|
fn vertex(pos: [i8; 2], tc: [i8; 2], index: i8) -> Vertex {
|
||||||
Vertex {
|
Vertex {
|
||||||
_pos: [pos[0] as f32, pos[1] as f32],
|
_pos: [pos[0] as f32, pos[1] as f32],
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user