Skip to content

Commit 8650660

Browse files
committed
Very basic compute shader wired up
This actually runs a compute shader to generate the image.
1 parent df46056 commit 8650660

File tree

11 files changed

+1334
-2
lines changed

11 files changed

+1334
-2
lines changed

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
target
2-
Cargo.lock
2+
.ninja_deps
3+
.ninja_log
4+

compute-shader-toy/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ name = "compute-shader-toy"
33
version = "0.1.0"
44
authors = ["Raph Levien <raph@google.com>"]
55
license = "MIT/Apache-2.0"
6+
description = "A simple compute shader example that draws in a window, based on wgpu."
67
edition = "2018"
78

89
[dependencies]

compute-shader-toy/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
//
1515
// Also licensed under MIT license, at your choice.
1616

17-
//! A simple
17+
//! A simple compute shader example that draws into a window, based on wgpu.
1818
1919
use wgpu::Extent3d;
2020
use winit::{

0 commit comments

Comments
 (0)