PoC of custom shaders for Piglet
				This is a PoC for compiling Piglet fragment shaders using Mesa3D.
- You need to provide a compatible vertex shader, it’s needed because Mesa3D compiles both shaders at once.
 - At most one sampler is currently supported.
 - This a PoC and can break at any time.
 
victim.c is loosely based on this EGL sample
Dependencies
Usage
cd compiler
make
bash compile.sh vertex.glsl fragment.glsl output.bin # only outputs the fragment part for now
GitHub