DKGL2 sample codes

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199
  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|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. <ItemGroup>
  22. <ClInclude Include="..\Common\app.h" />
  23. <ClInclude Include="..\Common\util.h" />
  24. <ClInclude Include="..\Common\Win32\Resource.h" />
  25. <ClInclude Include="..\Common\Win32\stdafx.h" />
  26. <ClInclude Include="..\Common\Win32\targetver.h" />
  27. </ItemGroup>
  28. <ItemGroup>
  29. <Image Include="..\Common\Win32\SampleApp.ico" />
  30. <Image Include="..\Common\Win32\small.ico" />
  31. </ItemGroup>
  32. <ItemGroup>
  33. <ResourceCompile Include="..\Common\Win32\SampleApp.rc" />
  34. </ItemGroup>
  35. <ItemGroup>
  36. <ClCompile Include="..\Common\dkgl_new.cpp" />
  37. <ClCompile Include="ComputeShader.cpp" />
  38. </ItemGroup>
  39. <ItemGroup>
  40. <ProjectReference Include="..\..\DK\DK_static.vcxproj">
  41. <Project>{c7312831-a3f6-4e7d-962b-6786972f0a6a}</Project>
  42. </ProjectReference>
  43. </ItemGroup>
  44. <PropertyGroup Label="Globals">
  45. <VCProjectVersion>15.0</VCProjectVersion>
  46. <ProjectGuid>{2EFDB5BA-86ED-4C3A-8473-9CF51719FD82}</ProjectGuid>
  47. <Keyword>Win32Proj</Keyword>
  48. <RootNamespace>Texture</RootNamespace>
  49. <WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
  50. </PropertyGroup>
  51. <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
  52. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
  53. <ConfigurationType>Application</ConfigurationType>
  54. <UseDebugLibraries>true</UseDebugLibraries>
  55. <PlatformToolset>v142</PlatformToolset>
  56. <CharacterSet>Unicode</CharacterSet>
  57. </PropertyGroup>
  58. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
  59. <ConfigurationType>Application</ConfigurationType>
  60. <UseDebugLibraries>false</UseDebugLibraries>
  61. <PlatformToolset>v142</PlatformToolset>
  62. <WholeProgramOptimization>true</WholeProgramOptimization>
  63. <CharacterSet>Unicode</CharacterSet>
  64. </PropertyGroup>
  65. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
  66. <ConfigurationType>Application</ConfigurationType>
  67. <UseDebugLibraries>true</UseDebugLibraries>
  68. <PlatformToolset>v142</PlatformToolset>
  69. <CharacterSet>Unicode</CharacterSet>
  70. </PropertyGroup>
  71. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
  72. <ConfigurationType>Application</ConfigurationType>
  73. <UseDebugLibraries>false</UseDebugLibraries>
  74. <PlatformToolset>v142</PlatformToolset>
  75. <WholeProgramOptimization>true</WholeProgramOptimization>
  76. <CharacterSet>Unicode</CharacterSet>
  77. </PropertyGroup>
  78. <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
  79. <ImportGroup Label="ExtensionSettings">
  80. </ImportGroup>
  81. <ImportGroup Label="Shared">
  82. </ImportGroup>
  83. <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
  84. <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
  85. <Import Project="..\..\Samples.props" />
  86. </ImportGroup>
  87. <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
  88. <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
  89. <Import Project="..\..\Samples.props" />
  90. </ImportGroup>
  91. <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
  92. <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
  93. <Import Project="..\..\Samples.props" />
  94. </ImportGroup>
  95. <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
  96. <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
  97. <Import Project="..\..\Samples.props" />
  98. </ImportGroup>
  99. <PropertyGroup Label="UserMacros" />
  100. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
  101. <LinkIncremental>true</LinkIncremental>
  102. </PropertyGroup>
  103. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
  104. <LinkIncremental>true</LinkIncremental>
  105. </PropertyGroup>
  106. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
  107. <LinkIncremental>false</LinkIncremental>
  108. </PropertyGroup>
  109. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
  110. <LinkIncremental>false</LinkIncremental>
  111. </PropertyGroup>
  112. <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
  113. <ClCompile>
  114. <WarningLevel>Level3</WarningLevel>
  115. <Optimization>Disabled</Optimization>
  116. <SDLCheck>true</SDLCheck>
  117. <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  118. <ConformanceMode>true</ConformanceMode>
  119. <LanguageStandard_C>Default</LanguageStandard_C>
  120. </ClCompile>
  121. <Link>
  122. <SubSystem>Windows</SubSystem>
  123. <GenerateDebugInformation>true</GenerateDebugInformation>
  124. </Link>
  125. <PostBuildEvent>
  126. <Command>echo Copying Resource Files...
  127. xcopy /Y /D /R /Q /E "$(SolutionDir)Samples\Data" "$(OutDir)Data\"
  128. </Command>
  129. </PostBuildEvent>
  130. </ItemDefinitionGroup>
  131. <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
  132. <ClCompile>
  133. <WarningLevel>Level3</WarningLevel>
  134. <Optimization>Disabled</Optimization>
  135. <SDLCheck>true</SDLCheck>
  136. <PreprocessorDefinitions>_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  137. <ConformanceMode>true</ConformanceMode>
  138. <LanguageStandard_C>Default</LanguageStandard_C>
  139. </ClCompile>
  140. <Link>
  141. <SubSystem>Windows</SubSystem>
  142. <GenerateDebugInformation>true</GenerateDebugInformation>
  143. </Link>
  144. <PostBuildEvent>
  145. <Command>echo Copying Resource Files...
  146. xcopy /Y /D /R /Q /E "$(SolutionDir)Samples\Data" "$(OutDir)Data\"
  147. </Command>
  148. </PostBuildEvent>
  149. </ItemDefinitionGroup>
  150. <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
  151. <ClCompile>
  152. <WarningLevel>Level3</WarningLevel>
  153. <Optimization>MaxSpeed</Optimization>
  154. <FunctionLevelLinking>true</FunctionLevelLinking>
  155. <IntrinsicFunctions>true</IntrinsicFunctions>
  156. <SDLCheck>true</SDLCheck>
  157. <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  158. <ConformanceMode>true</ConformanceMode>
  159. <LanguageStandard_C>Default</LanguageStandard_C>
  160. </ClCompile>
  161. <Link>
  162. <SubSystem>Windows</SubSystem>
  163. <EnableCOMDATFolding>true</EnableCOMDATFolding>
  164. <OptimizeReferences>true</OptimizeReferences>
  165. <GenerateDebugInformation>true</GenerateDebugInformation>
  166. </Link>
  167. <PostBuildEvent>
  168. <Command>echo Copying Resource Files...
  169. xcopy /Y /D /R /Q /E "$(SolutionDir)Samples\Data" "$(OutDir)Data\"
  170. </Command>
  171. </PostBuildEvent>
  172. </ItemDefinitionGroup>
  173. <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
  174. <ClCompile>
  175. <WarningLevel>Level3</WarningLevel>
  176. <Optimization>MaxSpeed</Optimization>
  177. <FunctionLevelLinking>true</FunctionLevelLinking>
  178. <IntrinsicFunctions>true</IntrinsicFunctions>
  179. <SDLCheck>true</SDLCheck>
  180. <PreprocessorDefinitions>NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  181. <ConformanceMode>true</ConformanceMode>
  182. <LanguageStandard_C>Default</LanguageStandard_C>
  183. </ClCompile>
  184. <Link>
  185. <SubSystem>Windows</SubSystem>
  186. <EnableCOMDATFolding>true</EnableCOMDATFolding>
  187. <OptimizeReferences>true</OptimizeReferences>
  188. <GenerateDebugInformation>true</GenerateDebugInformation>
  189. </Link>
  190. <PostBuildEvent>
  191. <Command>echo Copying Resource Files...
  192. xcopy /Y /D /R /Q /E "$(SolutionDir)Samples\Data" "$(OutDir)Data\"
  193. </Command>
  194. </PostBuildEvent>
  195. </ItemDefinitionGroup>
  196. <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
  197. <ImportGroup Label="ExtensionTargets">
  198. </ImportGroup>
  199. </Project>