diff --git a/VulkanTutorial.sln b/VulkanTutorial.sln new file mode 100644 index 0000000..fe08491 --- /dev/null +++ b/VulkanTutorial.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 14 +VisualStudioVersion = 14.0.25420.1 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "VulkanTutorial", "VulkanTutorial.vcxproj", "{C109AD30-8B4F-42F7-8979-72F2D2A2C674}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|x64 = Debug|x64 + Debug|x86 = Debug|x86 + Release|x64 = Release|x64 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {C109AD30-8B4F-42F7-8979-72F2D2A2C674}.Debug|x64.ActiveCfg = Debug|x64 + {C109AD30-8B4F-42F7-8979-72F2D2A2C674}.Debug|x64.Build.0 = Debug|x64 + {C109AD30-8B4F-42F7-8979-72F2D2A2C674}.Debug|x86.ActiveCfg = Debug|Win32 + {C109AD30-8B4F-42F7-8979-72F2D2A2C674}.Debug|x86.Build.0 = Debug|Win32 + {C109AD30-8B4F-42F7-8979-72F2D2A2C674}.Release|x64.ActiveCfg = Release|x64 + {C109AD30-8B4F-42F7-8979-72F2D2A2C674}.Release|x64.Build.0 = Release|x64 + {C109AD30-8B4F-42F7-8979-72F2D2A2C674}.Release|x86.ActiveCfg = Release|Win32 + {C109AD30-8B4F-42F7-8979-72F2D2A2C674}.Release|x86.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/VulkanTutorial.vcxproj b/VulkanTutorial.vcxproj new file mode 100644 index 0000000..d8bcd86 --- /dev/null +++ b/VulkanTutorial.vcxproj @@ -0,0 +1,82 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + Debug + x64 + + + Release + x64 + + + + {C109AD30-8B4F-42F7-8979-72F2D2A2C674} + + + + Application + true + v140 + + + Application + false + v140 + + + Application + true + v140 + + + Application + false + v140 + + + + + + + + + + + + + + + + + + + + + D:\Code\GLFW3\include;C:\VulkanSDK\1.0.39.1\Include;$(IncludePath) + C:\VulkanSDK\1.0.39.1\Bin;D:\Code\GLFW3\win64\lib-vc2015;$(LibraryPath) + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/main.cpp b/main.cpp index 04bf053..136eb3c 100644 --- a/main.cpp +++ b/main.cpp @@ -1,6 +1,11 @@ +#pragma comment(lib, "glfw3.lib") +#pragma comment(lib, "vulkan-1.lib") #define GLFW_INCLUDE_VULKAN #include +#if _WIN32 || _WIN64 +#include +#endif #include #include #include diff --git a/shaders/compile.bat b/shaders/compile.bat index 4c87d21..4cd0556 100644 --- a/shaders/compile.bat +++ b/shaders/compile.bat @@ -1,3 +1,3 @@ -C:/VulkanSDK/1.0.30.0/Bin32/glslangValidator.exe -V shader.vert -C:/VulkanSDK/1.0.30.0/Bin32/glslangValidator.exe -V shader.frag +C:/VulkanSDK/1.0.39.1/Bin32/glslangValidator.exe -V shader.vert +C:/VulkanSDK/1.0.39.1/Bin32/glslangValidator.exe -V shader.frag pause \ No newline at end of file