vello/piet-gpu/shader/gen
Raph Levien 0cf370f9c7 Mostly working rendering
This exposes interfaces to render glyphs into a texture atlas. The main changes are:

* Methods to plumb raw Metal GPU resources (device, texture, etc) into piet-gpu-hal objects.

* A new glyph_render API specialized to rendering glyphs. This is basically the same as just painting to a canvas, but will allow better caching (and has more direct access to fonts, bypassing the Piet font type which is underdeveloped).

* Ability to render to A8 target in addition to RGBA.

WIP, there are some rough edges, not least of which is that the image format changes are only on mac and cause compile errors elsewhere.
2022-01-19 12:10:51 -08:00
..
backdrop.dxil Mostly working rendering 2022-01-19 12:10:51 -08:00
backdrop.hlsl Make shaders cross-platform 2021-12-03 15:49:58 -08:00
backdrop.msl Make shaders cross-platform 2021-12-03 15:49:58 -08:00
backdrop.spv Make shaders cross-platform 2021-12-03 15:49:58 -08:00
backdrop_lg.dxil Mostly working rendering 2022-01-19 12:10:51 -08:00
backdrop_lg.hlsl Make shaders cross-platform 2021-12-03 15:49:58 -08:00
backdrop_lg.msl Make shaders cross-platform 2021-12-03 15:49:58 -08:00
backdrop_lg.spv Make shaders cross-platform 2021-12-03 15:49:58 -08:00
bbox_clear.dxil Mostly working rendering 2022-01-19 12:10:51 -08:00
bbox_clear.hlsl Make shaders cross-platform 2021-12-03 15:49:58 -08:00
bbox_clear.msl Beginnings of new element pipeline 2021-12-03 15:33:01 -08:00
bbox_clear.spv Beginnings of new element pipeline 2021-12-03 15:33:01 -08:00
binning.dxil Mostly working rendering 2022-01-19 12:10:51 -08:00
binning.hlsl Adjust workgroup sizes 2021-12-08 11:48:38 -08:00
binning.msl Adjust workgroup sizes 2021-12-08 11:48:38 -08:00
binning.spv Adjust workgroup sizes 2021-12-08 11:48:38 -08:00
coarse.dxil Mostly working rendering 2022-01-19 12:10:51 -08:00
coarse.hlsl Make shaders cross-platform 2021-12-03 15:49:58 -08:00
coarse.msl Make shaders cross-platform 2021-12-03 15:49:58 -08:00
coarse.spv Make shaders cross-platform 2021-12-03 15:49:58 -08:00
draw_leaf.dxil Mostly working rendering 2022-01-19 12:10:51 -08:00
draw_leaf.hlsl Adjust workgroup sizes 2021-12-08 11:48:38 -08:00
draw_leaf.msl Adjust workgroup sizes 2021-12-08 11:48:38 -08:00
draw_leaf.spv Adjust workgroup sizes 2021-12-08 11:48:38 -08:00
draw_reduce.dxil Mostly working rendering 2022-01-19 12:10:51 -08:00
draw_reduce.hlsl Adjust workgroup sizes 2021-12-08 11:48:38 -08:00
draw_reduce.msl Adjust workgroup sizes 2021-12-08 11:48:38 -08:00
draw_reduce.spv Adjust workgroup sizes 2021-12-08 11:48:38 -08:00
draw_root.dxil Mostly working rendering 2022-01-19 12:10:51 -08:00
draw_root.hlsl Adjust workgroup sizes 2021-12-08 11:48:38 -08:00
draw_root.msl Adjust workgroup sizes 2021-12-08 11:48:38 -08:00
draw_root.spv Adjust workgroup sizes 2021-12-08 11:48:38 -08:00
kernel4.dxil Mostly working rendering 2022-01-19 12:10:51 -08:00
kernel4.hlsl Make shaders cross-platform 2021-12-03 15:49:58 -08:00
kernel4.msl Make shaders cross-platform 2021-12-03 15:49:58 -08:00
kernel4.spv Make shaders cross-platform 2021-12-03 15:49:58 -08:00
path_coarse.dxil Mostly working rendering 2022-01-19 12:10:51 -08:00
path_coarse.hlsl Make shaders cross-platform 2021-12-03 15:49:58 -08:00
path_coarse.msl Make shaders cross-platform 2021-12-03 15:49:58 -08:00
path_coarse.spv Make shaders cross-platform 2021-12-03 15:49:58 -08:00
pathseg.dxil Mostly working rendering 2022-01-19 12:10:51 -08:00
pathseg.hlsl Adjust workgroup sizes 2021-12-08 11:48:38 -08:00
pathseg.msl Adjust workgroup sizes 2021-12-08 11:48:38 -08:00
pathseg.spv Adjust workgroup sizes 2021-12-08 11:48:38 -08:00
pathtag_reduce.dxil Mostly working rendering 2022-01-19 12:10:51 -08:00
pathtag_reduce.hlsl Adjust workgroup sizes 2021-12-08 11:48:38 -08:00
pathtag_reduce.msl Adjust workgroup sizes 2021-12-08 11:48:38 -08:00
pathtag_reduce.spv Adjust workgroup sizes 2021-12-08 11:48:38 -08:00
pathtag_root.dxil Mostly working rendering 2022-01-19 12:10:51 -08:00
pathtag_root.hlsl Adjust workgroup sizes 2021-12-08 11:48:38 -08:00
pathtag_root.msl Adjust workgroup sizes 2021-12-08 11:48:38 -08:00
pathtag_root.spv Adjust workgroup sizes 2021-12-08 11:48:38 -08:00
tile_alloc.dxil Mostly working rendering 2022-01-19 12:10:51 -08:00
tile_alloc.hlsl Adjust workgroup sizes 2021-12-08 11:48:38 -08:00
tile_alloc.msl Adjust workgroup sizes 2021-12-08 11:48:38 -08:00
tile_alloc.spv Adjust workgroup sizes 2021-12-08 11:48:38 -08:00
transform_leaf.dxil Mostly working rendering 2022-01-19 12:10:51 -08:00
transform_leaf.hlsl Adjust workgroup sizes 2021-12-08 11:48:38 -08:00
transform_leaf.msl Adjust workgroup sizes 2021-12-08 11:48:38 -08:00
transform_leaf.spv Adjust workgroup sizes 2021-12-08 11:48:38 -08:00
transform_reduce.dxil Mostly working rendering 2022-01-19 12:10:51 -08:00
transform_reduce.hlsl Adjust workgroup sizes 2021-12-08 11:48:38 -08:00
transform_reduce.msl Adjust workgroup sizes 2021-12-08 11:48:38 -08:00
transform_reduce.spv Adjust workgroup sizes 2021-12-08 11:48:38 -08:00
transform_root.dxil Mostly working rendering 2022-01-19 12:10:51 -08:00
transform_root.hlsl Adjust workgroup sizes 2021-12-08 11:48:38 -08:00
transform_root.msl Adjust workgroup sizes 2021-12-08 11:48:38 -08:00
transform_root.spv Adjust workgroup sizes 2021-12-08 11:48:38 -08:00