vulkano/examples/shader-include/standard-shaders/common.glsl
marc0246 4c515a81cb
Improve the examples' directory structure (#2375)
* 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
2023-10-29 18:46:14 +01:00

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));
}