Implement shader compiling