vello/shader
Raph Levien 27e6fdd267 Partially revert uniform load of bump.failed
Just load the atomic bump counter directly instead of piping it through a shared variable, when workgroupUniformLoad is not available. The value is in fact dynamically uniform, but that depends on the stage not setting its own failure flag, a fairly subtle invariant.

I think there was a write-after-read hazard for the reuse of sh_part_count[0]. However, doing the experiment of just changing that doesn't fix the problem on mac. It's possible there's a shader compilation problem (possibly the same one as provoking the storageBarrier workaround in tile_alloc), or also possibly a logic error I'm not understanding.

In any case, this change does appear to fix the hangs on mac.

Fixes #267
2023-01-29 09:01:13 -08:00
..
shared Address review feedback 2023-01-18 21:36:32 -05: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 Move the vello crate to the workspace root (#231) 2023-01-05 09:32:09 +00:00
clip_reduce.wgsl Move the vello crate to the workspace root (#231) 2023-01-05 09:32:09 +00:00
coarse.wgsl Partially revert uniform load of bump.failed 2023-01-29 09:01:13 -08:00
draw_leaf.wgsl Move the vello crate to the workspace root (#231) 2023-01-05 09:32:09 +00:00
draw_reduce.wgsl Move the vello crate to the workspace root (#231) 2023-01-05 09:32:09 +00:00
fine.wgsl initial GPU side work for robust memory 2023-01-17 14:08:20 -05: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 Address review feedback 2023-01-18 21:36:32 -05:00
pathseg.wgsl Move the vello crate to the workspace root (#231) 2023-01-05 09:32:09 +00: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
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