pathfinder/resources/shaders
Patrick Walton 478008dcf0 Use all four channels in the mask texture.
Each bundle of four pixels on a scanline is packed into the RGBA channels of
the mask texture. The area LUT is also expanded to be RGBA so that four pixels'
worth of areas can be looked up at once.

Nice improvement on `paris-30k` from MPVG.

Closes #262.
2020-05-05 13:11:37 -07:00
..
gl3 Use all four channels in the mask texture. 2020-05-05 13:11:37 -07:00
metal Use all four channels in the mask texture. 2020-05-05 13:11:37 -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.