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