diff options
| author | skal <pascal.massimino@gmail.com> | 2026-02-12 07:45:25 +0100 |
|---|---|---|
| committer | skal <pascal.massimino@gmail.com> | 2026-02-12 07:45:25 +0100 |
| commit | 17f23e3773f2ec295736d229f2e1e6101bcaf90c (patch) | |
| tree | 6a8eec0ad9f0357e300bd90d647c4a3899f3ddb4 /test_passthrough.wgsl | |
| parent | 9595e9efaf343a8d37c9641eeb89f1c847a568a6 (diff) | |
remove some artefacts. update docs.
Diffstat (limited to 'test_passthrough.wgsl')
| -rw-r--r-- | test_passthrough.wgsl | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/test_passthrough.wgsl b/test_passthrough.wgsl deleted file mode 100644 index 1e5f52a..0000000 --- a/test_passthrough.wgsl +++ /dev/null @@ -1,10 +0,0 @@ -@vertex fn vs_main(@builtin(vertex_index) i: u32) -> @builtin(position) vec4<f32> { - var pos = array<vec2<f32>, 3>( - vec2<f32>(-1.0, -1.0), vec2<f32>(3.0, -1.0), vec2<f32>(-1.0, 3.0) - ); - return vec4<f32>(pos[i], 0.0, 1.0); -} - -@fragment fn fs_main(@builtin(position) p: vec4<f32>) -> @location(0) vec4<f32> { - return vec4<f32>(1.0, 0.0, 0.0, 1.0); // Solid red -} |
