diff --git a/crates/spirv-std/README.md b/crates/spirv-std/README.md index 72cb236f7f..573f797018 100644 --- a/crates/spirv-std/README.md +++ b/crates/spirv-std/README.md @@ -12,7 +12,9 @@ As of `0.4.0-alpha.16`, your shaders will require a different preamble. See [thi ![Sky shader](https://github.com/EmbarkStudios/rust-gpu/raw/b12a2f3f6a54bc841d05a9224bc577909d519228/docs/assets/sky.jpg) -```rust +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. + +```rust,norun use spirv_std::spirv; use glam::{Vec3, Vec4, vec2, vec3}; @@ -38,8 +40,6 @@ pub fn main( } ``` -See [source][source] for full details. - ## Getting started Check out [The `rust-gpu` Dev Guide][gpu-guide] for information on how to get started with using it in your projects.