billzez
billzez
This is useful for GUIs and drop shadows. NanoVG shader implements box, linear, and radial using the shader below, but obviously it only supports two color stops. https://github.com/memononen/nanovg/blob/master/src/nanovg_gl.h#L638
These definitions no longer match the bionic source code. Also, this line was a compilation error: ``` __reserved: [12]u8 = [_]u8{0} ** 2 ```
### Zig Version 0.11.0-dev.5 ### Steps to Reproduce and Observed Behavior ```zig const U = union(enum) {}; fn f2(u: U) void { _ = u; } pub fn main() void...
### Zig Version 0.11.0-dev.63+8c4faa5f3 ### Steps to Reproduce and Observed Behavior I used to be able to create error unions using `@field`: ``` const std = @import("std"); pub fn main()...