adding base extension support
All checks were successful
Build / build (push) Successful in 2m8s
Test / build (push) Successful in 7m17s

This commit is contained in:
2026-01-23 03:23:44 +01:00
parent 27172539e5
commit 37da19ed43
9 changed files with 112 additions and 81 deletions

View File

@@ -3,8 +3,8 @@ module;
struct FragIn
{
[location(0)] time: u32,
[location(1)] dim: vec2[f32],
[location(0)] time: f32,
[location(1)] res: vec2[f32],
[location(2)] pos: vec2[f32],
}
@@ -18,8 +18,8 @@ fn main(input: FragIn) -> FragOut
{
let output: FragOut;
output.color = vec4[f32](
input.pos.x / input.dim.x,
input.pos.y / input.dim.y,
input.pos.x / input.res.x,
input.pos.y / input.res.y,
1.0,
1.0
);