vello/shader
Chad Brokaw 5e1188f968 replace branches with chained selects
This exchanges the per-pixel branching with additional ALU + selects. My expectation is that this will be faster, but that may be hardware/driver dependent and likely requires profiling and examination of generated code.

The original code is kept in a comment with notes to explain the more obfuscated select version.
2023-05-11 12:37:36 -04:00
..
shared rework radial gradients 2023-05-09 18:09:53 -04:00
backdrop.wgsl Move the vello crate to the workspace root (#231) 2023-01-05 09:32:09 +00:00
backdrop_dyn.wgsl Move the vello crate to the workspace root (#231) 2023-01-05 09:32:09 +00:00
bbox_clear.wgsl Move the vello crate to the workspace root (#231) 2023-01-05 09:32:09 +00:00
binning.wgsl Address review feedback 2023-01-18 21:36:32 -05:00
clip_leaf.wgsl [shaders] Explicitly guard writes to clip_bboxes 2023-04-21 18:43:51 -07:00
clip_reduce.wgsl Move the vello crate to the workspace root (#231) 2023-01-05 09:32:09 +00:00
coarse.wgsl rework radial gradients 2023-05-09 18:09:53 -04:00
draw_leaf.wgsl rework radial gradients 2023-05-09 18:09:53 -04:00
draw_reduce.wgsl Move the vello crate to the workspace root (#231) 2023-01-05 09:32:09 +00:00
fine.wgsl replace branches with chained selects 2023-05-11 12:37:36 -04:00
path_coarse.wgsl Move the vello crate to the workspace root (#231) 2023-01-05 09:32:09 +00:00
path_coarse_full.wgsl Add check for division-by-zero in path_coarse_full 2023-04-23 16:28:52 -07:00
pathseg.wgsl rework radial gradients 2023-05-09 18:09:53 -04:00
pathtag_reduce.wgsl Move the vello crate to the workspace root (#231) 2023-01-05 09:32:09 +00:00
pathtag_reduce2.wgsl Support for larger pathtags 2023-01-05 14:25:21 -08:00
pathtag_scan.wgsl Fix missing barriers in the pathtag_scans (#255) 2023-01-16 20:20:20 +00:00
pathtag_scan1.wgsl Fix missing barriers in the pathtag_scans (#255) 2023-01-16 20:20:20 +00:00
permutations Playing with shader permutations and AOT compilation 2023-03-29 10:38:10 -07:00
tile_alloc.wgsl Partially revert uniform load of bump.failed 2023-01-29 09:01:13 -08:00
UNLICENSE Move the vello crate to the workspace root (#231) 2023-01-05 09:32:09 +00:00