mirror of
https://github.com/vulkano-rs/vulkano.git
synced 2024-11-22 06:45:23 +00:00
4c515a81cb
* Make each example its own workspace member * Fix runtime-shader example * Fix shader-include example * Fix teapot example * Fix `run_all.sh` * Fix output files getting saved in cwd * Fix spelling for examples readme filename * Remove wrong leftover dependencies for gl-interop * Fix pipeline-cache example * Clearer .gitignore * Help cargo be less useless
11 lines
351 B
GLSL
11 lines
351 B
GLSL
// Include the file `standard-include.glsl` from one of the standard
|
|
// directories.
|
|
#include <standard-include.glsl>
|
|
// Try to locate the file `relative-include.glsl` in a sibling directory
|
|
// and include it.
|
|
#include "../relative-shaders/relative-include.glsl"
|
|
|
|
uint multiply_by_12(in uint arg) {
|
|
return 2 * multiply_by_3(multiply_by_2(arg));
|
|
}
|