File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5469,15 +5469,15 @@ To disable formatting for a block of code, wrap it with `// vfmt off` and
54695469### v shader
54705470
54715471You can use GPU shaders with V graphical apps. You write your shaders in an
5472- [ annotated GLSL dialect] ( https://github.com/vlang/v/blob/1d8ece7 /examples/sokol/02_cubes_glsl/cube_glsl.glsl )
5472+ [ annotated GLSL dialect] ( https://github.com/vlang/v/blob/master /examples/sokol/02_cubes_glsl/cube_glsl.glsl )
54735473and use ` v shader ` to compile them for all supported target platforms.
54745474
54755475``` shell
54765476v shader /path/to/project/dir/or/file.v
54775477```
54785478
54795479Currently you need to
5480- [ include a header and declare a glue function] ( https://github.com/vlang/v/blob/c14c324 /examples/sokol/02_cubes_glsl/cube_glsl.v#L43-L46 )
5480+ [ include a header and declare a glue function] ( https://github.com/vlang/v/blob/master /examples/sokol/02_cubes_glsl/cube_glsl.v#L25-L28 )
54815481before using the shader in your code.
54825482
54835483### Profiling
You can’t perform that action at this time.
0 commit comments