pathfinder/resources/shaders
Patrick Walton 42289eec6e Fix Metal memory management and the `canvas_metal_minimal`, `canvas_nanovg`,
and `macos_app` examples.

`winit` does not create an autorelease pool, so the Metal backend had not taken
the presence of one into account. Now the Metal backend creates and flushes
autorelease pools as necessary.

Closes #334.
Closes #376.
2020-06-29 12:48:49 -07:00
..
gl3 Rework the blit shader 2020-06-23 13:15:59 -07:00
gl4 Fix Metal memory management and the `canvas_metal_minimal`, `canvas_nanovg`, 2020-06-29 12:48:49 -07:00
metal Fix Metal memory management and the `canvas_metal_minimal`, `canvas_nanovg`, 2020-06-29 12:48:49 -07:00
README.md Add Metal shaders, cross-compiled from the GLSL via SPIR-V. 2019-06-05 18:29:25 -07:00

README.md

This directory contains postprocessed versions of the shaders in the top-level shaders/ directory, for convenience. Don't modify the shaders here; instead modify the corresponding shaders in shaders/ and rerun make in that directory.

You will need glslangValidator and spirv-cross installed to execute the Makefile. On macOS, you can get these with brew install glslang spirv-cross.