Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.glsl shader files compile to .spv #482

Open
marijuESAT opened this issue Nov 10, 2019 · 0 comments
Open

.glsl shader files compile to .spv #482

marijuESAT opened this issue Nov 10, 2019 · 0 comments

Comments

@marijuESAT
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@marijuESAT and others