Skip to content

Instantly share code, notes, and snippets.

@Morfly
Last active May 4, 2022 03:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Morfly/f8519a650610ae304d027b55b715be00 to your computer and use it in GitHub Desktop.
Save Morfly/f8519a650610ae304d027b55b715be00 to your computer and use it in GitHub Desktop.
// triangle/main.cpp
...
void createGraphicsPipeline() {
auto vertShaderCode = readFile("triangle/shaders/shader.vert.spv");
auto fragShaderCode = readFile("triangle/shaders/shader.frag.spv");
...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment