You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks to this (http://reedbeta.com/blog/custom-toolchain-with-msbuild/#example-project) article I was able to put a simple buildtarget for Visual Studio and MSBuild together.
3
3
4
-
You can just add *.frag and *.vert files to your project, you'll need to create it your self in the root of your project where the *.vcxproj is located.
5
-
4
+
You can just add *.frag and *.vert files to your project.
6
5
And set your projects Build Dependency to use VulkanGLSLShaderCompiler.targets, now *.frag and *.vert files are automatically recognized by Visual Studio as VulkanGLSLShader Files and will use the new target.
7
6
8
7
All compiled shader get the .spv extension and are placed in the same output directory as your binary files in the "shader" directory. The output directory can be changed in the .target file, look for the "BinShaderOutPath" parameter.
0 commit comments