Script to inline shader into C header file
OpenGL compiles shader code as text at runtime. It is inconvienent to edit shader code as const char[] inside the C++ source code. This CL contains script that reads file contents, turns them into const char[], and combine them into a header file. BUG=385924 Review-Url: https://codereview.chromium.org/2036023003 Cr-Commit-Position: refs/heads/master@{#398142}
Showing
Please register or sign in to comment