Remove iced_glow, glyph-brush, and wgpu_glyph dependencies
This commit is contained in:
parent
573d27eb52
commit
b9a9576207
47 changed files with 30 additions and 3846 deletions
4
examples/integration/src/shader/frag.wgsl
Normal file
4
examples/integration/src/shader/frag.wgsl
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
@fragment
|
||||
fn main() -> @location(0) vec4<f32> {
|
||||
return vec4<f32>(1.0, 0.0, 0.0, 1.0);
|
||||
}
|
||||
6
examples/integration/src/shader/vert.wgsl
Normal file
6
examples/integration/src/shader/vert.wgsl
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
@vertex
|
||||
fn main(@builtin(vertex_index) in_vertex_index: u32) -> @builtin(position) vec4<f32> {
|
||||
let x = f32(1 - i32(in_vertex_index)) * 0.5;
|
||||
let y = f32(1 - i32(in_vertex_index & 1u) * 2) * 0.5;
|
||||
return vec4<f32>(x, y, 0.0, 1.0);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue