487577a11b
This commit substantially reworks the `pathfinder_gpu` API to better support modern APIs like Metal. It should open the door to `gfx-rs`, `wgpu`, Vulkan, and D3D12 backends relatively straightforwardly. A new example, `canvas_metal_minimal`, has been added. Note that the new Metal shaders require a patched version of `spirv-cross` to build properly. An upstream patch is forthcoming. |
||
---|---|---|
.. | ||
gl3 | ||
metal | ||
README.md |
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
.