Skip to content

Commit 69d462b

Browse files
committed
Make code blocks rust
1 parent 2411fda commit 69d462b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

blog/2024-12-29-rust-gpu-0.10.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ level-of-detail calculations, and custom pipeline logic—all on the GPU.
6666

6767
An example of a Rust GPU mesh shader that outputs a triangle:
6868

69-
```
69+
```rust
7070
use spirv_std::arch::set_mesh_outputs_ext;
7171
use spirv_std::glam::{UVec3, Vec4};
7272
use spirv_std::spirv;
@@ -96,7 +96,7 @@ pub fn main(
9696
An example of a Rust GPU task shader launching mesh shaders with a dispatch size of `[1,
9797
2, 3]`:
9898

99-
```
99+
```rust
100100
use spirv_std::arch::emit_mesh_tasks_ext;
101101
use spirv_std::spirv;
102102

0 commit comments

Comments
 (0)