| 28 | } |
| 29 | |
| 30 | static bool |
| 31 | assembleFile(Shader &shader, |
| 32 | const std::string &path) |
| 33 | { |
| 34 | std::string src; |
| 35 | |
| 36 | if (!readFile(path, src)) { |
| 37 | return false; |
| 38 | } |
| 39 | |
| 40 | return assembleShaderCode(shader, src); |
| 41 | } |
| 42 | |
| 43 | int main(int argc, char **argv) |
| 44 | { |
no test coverage detected