Runtime ShaderCompilation with Include Features
This commit is contained in:
@@ -17,10 +17,17 @@
|
||||
#include <vector>
|
||||
#include <string>
|
||||
|
||||
#include "Shader/ShaderCompiler.hpp"
|
||||
|
||||
using namespace OpenVulkano;
|
||||
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
// TEST CASE
|
||||
if (false)
|
||||
ShaderCompiler::CompileGLSLToSpirv(R"(D:\Projects\OpenVulkano\openVulkanoCpp\Shader\grid.vert)", "", "main",
|
||||
shaderc_vertex_shader, false);
|
||||
|
||||
std::vector<std::string> examples = {
|
||||
"Cubes Example App",
|
||||
"Moving Cube Example App",
|
||||
|
||||
Reference in New Issue
Block a user