Skip to content

Commit 70c5358

Browse files
committed
Updated docs
1 parent b3e5c73 commit 70c5358

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

crates/spirv-std/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ As of `0.4.0-alpha.16`, your shaders will require a different preamble. See [thi
1212

1313
![Sky shader](https://github.com/EmbarkStudios/rust-gpu/raw/b12a2f3f6a54bc841d05a9224bc577909d519228/docs/assets/sky.jpg)
1414

15-
```rust
15+
Here is a small excerpt to see what a shader would look like. See [source][source] for full details of the shader that generates above image.
16+
17+
```rust,norun
1618
use spirv_std::spirv;
1719
use glam::{Vec3, Vec4, vec2, vec3};
1820
@@ -38,8 +40,6 @@ pub fn main(
3840
}
3941
```
4042

41-
See [source][source] for full details.
42-
4343
## Getting started
4444

4545
Check out [The `rust-gpu` Dev Guide][gpu-guide] for information on how to get started with using it in your projects.

0 commit comments

Comments
 (0)