f8209946e3 | ||
---|---|---|
.. | ||
d3d9 | ||
d3d11 | ||
debug | ||
Makefile | ||
README.md | ||
blit.fs.glsl | ||
blit.vs.glsl | ||
clear.fs.glsl | ||
clear.vs.glsl | ||
demo_ground.fs.glsl | ||
demo_ground.vs.glsl | ||
fill_area.inc.glsl | ||
reproject.fs.glsl | ||
reproject.vs.glsl | ||
stencil.fs.glsl | ||
stencil.vs.glsl | ||
tile_fragment.inc.glsl | ||
tile_vertex.inc.glsl |
README.md
Building the shaders
You will need glslangValidator
and spirv-cross
installed to execute the
Makefile from this directory. You can speed up the build by parallelizing the
build: make -j
.
macOS
You can use Homebrew to install the dependencies:
brew install glslang spirv-cross
Windows
glslangValidator
and spirv-cross
are available by installing the
Vulkan SDK. You'll also need some commands
like make
, rm
, etc. These are available on the
Windows Subsystem for Linux
shell. You'll need to set these environment variables for make
to succeed:
export GLSLANG=glslangValidator.exe
export SPIRVCROSS=spirv-cross.exe