1 <?xml version="1.0" encoding="utf-8"?>
\r
2 <Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
\r
3 <ItemGroup Label="ProjectConfigurations">
\r
4 <ProjectConfiguration Include="Debug|x64">
\r
5 <Configuration>Debug</Configuration>
\r
6 <Platform>x64</Platform>
\r
7 </ProjectConfiguration>
\r
8 <ProjectConfiguration Include="Release|x64">
\r
9 <Configuration>Release</Configuration>
\r
10 <Platform>x64</Platform>
\r
11 </ProjectConfiguration>
\r
13 <PropertyGroup Label="Globals">
\r
14 <VCProjectVersion>15.0</VCProjectVersion>
\r
15 <ProjectGuid>{E1C34B66-C942-4B9A-B8C3-9A12625650D3}</ProjectGuid>
\r
16 <RootNamespace>vulkan</RootNamespace>
\r
17 <WindowsTargetPlatformVersion>10.0.16299.0</WindowsTargetPlatformVersion>
\r
18 <ProjectName>Vulkan</ProjectName>
\r
20 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
\r
21 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
\r
22 <ConfigurationType>DynamicLibrary</ConfigurationType>
\r
23 <UseDebugLibraries>true</UseDebugLibraries>
\r
24 <PlatformToolset>v141</PlatformToolset>
\r
25 <CharacterSet>NotSet</CharacterSet>
\r
27 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
\r
28 <ConfigurationType>DynamicLibrary</ConfigurationType>
\r
29 <UseDebugLibraries>false</UseDebugLibraries>
\r
30 <PlatformToolset>v141</PlatformToolset>
\r
31 <WholeProgramOptimization>true</WholeProgramOptimization>
\r
32 <CharacterSet>NotSet</CharacterSet>
\r
34 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
\r
35 <ImportGroup Label="ExtensionSettings">
\r
37 <ImportGroup Label="Shared">
\r
39 <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
\r
40 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
\r
42 <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
\r
43 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
\r
45 <PropertyGroup Label="UserMacros" />
\r
46 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
\r
47 <OutDir>$(SolutionDir)bin\$(MSBuildProjectName)\$(Platform)\$(Configuration)\</OutDir>
\r
48 <TargetName>vk_swiftshader</TargetName>
\r
49 <IntDir>$(SolutionDir)obj\$(MSBuildProjectName)\$(Platform)\$(Configuration)\</IntDir>
\r
51 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
\r
52 <OutDir>$(SolutionDir)bin\$(MSBuildProjectName)\$(Platform)\$(Configuration)\</OutDir>
\r
53 <TargetName>vk_swiftshader</TargetName>
\r
54 <IntDir>$(SolutionDir)obj\$(MSBuildProjectName)\$(Platform)\$(Configuration)\</IntDir>
\r
56 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
\r
58 <WarningLevel>Level3</WarningLevel>
\r
59 <Optimization>MaxSpeed</Optimization>
\r
60 <FunctionLevelLinking>true</FunctionLevelLinking>
\r
61 <IntrinsicFunctions>true</IntrinsicFunctions>
\r
62 <SDLCheck>true</SDLCheck>
\r
63 <AdditionalIncludeDirectories>$(SolutionDir)include;$(SolutionDir)third_party\SPIRV-Headers\include;$(SolutionDir)third_party\SPIRV-Tools\include;$(SolutionDir)src;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
\r
64 <PreprocessorDefinitions>NDEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_DEPRECATE;NOMINMAX;_SECURE_SCL=0;%(PreprocessorDefinitions)</PreprocessorDefinitions>
\r
65 <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
\r
66 <AdditionalOptions>/permissive- %(AdditionalOptions)</AdditionalOptions>
\r
67 <TreatSpecificWarningsAsErrors>4018;5038;4838</TreatSpecificWarningsAsErrors>
\r
70 <EnableCOMDATFolding>true</EnableCOMDATFolding>
\r
71 <OptimizeReferences>true</OptimizeReferences>
\r
72 <ModuleDefinitionFile>swiftshader_icd.def</ModuleDefinitionFile>
\r
73 <AdditionalDependencies>dxguid.lib;WS2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
\r
76 <Command>mkdir "$(SolutionDir)out\$(Configuration)_$(Platform)\"
\r
77 mkdir "$(SolutionDir)build\$(Configuration)_$(Platform)\"
\r
78 copy "$(OutDir)vk_swiftshader.dll" "$(SolutionDir)out\$(Configuration)_$(Platform)\"
\r
79 copy "$(OutDir)vk_swiftshader.dll" "$(SolutionDir)build\$(Configuration)_$(Platform)\"
\r
80 IF EXIST "$(SolutionDir)..\deqp\build\external\vulkancts\modules\vulkan\" (copy "$(OutDir)vk_swiftshader.dll" "$(SolutionDir)..\deqp\build\external\vulkancts\modules\vulkan\vulkan-1.dll")</Command>
\r
82 </ItemDefinitionGroup>
\r
83 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
\r
85 <WarningLevel>Level3</WarningLevel>
\r
86 <Optimization>Disabled</Optimization>
\r
87 <SDLCheck>true</SDLCheck>
\r
88 <AdditionalIncludeDirectories>$(SolutionDir)include;$(SolutionDir)third_party\SPIRV-Headers\include;$(SolutionDir)third_party\SPIRV-Tools\include;$(SolutionDir)src;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
\r
89 <PreprocessorDefinitions>_DEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_DEPRECATE;NOMINMAX;DEBUGGER_WAIT_DIALOG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
\r
90 <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
\r
91 <AdditionalOptions>/permissive- %(AdditionalOptions)</AdditionalOptions>
\r
92 <TreatSpecificWarningsAsErrors>4018;5038;4838</TreatSpecificWarningsAsErrors>
\r
95 <ModuleDefinitionFile>swiftshader_icd.def</ModuleDefinitionFile>
\r
96 <AdditionalDependencies>dxguid.lib;WS2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
\r
99 <Command>mkdir "$(SolutionDir)out\$(Configuration)_$(Platform)\"
\r
100 mkdir "$(SolutionDir)build\$(Configuration)_$(Platform)\"
\r
101 copy "$(OutDir)vk_swiftshader.dll" "$(SolutionDir)out\$(Configuration)_$(Platform)\"
\r
102 copy "$(OutDir)vk_swiftshader.dll" "$(SolutionDir)build\$(Configuration)_$(Platform)\"
\r
103 IF EXIST "$(SolutionDir)..\deqp\build\external\vulkancts\modules\vulkan\" (copy "$(OutDir)vk_swiftshader.dll" "$(SolutionDir)..\deqp\build\external\vulkancts\modules\vulkan\vulkan-1.dll")</Command>
\r
105 </ItemDefinitionGroup>
\r
107 <ClCompile Include="libVulkan.cpp" />
\r
108 <ClCompile Include="main.cpp" />
\r
109 <ClCompile Include="VkBuffer.cpp" />
\r
110 <ClCompile Include="VkCommandBuffer.cpp" />
\r
111 <ClCompile Include="VkCommandPool.cpp" />
\r
112 <ClCompile Include="VkDebug.cpp" />
\r
113 <ClCompile Include="VkDescriptorPool.cpp" />
\r
114 <ClCompile Include="VkDescriptorSetLayout.cpp" />
\r
115 <ClCompile Include="VkDescriptorUpdateTemplate.cpp" />
\r
116 <ClCompile Include="VkDevice.cpp" />
\r
117 <ClCompile Include="VkDeviceMemory.cpp" />
\r
118 <ClCompile Include="VkFormat.cpp" />
\r
119 <ClCompile Include="VkFramebuffer.cpp" />
\r
120 <ClCompile Include="VkGetProcAddress.cpp" />
\r
121 <ClCompile Include="VkImage.cpp" />
\r
122 <ClCompile Include="VkImageView.cpp" />
\r
123 <ClCompile Include="VkInstance.cpp" />
\r
124 <ClCompile Include="VkMemory.cpp" />
\r
125 <ClCompile Include="VkPhysicalDevice.cpp" />
\r
126 <ClCompile Include="VkPipeline.cpp" />
\r
127 <ClCompile Include="VkPipelineLayout.cpp" />
\r
128 <ClCompile Include="VkPromotedExtensions.cpp" />
\r
129 <ClCompile Include="VkQueryPool.cpp" />
\r
130 <ClCompile Include="VkQueue.cpp" />
\r
131 <ClCompile Include="VkRenderPass.cpp" />
\r
132 <ClCompile Include="VkShaderModule.cpp" />
\r
133 <ClCompile Include="..\Device\Blitter.cpp" />
\r
134 <ClCompile Include="..\Device\Clipper.cpp" />
\r
135 <ClCompile Include="..\Device\Color.cpp" />
\r
136 <ClCompile Include="..\Device\Config.cpp" />
\r
137 <ClCompile Include="..\Device\Context.cpp" />
\r
138 <ClCompile Include="..\Device\ETC_Decoder.cpp" />
\r
139 <ClCompile Include="..\Device\Matrix.cpp" />
\r
140 <ClCompile Include="..\Device\PixelProcessor.cpp" />
\r
141 <ClCompile Include="..\Device\Plane.cpp" />
\r
142 <ClCompile Include="..\Device\Point.cpp" />
\r
143 <ClCompile Include="..\Device\QuadRasterizer.cpp" />
\r
144 <ClCompile Include="..\Device\Renderer.cpp" />
\r
145 <ClCompile Include="..\Device\Sampler.cpp" />
\r
146 <ClCompile Include="..\Device\SetupProcessor.cpp" />
\r
147 <ClCompile Include="..\Device\SwiftConfig.cpp" />
\r
148 <ClCompile Include="..\Device\Vector.cpp" />
\r
149 <ClCompile Include="..\Device\VertexProcessor.cpp" />
\r
150 <ClCompile Include="..\Pipeline\ComputeProgram.cpp" />
\r
151 <ClCompile Include="..\Pipeline\Constants.cpp" />
\r
152 <ClCompile Include="..\Pipeline\PixelProgram.cpp" />
\r
153 <ClCompile Include="..\Pipeline\PixelRoutine.cpp" />
\r
154 <ClCompile Include="..\Pipeline\SamplerCore.cpp" />
\r
155 <ClCompile Include="..\Pipeline\SetupRoutine.cpp" />
\r
156 <ClCompile Include="..\Pipeline\ShaderCore.cpp" />
\r
157 <ClCompile Include="..\Pipeline\SpirvShader.cpp" />
\r
158 <ClCompile Include="..\Pipeline\SpirvShader_dbg.cpp" />
\r
159 <ClCompile Include="..\Pipeline\VertexProgram.cpp" />
\r
160 <ClCompile Include="..\Pipeline\VertexRoutine.cpp" />
\r
161 <ClCompile Include="..\System\Configurator.cpp" />
\r
162 <ClCompile Include="..\System\CPUID.cpp" />
\r
163 <ClCompile Include="..\System\Debug.cpp" />
\r
164 <ClCompile Include="..\System\DebugAndroid.cpp">
\r
165 <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
\r
166 <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
\r
168 <ClCompile Include="..\System\GrallocAndroid.cpp">
\r
169 <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
\r
170 <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
\r
172 <ClCompile Include="..\System\Half.cpp" />
\r
173 <ClCompile Include="..\System\Math.cpp" />
\r
174 <ClCompile Include="..\System\Memory.cpp" />
\r
175 <ClCompile Include="..\System\Resource.cpp" />
\r
176 <ClCompile Include="..\System\Socket.cpp" />
\r
177 <ClCompile Include="..\System\Thread.cpp" />
\r
178 <ClCompile Include="..\System\Timer.cpp" />
\r
179 <ClCompile Include="..\WSI\VkSurfaceKHR.cpp" />
\r
180 <ClCompile Include="..\WSI\VkSwapchainKHR.cpp" />
\r
181 <ClCompile Include="..\WSI\libX11.cpp">
\r
182 <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
\r
183 <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
\r
187 <ClInclude Include="resource.h" />
\r
188 <ClInclude Include="Version.h" />
\r
189 <ClInclude Include="VkBuffer.hpp" />
\r
190 <ClInclude Include="VkBufferView.hpp" />
\r
191 <ClInclude Include="VkCommandBuffer.hpp" />
\r
192 <ClInclude Include="VkCommandPool.hpp" />
\r
193 <ClInclude Include="VkConfig.h" />
\r
194 <ClInclude Include="VkDebug.hpp" />
\r
195 <ClInclude Include="VkDescriptorPool.hpp" />
\r
196 <ClInclude Include="VkDescriptorSetLayout.hpp" />
\r
197 <ClInclude Include="VkDescriptorUpdateTemplate.hpp" />
\r
198 <ClInclude Include="VkDestroy.h" />
\r
199 <ClInclude Include="VkDevice.hpp" />
\r
200 <ClInclude Include="VkDeviceMemory.hpp" />
\r
201 <ClInclude Include="VkEvent.hpp" />
\r
202 <ClInclude Include="VkFence.hpp" />
\r
203 <ClInclude Include="VkFormat.h" />
\r
204 <ClInclude Include="VkFramebuffer.hpp" />
\r
205 <ClInclude Include="VkGetProcAddress.h" />
\r
206 <ClInclude Include="VkImage.hpp" />
\r
207 <ClInclude Include="VkImageView.hpp" />
\r
208 <ClInclude Include="VkInstance.hpp" />
\r
209 <ClInclude Include="VkMemory.h" />
\r
210 <ClInclude Include="VkObject.hpp" />
\r
211 <ClInclude Include="VkPhysicalDevice.hpp" />
\r
212 <ClInclude Include="VkPipeline.hpp" />
\r
213 <ClInclude Include="VkPipelineCache.hpp" />
\r
214 <ClInclude Include="VkPipelineLayout.hpp" />
\r
215 <ClInclude Include="VkQueryPool.hpp" />
\r
216 <ClInclude Include="VkQueue.hpp" />
\r
217 <ClInclude Include="VkRenderPass.hpp" />
\r
218 <ClInclude Include="VkSampler.hpp" />
\r
219 <ClInclude Include="VkSemaphore.hpp" />
\r
220 <ClInclude Include="VkShaderModule.hpp" />
\r
221 <ClInclude Include="..\Device\Blitter.hpp" />
\r
222 <ClInclude Include="..\Device\Clipper.hpp" />
\r
223 <ClInclude Include="..\Device\Color.hpp" />
\r
224 <ClInclude Include="..\Device\Config.hpp" />
\r
225 <ClInclude Include="..\Device\Context.hpp" />
\r
226 <ClInclude Include="..\Device\ETC_Decoder.hpp" />
\r
227 <ClInclude Include="..\Device\LRUCache.hpp" />
\r
228 <ClInclude Include="..\Device\Matrix.hpp" />
\r
229 <ClInclude Include="..\Device\PixelProcessor.hpp" />
\r
230 <ClInclude Include="..\Device\Plane.hpp" />
\r
231 <ClInclude Include="..\Device\Point.hpp" />
\r
232 <ClInclude Include="..\Device\Polygon.hpp" />
\r
233 <ClInclude Include="..\Device\Primitive.hpp" />
\r
234 <ClInclude Include="..\Device\QuadRasterizer.hpp" />
\r
235 <ClInclude Include="..\Device\Rasterizer.hpp" />
\r
236 <ClInclude Include="..\Device\Renderer.hpp" />
\r
237 <ClInclude Include="..\Device\RoutineCache.hpp" />
\r
238 <ClInclude Include="..\Device\Sampler.hpp" />
\r
239 <ClInclude Include="..\Device\SetupProcessor.hpp" />
\r
240 <ClInclude Include="..\Device\Stream.hpp" />
\r
241 <ClInclude Include="..\Device\SwiftConfig.hpp" />
\r
242 <ClInclude Include="..\Device\Triangle.hpp" />
\r
243 <ClInclude Include="..\Device\Vector.hpp" />
\r
244 <ClInclude Include="..\Device\Vertex.hpp" />
\r
245 <ClInclude Include="..\Device\VertexProcessor.hpp" />
\r
246 <ClInclude Include="..\Pipeline\ComputeProgram.hpp" />
\r
247 <ClInclude Include="..\Pipeline\Constants.hpp" />
\r
248 <ClInclude Include="..\Pipeline\PixelProgram.hpp" />
\r
249 <ClInclude Include="..\Pipeline\PixelRoutine.hpp" />
\r
250 <ClInclude Include="..\Pipeline\SamplerCore.hpp" />
\r
251 <ClInclude Include="..\Pipeline\SetupRoutine.hpp" />
\r
252 <ClInclude Include="..\Pipeline\ShaderCore.hpp" />
\r
253 <ClInclude Include="..\Pipeline\SpirvShader.hpp" />
\r
254 <ClInclude Include="..\Pipeline\VertexPipeline.hpp" />
\r
255 <ClInclude Include="..\Pipeline\VertexProgram.hpp" />
\r
256 <ClInclude Include="..\Pipeline\VertexRoutine.hpp" />
\r
257 <ClInclude Include="..\System\Configurator.hpp" />
\r
258 <ClInclude Include="..\System\CPUID.hpp" />
\r
259 <ClInclude Include="..\System\Debug.hpp" />
\r
260 <ClInclude Include="..\System\DebugAndroid.hpp">
\r
261 <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
\r
262 <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
\r
264 <ClInclude Include="..\System\GrallocAndroid.hpp">
\r
265 <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
\r
266 <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
\r
268 <ClInclude Include="..\System\Half.hpp" />
\r
269 <ClInclude Include="..\System\Math.hpp" />
\r
270 <ClInclude Include="..\System\Memory.hpp" />
\r
271 <ClInclude Include="..\System\MutexLock.hpp" />
\r
272 <ClInclude Include="..\System\Resource.hpp" />
\r
273 <ClInclude Include="..\System\SharedLibrary.hpp" />
\r
274 <ClInclude Include="..\System\Socket.hpp" />
\r
275 <ClInclude Include="..\System\Thread.hpp" />
\r
276 <ClInclude Include="..\System\Timer.hpp" />
\r
277 <ClInclude Include="..\System\Types.hpp" />
\r
278 <ClInclude Include="..\WSI\VkSurfaceKHR.hpp" />
\r
279 <ClInclude Include="..\WSI\VkSwapchainKHR.hpp" />
\r
280 <ClInclude Include="..\WSI\libX11.hpp">
\r
281 <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
\r
282 <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
\r
286 <None Include="swiftshader_icd.def" />
\r
289 <ResourceCompile Include="Vulkan.rc" />
\r
292 <ProjectReference Include="..\..\build\Visual Studio 15 2017 Win64\third_party\SPIRV-Tools\source\opt\SPIRV-Tools-opt.vcxproj">
\r
293 <Project>{ce414127-5528-30f5-9f5f-5af9d2b8c04c}</Project>
\r
294 </ProjectReference>
\r
295 <ProjectReference Include="..\..\build\Visual Studio 15 2017 Win64\third_party\SPIRV-Tools\source\SPIRV-Tools.vcxproj">
\r
296 <Project>{83d86993-70d0-336a-84f1-8b952b8079dd}</Project>
\r
297 </ProjectReference>
\r
298 <ProjectReference Include="..\Reactor\Reactor.vcxproj">
\r
299 <Project>{28fd076d-10b5-4bd8-a4cf-f44c7002a803}</Project>
\r
300 </ProjectReference>
\r
302 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
\r
303 <ImportGroup Label="ExtensionTargets">
\r