bkaradzic / GENie

GENie - Project generator tool
Other
905 stars 168 forks source link

.glsl shader files compile to .spv #482

Open marijuESAT opened 5 years ago

marijuESAT commented 5 years ago

I am working with "custombuildtask" in order to automatically compile my glsl shaders to spir-v but even though I achieved that in a raw vs2017 project I am not being able to configure it in a correct way with GENIe.

This is where I arrived so far:

custombuildtask {
    {"project/shaders/triangle.vert.glsl", "project/shaders/triangle.vert.spv", 
    {"%(FullPath)"}, {"$(VULKAN_SDK)\\Bin\\glslangValidator %(FullPath) -V -o "}},
  }

This code is down a project scope, is that correct? Any help?