source: opengl-game/VulkanGame.vcxproj@ a3cefaa

feature/imgui-sdl
Last change on this file since a3cefaa was a3cefaa, checked in by Dmitry Portnoy <dportnoy@…>, 3 years ago

Move SSBO resizing and pipeline recreation checks out of addObject() and into updateScene() so that those operations are only done at most once per pipeline per frame, using vkUpdateDescriptorSets() instead of recreating the whole graphics pipeline, and create a VulkanBuffer class for managing data related to uniform buffers and shader storage buffers, move objectCapacity and numObjects out of GraphicsPipeline_vulkan and use VulkanBuffer to manage them instead

  • Property mode set to 100644
File size: 10.1 KB
Line 
1<?xml version="1.0" encoding="utf-8"?>
2<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3 <ItemGroup Label="ProjectConfigurations">
4 <ProjectConfiguration Include="Debug|Win32">
5 <Configuration>Debug</Configuration>
6 <Platform>Win32</Platform>
7 </ProjectConfiguration>
8 <ProjectConfiguration Include="Release|Win32">
9 <Configuration>Release</Configuration>
10 <Platform>Win32</Platform>
11 </ProjectConfiguration>
12 <ProjectConfiguration Include="Debug|x64">
13 <Configuration>Debug</Configuration>
14 <Platform>x64</Platform>
15 </ProjectConfiguration>
16 <ProjectConfiguration Include="Release|x64">
17 <Configuration>Release</Configuration>
18 <Platform>x64</Platform>
19 </ProjectConfiguration>
20 </ItemGroup>
21 <PropertyGroup Label="Globals">
22 <VCProjectVersion>16.0</VCProjectVersion>
23 <ProjectGuid>{3489E223-6118-49E3-98F3-8887B68AC32F}</ProjectGuid>
24 <RootNamespace>VulkanGame</RootNamespace>
25 <WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
26 </PropertyGroup>
27 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
28 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
29 <ConfigurationType>Application</ConfigurationType>
30 <UseDebugLibraries>true</UseDebugLibraries>
31 <PlatformToolset>v142</PlatformToolset>
32 <CharacterSet>MultiByte</CharacterSet>
33 </PropertyGroup>
34 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
35 <ConfigurationType>Application</ConfigurationType>
36 <UseDebugLibraries>false</UseDebugLibraries>
37 <PlatformToolset>v142</PlatformToolset>
38 <WholeProgramOptimization>true</WholeProgramOptimization>
39 <CharacterSet>MultiByte</CharacterSet>
40 </PropertyGroup>
41 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
42 <ConfigurationType>Application</ConfigurationType>
43 <UseDebugLibraries>true</UseDebugLibraries>
44 <PlatformToolset>v142</PlatformToolset>
45 <CharacterSet>MultiByte</CharacterSet>
46 </PropertyGroup>
47 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
48 <ConfigurationType>Application</ConfigurationType>
49 <UseDebugLibraries>false</UseDebugLibraries>
50 <PlatformToolset>v142</PlatformToolset>
51 <WholeProgramOptimization>true</WholeProgramOptimization>
52 <CharacterSet>MultiByte</CharacterSet>
53 </PropertyGroup>
54 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
55 <ImportGroup Label="ExtensionSettings">
56 </ImportGroup>
57 <ImportGroup Label="Shared">
58 </ImportGroup>
59 <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
60 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
61 </ImportGroup>
62 <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
63 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
64 </ImportGroup>
65 <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
66 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
67 </ImportGroup>
68 <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
69 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
70 </ImportGroup>
71 <PropertyGroup Label="UserMacros" />
72 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
73 <IncludePath>include;$(VULKAN_SDK)/Include;$(VULKAN_SDK)/Third-Party/Include;$(IncludePath)</IncludePath>
74 <LibraryPath>lib;$(VULKAN_SDK)/Lib;$(LibraryPath)</LibraryPath>
75 </PropertyGroup>
76 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
77 <IncludePath>include;$(VULKAN_SDK)/Include;$(VULKAN_SDK)/Third-Party/Include;$(IncludePath)</IncludePath>
78 <LibraryPath>lib;$(VULKAN_SDK)/Lib;$(LibraryPath)</LibraryPath>
79 </PropertyGroup>
80 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
81 <ClCompile>
82 <WarningLevel>Level3</WarningLevel>
83 <Optimization>Disabled</Optimization>
84 <SDLCheck>true</SDLCheck>
85 <ConformanceMode>true</ConformanceMode>
86 <LanguageStandard>stdcpp17</LanguageStandard>
87 <PreprocessorDefinitions>_CRT_SECURE_NO_WARNINGS;GAMEGUI_INCLUDE_VULKAN;%(PreprocessorDefinitions)</PreprocessorDefinitions>
88 <AdditionalIncludeDirectories>
89 </AdditionalIncludeDirectories>
90 </ClCompile>
91 <Link>
92 <SubSystem>Console</SubSystem>
93 <AdditionalDependencies>SDL2.lib;SDL2main.lib;SDL2_image.lib;SDL2_ttf.lib;vulkan-1.lib;%(AdditionalDependencies)</AdditionalDependencies>
94 </Link>
95 </ItemDefinitionGroup>
96 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
97 <ClCompile>
98 <WarningLevel>Level3</WarningLevel>
99 <Optimization>Disabled</Optimization>
100 <SDLCheck>true</SDLCheck>
101 <ConformanceMode>true</ConformanceMode>
102 </ClCompile>
103 <Link>
104 <SubSystem>Console</SubSystem>
105 </Link>
106 </ItemDefinitionGroup>
107 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
108 <ClCompile>
109 <WarningLevel>Level3</WarningLevel>
110 <Optimization>MaxSpeed</Optimization>
111 <FunctionLevelLinking>true</FunctionLevelLinking>
112 <IntrinsicFunctions>true</IntrinsicFunctions>
113 <SDLCheck>true</SDLCheck>
114 <ConformanceMode>true</ConformanceMode>
115 </ClCompile>
116 <Link>
117 <SubSystem>Console</SubSystem>
118 <EnableCOMDATFolding>true</EnableCOMDATFolding>
119 <OptimizeReferences>true</OptimizeReferences>
120 </Link>
121 </ItemDefinitionGroup>
122 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
123 <ClCompile>
124 <WarningLevel>Level3</WarningLevel>
125 <Optimization>MaxSpeed</Optimization>
126 <FunctionLevelLinking>true</FunctionLevelLinking>
127 <IntrinsicFunctions>true</IntrinsicFunctions>
128 <SDLCheck>true</SDLCheck>
129 <ConformanceMode>true</ConformanceMode>
130 <LanguageStandard>stdcpp17</LanguageStandard>
131 <PreprocessorDefinitions>_CRT_SECURE_NO_WARNINGS;GAMEGUI_INCLUDE_VULKAN;%(PreprocessorDefinitions)</PreprocessorDefinitions>
132 </ClCompile>
133 <Link>
134 <SubSystem>Console</SubSystem>
135 <EnableCOMDATFolding>true</EnableCOMDATFolding>
136 <OptimizeReferences>true</OptimizeReferences>
137 <AdditionalDependencies>SDL2.lib;SDL2main.lib;SDL2_image.lib;SDL2_ttf.lib;vulkan-1.lib;%(AdditionalDependencies)</AdditionalDependencies>
138 </Link>
139 </ItemDefinitionGroup>
140 <ItemGroup>
141 <ClCompile Include="crash-logger.cpp" />
142 <ClCompile Include="FileStackWalker.cpp" />
143 <ClCompile Include="game-gui-sdl.cpp" />
144 <ClCompile Include="gui\imgui\button-imgui.cpp" />
145 <ClCompile Include="gui\imgui\ui-widget.cpp" />
146 <ClCompile Include="IMGUI\imgui.cpp" />
147 <ClCompile Include="IMGUI\imgui_demo.cpp" />
148 <ClCompile Include="IMGUI\imgui_draw.cpp" />
149 <ClCompile Include="IMGUI\imgui_impl_sdl.cpp" />
150 <ClCompile Include="IMGUI\imgui_impl_vulkan.cpp" />
151 <ClCompile Include="IMGUI\imgui_widgets.cpp" />
152 <ClCompile Include="logger.cpp" />
153 <ClCompile Include="main-vulkan.cpp" />
154 <ClCompile Include="sdl-game.cpp" />
155 <ClCompile Include="StackWalker.cpp" />
156 <ClCompile Include="utils.cpp" />
157 <ClCompile Include="vulkan-game.cpp" />
158 <ClCompile Include="vulkan-utils.cpp" />
159 </ItemGroup>
160 <ItemGroup>
161 <ClInclude Include="compiler.hpp" />
162 <ClInclude Include="consts.hpp" />
163 <ClInclude Include="crash-logger.hpp" />
164 <ClInclude Include="FileStackWalker.h" />
165 <ClInclude Include="game-gui-sdl.hpp" />
166 <ClInclude Include="game-gui.hpp" />
167 <ClInclude Include="graphics-pipeline.hpp" />
168 <ClInclude Include="graphics-pipeline_vulkan.hpp" />
169 <ClInclude Include="gui\imgui\button-imgui.hpp" />
170 <ClInclude Include="gui\imgui\ui-widget.hpp" />
171 <ClInclude Include="IMGUI\imconfig.h" />
172 <ClInclude Include="IMGUI\imgui.h" />
173 <ClInclude Include="IMGUI\imgui_impl_sdl.h" />
174 <ClInclude Include="IMGUI\imgui_impl_vulkan.h" />
175 <ClInclude Include="IMGUI\imgui_internal.h" />
176 <ClInclude Include="IMGUI\imstb_rectpack.h" />
177 <ClInclude Include="IMGUI\imstb_textedit.h" />
178 <ClInclude Include="IMGUI\imstb_truetype.h" />
179 <ClInclude Include="logger.hpp" />
180 <ClInclude Include="sdl-game.hpp" />
181 <ClInclude Include="StackWalker.h" />
182 <ClInclude Include="utils.hpp" />
183 <ClInclude Include="vulkan-buffer.hpp" />
184 <ClInclude Include="vulkan-game.hpp" />
185 <ClInclude Include="vulkan-utils.hpp" />
186 </ItemGroup>
187 <ItemGroup>
188 <None Include="assets\laser.xcf" />
189 <None Include="shaders\asteroid.frag" />
190 <None Include="shaders\asteroid.vert" />
191 <None Include="shaders\explosion.frag" />
192 <None Include="shaders\explosion.vert" />
193 <None Include="shaders\laser.frag" />
194 <None Include="shaders\laser.vert" />
195 <None Include="shaders\overlay.frag" />
196 <None Include="shaders\overlay.vert" />
197 <None Include="shaders\model.frag" />
198 <None Include="shaders\model.vert" />
199 <None Include="shaders\ship.frag" />
200 <None Include="shaders\ship.vert" />
201 </ItemGroup>
202 <ItemGroup>
203 <Image Include="assets\images\spaceship.bmp" />
204 </ItemGroup>
205 <ItemGroup>
206 <Font Include="assets\fonts\lazy.ttf" />
207 </ItemGroup>
208 <ItemGroup>
209 <Text Include="docs\DESIGN.txt" />
210 <Text Include="docs\notes.txt" />
211 <Text Include="docs\README.txt" />
212 <Text Include="docs\scene-notes.txt" />
213 <Text Include="docs\TODO.txt" />
214 <Text Include="docs\upgrade-TODO.txt" />
215 <Text Include="scene-notes.txt" />
216 </ItemGroup>
217 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
218 <ImportGroup Label="ExtensionTargets">
219 </ImportGroup>
220</Project>
Note: See TracBrowser for help on using the repository browser.