summaryrefslogtreecommitdiffstats
path: root/examples/integration/src/shader/frag.wgsl
diff options
context:
space:
mode:
Diffstat (limited to 'examples/integration/src/shader/frag.wgsl')
-rw-r--r--examples/integration/src/shader/frag.wgsl4
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/integration/src/shader/frag.wgsl b/examples/integration/src/shader/frag.wgsl
new file mode 100644
index 00000000..cf27bb56
--- /dev/null
+++ b/examples/integration/src/shader/frag.wgsl
@@ -0,0 +1,4 @@
+@fragment
+fn main() -> @location(0) vec4<f32> {
+ return vec4<f32>(1.0, 0.0, 0.0, 1.0);
+}