mach/shaderexp
2022-08-22 19:52:05 -07:00
..
example-shaders {examples,shaderexp}: update to new mach/gpu API 2022-08-12 00:43:43 -07:00
black_screen_frag.wgsl {examples,shaderexp}: update to new mach/gpu API 2022-08-12 00:43:43 -07:00
frag.wgsl {examples,shaderexp}: update to new mach/gpu API 2022-08-12 00:43:43 -07:00
main.zig shaderexp: push vertex data into shader 2022-08-22 19:52:05 -07:00
README.md shaderexp: add initial shader explorer tool (#245) 2022-04-21 04:44:02 -07:00
vert.wgsl shaderexp: push vertex data into shader 2022-08-22 19:52:05 -07:00

Shaderexp

This is an executable for testing wgsl shaders on the fly. Build it and run it with: zig build run-shaderexp

Then modify shaderexp/frag.wgsl and save. The window will update and use the new fragment shader. If errors occur, the window will show a black_screen and an error message will be written to stdout.