From 8f90332eded5d74489b7034db58a8f92c5df7f86 Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Thu, 28 Dec 2017 15:48:32 -0800 Subject: Removed legacy VS project and solution files, updated project dependencies. --- unityplugin/GhostCubeScene/CMakeLists.txt | 6 +- .../GhostCubeScene/assets/shaders/Mirror.psh | 14 + .../GhostCubeScene/assets/shaders/Mirror.vsh | 33 ++ .../build/GhostCubeScene.Assets.vcxitems | 29 -- .../build/GhostCubeScene.Assets.vcxitems.filters | 16 - .../build/UWP/Assets/LockScreenLogo.scale-200.png | Bin 1430 -> 0 bytes .../build/UWP/Assets/SplashScreen.scale-200.png | Bin 7700 -> 0 bytes .../UWP/Assets/Square150x150Logo.scale-200.png | Bin 2937 -> 0 bytes .../build/UWP/Assets/Square44x44Logo.scale-200.png | Bin 1647 -> 0 bytes ...are44x44Logo.targetsize-24_altform-unplated.png | Bin 1255 -> 0 bytes .../GhostCubeScene/build/UWP/Assets/StoreLogo.png | Bin 1451 -> 0 bytes .../build/UWP/Assets/Wide310x150Logo.scale-200.png | Bin 3204 -> 0 bytes .../build/UWP/GhostCubeScene.vcxproj | 360 --------------------- .../build/UWP/GhostCubeScene.vcxproj.filters | 76 ----- .../build/UWP/GhostCubeScene_TemporaryKey.pfx | Bin 2448 -> 0 bytes .../GhostCubeScene/build/UWP/Package.appxmanifest | 28 -- .../build/Win32/GhostCubeScene.vcxproj | 209 ------------ .../build/Win32/GhostCubeScene.vcxproj.filters | 22 -- unityplugin/GhostCubeScene/build/Win32/run.bat | 10 - .../GhostCubeScene/build/Win32/run_d3d11_32d.bat | 1 - .../GhostCubeScene/build/Win32/run_d3d11_32r.bat | 1 - .../GhostCubeScene/build/Win32/run_d3d11_64d.bat | 1 - .../GhostCubeScene/build/Win32/run_d3d11_64r.bat | 1 - .../GhostCubeScene/build/Win32/run_d3d12_32r.bat | 1 - .../GhostCubeScene/build/Win32/run_d3d12_64d.bat | 1 - .../GhostCubeScene/build/Win32/run_d3d12_64r.bat | 1 - .../GhostCubeScene/build/Win32/run_gl_32d.bat | 1 - .../GhostCubeScene/build/Win32/run_gl_32r.bat | 1 - .../GhostCubeScene/build/Win32/run_gl_64d.bat | 1 - .../GhostCubeScene/build/Win32/run_gl_64r.bat | 1 - .../Windows.Shared/GhostCubeScene.Shared.vcxitems | 27 -- .../GhostCubeScene.Shared.vcxitems.filters | 27 -- .../build/Windows.Shared/GhostCubeScene.props | 37 --- .../GhostCubeScene/build/assets/shaders/Mirror.psh | 14 - .../GhostCubeScene/build/assets/shaders/Mirror.vsh | 33 -- .../src/GhostCubeSceneResTrsnHelper.cpp | 2 +- 36 files changed, 51 insertions(+), 903 deletions(-) create mode 100644 unityplugin/GhostCubeScene/assets/shaders/Mirror.psh create mode 100644 unityplugin/GhostCubeScene/assets/shaders/Mirror.vsh delete mode 100644 unityplugin/GhostCubeScene/build/GhostCubeScene.Assets.vcxitems delete mode 100644 unityplugin/GhostCubeScene/build/GhostCubeScene.Assets.vcxitems.filters delete mode 100644 unityplugin/GhostCubeScene/build/UWP/Assets/LockScreenLogo.scale-200.png delete mode 100644 unityplugin/GhostCubeScene/build/UWP/Assets/SplashScreen.scale-200.png delete mode 100644 unityplugin/GhostCubeScene/build/UWP/Assets/Square150x150Logo.scale-200.png delete mode 100644 unityplugin/GhostCubeScene/build/UWP/Assets/Square44x44Logo.scale-200.png delete mode 100644 unityplugin/GhostCubeScene/build/UWP/Assets/Square44x44Logo.targetsize-24_altform-unplated.png delete mode 100644 unityplugin/GhostCubeScene/build/UWP/Assets/StoreLogo.png delete mode 100644 unityplugin/GhostCubeScene/build/UWP/Assets/Wide310x150Logo.scale-200.png delete mode 100644 unityplugin/GhostCubeScene/build/UWP/GhostCubeScene.vcxproj delete mode 100644 unityplugin/GhostCubeScene/build/UWP/GhostCubeScene.vcxproj.filters delete mode 100644 unityplugin/GhostCubeScene/build/UWP/GhostCubeScene_TemporaryKey.pfx delete mode 100644 unityplugin/GhostCubeScene/build/UWP/Package.appxmanifest delete mode 100644 unityplugin/GhostCubeScene/build/Win32/GhostCubeScene.vcxproj delete mode 100644 unityplugin/GhostCubeScene/build/Win32/GhostCubeScene.vcxproj.filters delete mode 100644 unityplugin/GhostCubeScene/build/Win32/run.bat delete mode 100644 unityplugin/GhostCubeScene/build/Win32/run_d3d11_32d.bat delete mode 100644 unityplugin/GhostCubeScene/build/Win32/run_d3d11_32r.bat delete mode 100644 unityplugin/GhostCubeScene/build/Win32/run_d3d11_64d.bat delete mode 100644 unityplugin/GhostCubeScene/build/Win32/run_d3d11_64r.bat delete mode 100644 unityplugin/GhostCubeScene/build/Win32/run_d3d12_32r.bat delete mode 100644 unityplugin/GhostCubeScene/build/Win32/run_d3d12_64d.bat delete mode 100644 unityplugin/GhostCubeScene/build/Win32/run_d3d12_64r.bat delete mode 100644 unityplugin/GhostCubeScene/build/Win32/run_gl_32d.bat delete mode 100644 unityplugin/GhostCubeScene/build/Win32/run_gl_32r.bat delete mode 100644 unityplugin/GhostCubeScene/build/Win32/run_gl_64d.bat delete mode 100644 unityplugin/GhostCubeScene/build/Win32/run_gl_64r.bat delete mode 100644 unityplugin/GhostCubeScene/build/Windows.Shared/GhostCubeScene.Shared.vcxitems delete mode 100644 unityplugin/GhostCubeScene/build/Windows.Shared/GhostCubeScene.Shared.vcxitems.filters delete mode 100644 unityplugin/GhostCubeScene/build/Windows.Shared/GhostCubeScene.props delete mode 100644 unityplugin/GhostCubeScene/build/assets/shaders/Mirror.psh delete mode 100644 unityplugin/GhostCubeScene/build/assets/shaders/Mirror.vsh (limited to 'unityplugin/GhostCubeScene') diff --git a/unityplugin/GhostCubeScene/CMakeLists.txt b/unityplugin/GhostCubeScene/CMakeLists.txt index 64d5c2a..c361734 100644 --- a/unityplugin/GhostCubeScene/CMakeLists.txt +++ b/unityplugin/GhostCubeScene/CMakeLists.txt @@ -11,8 +11,8 @@ set(INCLUDE ) set(SHADERS - build/assets/shaders/Mirror.psh - build/assets/shaders/Mirror.vsh + assets/shaders/Mirror.psh + assets/shaders/Mirror.vsh ) set(ASSETS ${SHADERS}) set_source_files_properties(${SHADERS} PROPERTIES VS_TOOL_OVERRIDE "None") @@ -31,7 +31,7 @@ if(PLATFORM_WIN32 OR PLATFORM_UNIVERSAL_WINDOWS) if(PLATFORM_WIN32) set_target_properties(GhostCubeScene PROPERTIES - VS_DEBUGGER_WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/build/assets" + VS_DEBUGGER_WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/assets" ) add_custom_command(TARGET GhostCubeScene POST_BUILD diff --git a/unityplugin/GhostCubeScene/assets/shaders/Mirror.psh b/unityplugin/GhostCubeScene/assets/shaders/Mirror.psh new file mode 100644 index 0000000..86b4beb --- /dev/null +++ b/unityplugin/GhostCubeScene/assets/shaders/Mirror.psh @@ -0,0 +1,14 @@ + +Texture2D g_tex2Reflection; +SamplerState g_tex2Reflection_sampler; + +struct PSInput +{ + float4 Pos : SV_POSITION; + float2 UV : TEX_COORD; +}; + +float4 main(PSInput In) : SV_Target +{ + return g_tex2Reflection.Sample(g_tex2Reflection_sampler, In.UV); +} diff --git a/unityplugin/GhostCubeScene/assets/shaders/Mirror.vsh b/unityplugin/GhostCubeScene/assets/shaders/Mirror.vsh new file mode 100644 index 0000000..bdeaaca --- /dev/null +++ b/unityplugin/GhostCubeScene/assets/shaders/Mirror.vsh @@ -0,0 +1,33 @@ +cbuffer Constants +{ + float4x4 g_WorldViewProj; +}; + +struct PSInput +{ + float4 Pos : SV_POSITION; + float2 UV : TEX_COORD; +}; + +PSInput main(uint VertId : SV_VertexID) +{ + float4 Pos[] = + { + float4(-0.5, +0.5, 0.0, 1.0), + float4(-0.5, -0.5, 0.0, 1.0), + float4(+0.5, +0.5, 0.0, 1.0), + float4(+0.5, -0.5, 0.0, 1.0) + }; + float2 UV[] = + { + float2(0.0, 1.0), + float2(0.0, 0.0), + float2(1.0, 1.0), + float2(1.0, 0.0) + }; + + PSInput ps; + ps.Pos = mul( Pos[VertId], g_WorldViewProj); + ps.UV = UV[VertId]; + return ps; +} diff --git a/unityplugin/GhostCubeScene/build/GhostCubeScene.Assets.vcxitems b/unityplugin/GhostCubeScene/build/GhostCubeScene.Assets.vcxitems deleted file mode 100644 index 7808a78..0000000 --- a/unityplugin/GhostCubeScene/build/GhostCubeScene.Assets.vcxitems +++ /dev/null @@ -1,29 +0,0 @@ - - - - $(MSBuildAllProjects);$(MSBuildThisFileFullPath) - true - {CAF59C31-47E1-4F26-8455-C5E49F75BB3C} - RenderScript - GhostCubeScene.Assets - 248F659F-DAC5-46E8-AC09-60EC9FC95053 - - - - %(AdditionalIncludeDirectories);$(MSBuildThisFileDirectory) - - - - - - - - true - Document - - - true - Document - - - \ No newline at end of file diff --git a/unityplugin/GhostCubeScene/build/GhostCubeScene.Assets.vcxitems.filters b/unityplugin/GhostCubeScene/build/GhostCubeScene.Assets.vcxitems.filters deleted file mode 100644 index 316e269..0000000 --- a/unityplugin/GhostCubeScene/build/GhostCubeScene.Assets.vcxitems.filters +++ /dev/null @@ -1,16 +0,0 @@ - - - - - {e5ff4d8e-5106-442e-848b-f56d1baa2645} - - - - - shaders - - - shaders - - - \ No newline at end of file diff --git a/unityplugin/GhostCubeScene/build/UWP/Assets/LockScreenLogo.scale-200.png b/unityplugin/GhostCubeScene/build/UWP/Assets/LockScreenLogo.scale-200.png deleted file mode 100644 index 735f57a..0000000 Binary files a/unityplugin/GhostCubeScene/build/UWP/Assets/LockScreenLogo.scale-200.png and /dev/null differ diff --git a/unityplugin/GhostCubeScene/build/UWP/Assets/SplashScreen.scale-200.png b/unityplugin/GhostCubeScene/build/UWP/Assets/SplashScreen.scale-200.png deleted file mode 100644 index 023e7f1..0000000 Binary files a/unityplugin/GhostCubeScene/build/UWP/Assets/SplashScreen.scale-200.png and /dev/null differ diff --git a/unityplugin/GhostCubeScene/build/UWP/Assets/Square150x150Logo.scale-200.png b/unityplugin/GhostCubeScene/build/UWP/Assets/Square150x150Logo.scale-200.png deleted file mode 100644 index af49fec..0000000 Binary files a/unityplugin/GhostCubeScene/build/UWP/Assets/Square150x150Logo.scale-200.png and /dev/null differ diff --git a/unityplugin/GhostCubeScene/build/UWP/Assets/Square44x44Logo.scale-200.png b/unityplugin/GhostCubeScene/build/UWP/Assets/Square44x44Logo.scale-200.png deleted file mode 100644 index ce342a2..0000000 Binary files a/unityplugin/GhostCubeScene/build/UWP/Assets/Square44x44Logo.scale-200.png and /dev/null differ diff --git a/unityplugin/GhostCubeScene/build/UWP/Assets/Square44x44Logo.targetsize-24_altform-unplated.png b/unityplugin/GhostCubeScene/build/UWP/Assets/Square44x44Logo.targetsize-24_altform-unplated.png deleted file mode 100644 index f6c02ce..0000000 Binary files a/unityplugin/GhostCubeScene/build/UWP/Assets/Square44x44Logo.targetsize-24_altform-unplated.png and /dev/null differ diff --git a/unityplugin/GhostCubeScene/build/UWP/Assets/StoreLogo.png b/unityplugin/GhostCubeScene/build/UWP/Assets/StoreLogo.png deleted file mode 100644 index 7385b56..0000000 Binary files a/unityplugin/GhostCubeScene/build/UWP/Assets/StoreLogo.png and /dev/null differ diff --git a/unityplugin/GhostCubeScene/build/UWP/Assets/Wide310x150Logo.scale-200.png b/unityplugin/GhostCubeScene/build/UWP/Assets/Wide310x150Logo.scale-200.png deleted file mode 100644 index 288995b..0000000 Binary files a/unityplugin/GhostCubeScene/build/UWP/Assets/Wide310x150Logo.scale-200.png and /dev/null differ diff --git a/unityplugin/GhostCubeScene/build/UWP/GhostCubeScene.vcxproj b/unityplugin/GhostCubeScene/build/UWP/GhostCubeScene.vcxproj deleted file mode 100644 index 2571e58..0000000 --- a/unityplugin/GhostCubeScene/build/UWP/GhostCubeScene.vcxproj +++ /dev/null @@ -1,360 +0,0 @@ - - - - - Debug - Win32 - - - Release - Win32 - - - Debug - x64 - - - Release - x64 - - - Debug - ARM - - - Release - ARM - - - - {BDD3DD22-64FA-4E48-BDF0-FD0B1C28C87F} - DirectXApp - GhostCubeScene - en-US - 14.0 - true - Windows Store - 10.0.10586.0 - 10.0.10240.0 - 10.0 - - - - Application - true - v140 - - - Application - true - v140 - - - Application - true - v140 - - - Application - false - true - v140 - true - - - Application - false - true - v140 - true - - - Application - false - true - v140 - true - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - GhostCubeScene_TemporaryKey.pfx - - - $(SamplesRoot)\Samples\SampleBase\src\UWP;$(IncludePath) - - - $(SamplesRoot)\Samples\SampleBase\src\UWP;$(IncludePath) - - - $(SamplesRoot)\Samples\SampleBase\src\UWP;$(IncludePath) - - - $(SamplesRoot)\Samples\SampleBase\src\UWP;$(IncludePath) - - - $(SamplesRoot)\Samples\SampleBase\src\UWP;$(IncludePath) - - - $(SamplesRoot)\Samples\SampleBase\src\UWP;$(IncludePath) - - - - mincore.lib;d3d12.lib;dxgi.lib;dxguid.lib;%(AdditionalDependencies) - %(AdditionalLibraryDirectories); $(VCInstallDir)\lib\store\arm; $(VCInstallDir)\lib\arm - - - pch.h - $(IntDir)pch.pch - $(ProjectDir);$(IntermediateOutputPath);%(AdditionalIncludeDirectories) - /bigobj %(AdditionalOptions) - _DEBUG;%(PreprocessorDefinitions) - NotUsing - - - - - mincore.lib;d3d12.lib;dxgi.lib;dxguid.lib;%(AdditionalDependencies) - %(AdditionalLibraryDirectories); $(VCInstallDir)\lib\store\arm; $(VCInstallDir)\lib\arm - - - pch.h - $(IntDir)pch.pch - $(ProjectDir);$(IntermediateOutputPath);%(AdditionalIncludeDirectories) - /bigobj %(AdditionalOptions) - NDEBUG;%(PreprocessorDefinitions) - NotUsing - - - - - mincore.lib;d3d12.lib;dxgi.lib;dxguid.lib;%(AdditionalDependencies) - %(AdditionalLibraryDirectories); $(VCInstallDir)\lib\store; $(VCInstallDir)\lib - - - pch.h - $(IntDir)pch.pch - $(ProjectDir);$(IntermediateOutputPath);%(AdditionalIncludeDirectories) - /bigobj %(AdditionalOptions) - _DEBUG;%(PreprocessorDefinitions) - NotUsing - - - - - mincore.lib;d3d12.lib;dxgi.lib;dxguid.lib;%(AdditionalDependencies) - %(AdditionalLibraryDirectories); $(VCInstallDir)\lib\store; $(VCInstallDir)\lib - - - pch.h - $(IntDir)pch.pch - $(ProjectDir);$(IntermediateOutputPath);%(AdditionalIncludeDirectories) - /bigobj %(AdditionalOptions) - NDEBUG;%(PreprocessorDefinitions) - NotUsing - - - - - mincore.lib;d3d12.lib;dxgi.lib;dxguid.lib;%(AdditionalDependencies) - %(AdditionalLibraryDirectories); $(VCInstallDir)\lib\store\amd64; $(VCInstallDir)\lib\amd64 - - - pch.h - $(IntDir)pch.pch - $(ProjectDir);$(IntermediateOutputPath);%(AdditionalIncludeDirectories) - /bigobj %(AdditionalOptions) - _DEBUG;%(PreprocessorDefinitions) - NotUsing - - - - - mincore.lib;d3d12.lib;dxgi.lib;dxguid.lib;%(AdditionalDependencies) - %(AdditionalLibraryDirectories); $(VCInstallDir)\lib\store\amd64; $(VCInstallDir)\lib\amd64 - - - pch.h - $(IntDir)pch.pch - $(ProjectDir);$(IntermediateOutputPath);%(AdditionalIncludeDirectories) - /bigobj %(AdditionalOptions) - NDEBUG;%(PreprocessorDefinitions) - NotUsing - - - - - - - - - - - - - - Designer - - - Document - copy "%(RelativeDir)%(Filename).dll" "$(ProjectDir)Assets" - copying "%(Filename).dll" to "$(ProjectDir)Assets" - $(ProjectDir)Assets\%(Filename).dll - - - Document - $(ProjectDir)Assets\%(Filename).dll - copy "%(RelativeDir)%(Filename).dll" "$(ProjectDir)Assets" - copying "%(Filename).dll" to "$(ProjectDir)Assets" - - - Document - copy "%(RelativeDir)%(Filename).dll" "$(ProjectDir)Assets" - copying "%(Filename).dll" to "$(ProjectDir)Assets" - $(ProjectDir)Assets\%(Filename).dll - - - Document - copy "%(RelativeDir)%(Filename).dll" "$(ProjectDir)Assets" - copying "%(Filename).dll" to "$(ProjectDir)Assets" - $(ProjectDir)Assets\%(Filename).dll - - - Document - copy "%(RelativeDir)%(Filename).dll" "$(ProjectDir)Assets" - copying "%(Filename).dll" to "$(ProjectDir)Assets" - $(ProjectDir)Assets\%(Filename).dll - - - Document - copy "%(RelativeDir)%(Filename).dll" "$(ProjectDir)Assets" - copying "%(Filename).dll" to "$(ProjectDir)Assets" - $(ProjectDir)Assets\%(Filename).dll - - - true - false - false - false - false - false - - - false - true - false - false - false - false - - - true - Document - false - false - false - false - false - - - false - false - false - false - false - true - - - false - false - true - false - false - false - - - false - false - false - true - false - false - - - - - - {6de3eb2b-8a56-4d27-8a39-587f7a70584c} - - - {29acd2a7-4c49-4973-9673-8f57ef37070f} - - - {1a5a1c1d-c717-4680-a929-40e6324fe048} - - - {acd6f956-ff3b-4fe9-8be3-c0eecfdbbf93} - - - {dfe6435d-cc9d-4ca1-bf4e-5640c522d815} - - - {7a1a6e2c-3952-4a57-ad30-abd92aa39c69} - - - {ff7d4949-dc3e-488b-8f78-1d32f1ca3b4c} - - - {91adc1dd-aa8e-492a-ac19-3e0dab9ad665} - - - {17597734-2fbf-481f-99d4-3315b70fe3e2} - - - - - - - - - \ No newline at end of file diff --git a/unityplugin/GhostCubeScene/build/UWP/GhostCubeScene.vcxproj.filters b/unityplugin/GhostCubeScene/build/UWP/GhostCubeScene.vcxproj.filters deleted file mode 100644 index c9613a3..0000000 --- a/unityplugin/GhostCubeScene/build/UWP/GhostCubeScene.vcxproj.filters +++ /dev/null @@ -1,76 +0,0 @@ - - - - - Assets - - - Assets - - - Assets - - - Assets - - - Assets - - - Assets - - - Assets - - - - - - - - - SourceDLLs - - - SourceDLLs - - - SourceDLLs - - - SourceDLLs - - - SourceDLLs - - - SourceDLLs - - - Assets - - - Assets - - - Assets - - - Assets - - - Assets - - - Assets - - - - - {1be0445e-de96-4b5e-9c3c-6b6fca9400ee} - - - {c64a1209-12b4-40a7-9e1f-d482a039c93d} - - - \ No newline at end of file diff --git a/unityplugin/GhostCubeScene/build/UWP/GhostCubeScene_TemporaryKey.pfx b/unityplugin/GhostCubeScene/build/UWP/GhostCubeScene_TemporaryKey.pfx deleted file mode 100644 index cbe5c59..0000000 Binary files a/unityplugin/GhostCubeScene/build/UWP/GhostCubeScene_TemporaryKey.pfx and /dev/null differ diff --git a/unityplugin/GhostCubeScene/build/UWP/Package.appxmanifest b/unityplugin/GhostCubeScene/build/UWP/Package.appxmanifest deleted file mode 100644 index 68d1400..0000000 --- a/unityplugin/GhostCubeScene/build/UWP/Package.appxmanifest +++ /dev/null @@ -1,28 +0,0 @@ - - - - - - GhostCubeSceneEmulator - Egor - Assets\StoreLogo.png - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/unityplugin/GhostCubeScene/build/Win32/GhostCubeScene.vcxproj b/unityplugin/GhostCubeScene/build/Win32/GhostCubeScene.vcxproj deleted file mode 100644 index 1390287..0000000 --- a/unityplugin/GhostCubeScene/build/Win32/GhostCubeScene.vcxproj +++ /dev/null @@ -1,209 +0,0 @@ - - - - - Debug - Win32 - - - Debug - x64 - - - Release - Win32 - - - Release - x64 - - - - {516AA088-64B1-4DCF-9631-59F91F0E849A} - GhostCubeScene - 10.0.10240.0 - - - - Application - true - v140 - Unicode - - - Application - true - v140 - Unicode - - - Application - false - v140 - true - Unicode - - - Application - false - v140 - true - Unicode - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Level3 - Disabled - true - NotUsing - - - true - Windows - opengl32.lib;%(AdditionalDependencies) - - - copy "$(VC_ExecutablePath_x86_x86)\D3Dcompiler_47.dll" "$(TargetDir)" - Copying D3DCompiler_47.dll to $(TargetDir)... - - - - - Level3 - Disabled - true - NotUsing - - - true - Windows - opengl32.lib;%(AdditionalDependencies) - - - copy "$(VC_ExecutablePath_x64_x64)\D3Dcompiler_47.dll" "$(TargetDir)" - Copying D3DCompiler_47.dll to $(TargetDir)... - - - - - Level3 - MaxSpeed - true - true - true - NotUsing - - - true - true - true - Windows - opengl32.lib;%(AdditionalDependencies) - - - copy "$(VC_ExecutablePath_x86_x86)\D3Dcompiler_47.dll" "$(TargetDir)" - Copying D3DCompiler_47.dll to $(TargetDir)... - - - - - Level3 - MaxSpeed - true - true - true - NotUsing - - - true - true - true - Windows - opengl32.lib;%(AdditionalDependencies) - - - copy "$(VC_ExecutablePath_x64_x64)\D3Dcompiler_47.dll" "$(TargetDir)" - Copying D3DCompiler_47.dll to $(TargetDir)... - - - - - Document - copy "%(RelativeDir)%(Filename).dll" "$(TargetDir)" -copy "%(RelativeDir)%(Filename).pdb" "$(TargetDir)" - Copying %(Filename).dll and %(Filename).pdb - $(TargetDir)%(Filename).dll - - - Document - copy "%(RelativeDir)%(Filename).dll" "$(TargetDir)" -copy "%(RelativeDir)%(Filename).pdb" "$(TargetDir)" - Copying %(Filename).dll and %(Filename).pdb - $(TargetDir)%(Filename).dll - - - Document - copy "%(RelativeDir)%(Filename).dll" "$(TargetDir)" -copy "%(RelativeDir)%(Filename).pdb" "$(TargetDir)" - Copying %(Filename).dll and %(Filename).pdb - $(TargetDir)%(Filename).dll - - - Document - copy "%(RelativeDir)%(Filename).dll" "$(TargetDir)" -copy "%(RelativeDir)%(Filename).pdb" "$(TargetDir)" - Copying %(Filename).dll and %(Filename).pdb - $(TargetDir)%(Filename).dll - - - - - {7380f7e6-315f-4b4e-92eb-e6aeee865298} - - - {664e6f0d-6784-4760-9565-d54f8eb1edf4} - - - {8ada5f93-7a38-4ad8-b8f5-1ffd4d4f630c} - - - {58f32677-436b-412a-bbf8-2b1310d82cd8} - - - {f40021ac-6d7b-4828-81c4-2d04f946a88e} - - - - - - \ No newline at end of file diff --git a/unityplugin/GhostCubeScene/build/Win32/GhostCubeScene.vcxproj.filters b/unityplugin/GhostCubeScene/build/Win32/GhostCubeScene.vcxproj.filters deleted file mode 100644 index 9dfc9c8..0000000 --- a/unityplugin/GhostCubeScene/build/Win32/GhostCubeScene.vcxproj.filters +++ /dev/null @@ -1,22 +0,0 @@ - - - - - {99c6c817-b02b-4b78-8b27-011a6f68c396} - - - - - DLLs - - - DLLs - - - DLLs - - - DLLs - - - \ No newline at end of file diff --git a/unityplugin/GhostCubeScene/build/Win32/run.bat b/unityplugin/GhostCubeScene/build/Win32/run.bat deleted file mode 100644 index 1b67bc1..0000000 --- a/unityplugin/GhostCubeScene/build/Win32/run.bat +++ /dev/null @@ -1,10 +0,0 @@ -@echo off -cd ..\assets -SET SAMPLE_PATH="..\..\..\build\Win32\bin\%~1\GhostCubeScene\GhostCubeScene.exe" - -if not exist %SAMPLE_PATH% ( - echo Executable not found. Please build the solution for the selected configuration. - exit /B 1 -) - -%SAMPLE_PATH% mode=%~2 diff --git a/unityplugin/GhostCubeScene/build/Win32/run_d3d11_32d.bat b/unityplugin/GhostCubeScene/build/Win32/run_d3d11_32d.bat deleted file mode 100644 index fcbcf78..0000000 --- a/unityplugin/GhostCubeScene/build/Win32/run_d3d11_32d.bat +++ /dev/null @@ -1 +0,0 @@ -call run.bat Debug_Win32 D3D11 \ No newline at end of file diff --git a/unityplugin/GhostCubeScene/build/Win32/run_d3d11_32r.bat b/unityplugin/GhostCubeScene/build/Win32/run_d3d11_32r.bat deleted file mode 100644 index 5b6c8f9..0000000 --- a/unityplugin/GhostCubeScene/build/Win32/run_d3d11_32r.bat +++ /dev/null @@ -1 +0,0 @@ -call run.bat Release_Win32 D3D11 \ No newline at end of file diff --git a/unityplugin/GhostCubeScene/build/Win32/run_d3d11_64d.bat b/unityplugin/GhostCubeScene/build/Win32/run_d3d11_64d.bat deleted file mode 100644 index 7b0b91b..0000000 --- a/unityplugin/GhostCubeScene/build/Win32/run_d3d11_64d.bat +++ /dev/null @@ -1 +0,0 @@ -call run.bat Debug_x64 D3D11 \ No newline at end of file diff --git a/unityplugin/GhostCubeScene/build/Win32/run_d3d11_64r.bat b/unityplugin/GhostCubeScene/build/Win32/run_d3d11_64r.bat deleted file mode 100644 index e0ebaf4..0000000 --- a/unityplugin/GhostCubeScene/build/Win32/run_d3d11_64r.bat +++ /dev/null @@ -1 +0,0 @@ -call run.bat Release_x64 D3D11 \ No newline at end of file diff --git a/unityplugin/GhostCubeScene/build/Win32/run_d3d12_32r.bat b/unityplugin/GhostCubeScene/build/Win32/run_d3d12_32r.bat deleted file mode 100644 index 848b7b8..0000000 --- a/unityplugin/GhostCubeScene/build/Win32/run_d3d12_32r.bat +++ /dev/null @@ -1 +0,0 @@ -call run.bat Release_Win32 D3D12 \ No newline at end of file diff --git a/unityplugin/GhostCubeScene/build/Win32/run_d3d12_64d.bat b/unityplugin/GhostCubeScene/build/Win32/run_d3d12_64d.bat deleted file mode 100644 index f74f35c..0000000 --- a/unityplugin/GhostCubeScene/build/Win32/run_d3d12_64d.bat +++ /dev/null @@ -1 +0,0 @@ -call run.bat Debug_x64 D3D12 \ No newline at end of file diff --git a/unityplugin/GhostCubeScene/build/Win32/run_d3d12_64r.bat b/unityplugin/GhostCubeScene/build/Win32/run_d3d12_64r.bat deleted file mode 100644 index 21e7b30..0000000 --- a/unityplugin/GhostCubeScene/build/Win32/run_d3d12_64r.bat +++ /dev/null @@ -1 +0,0 @@ -call run.bat Release_x64 D3D12 \ No newline at end of file diff --git a/unityplugin/GhostCubeScene/build/Win32/run_gl_32d.bat b/unityplugin/GhostCubeScene/build/Win32/run_gl_32d.bat deleted file mode 100644 index bd2e2d5..0000000 --- a/unityplugin/GhostCubeScene/build/Win32/run_gl_32d.bat +++ /dev/null @@ -1 +0,0 @@ -call run.bat Debug_Win32 GL \ No newline at end of file diff --git a/unityplugin/GhostCubeScene/build/Win32/run_gl_32r.bat b/unityplugin/GhostCubeScene/build/Win32/run_gl_32r.bat deleted file mode 100644 index 25b66c3..0000000 --- a/unityplugin/GhostCubeScene/build/Win32/run_gl_32r.bat +++ /dev/null @@ -1 +0,0 @@ -call run.bat Release_Win32 GL \ No newline at end of file diff --git a/unityplugin/GhostCubeScene/build/Win32/run_gl_64d.bat b/unityplugin/GhostCubeScene/build/Win32/run_gl_64d.bat deleted file mode 100644 index c01b4e3..0000000 --- a/unityplugin/GhostCubeScene/build/Win32/run_gl_64d.bat +++ /dev/null @@ -1 +0,0 @@ -call run.bat Debug_x64 GL \ No newline at end of file diff --git a/unityplugin/GhostCubeScene/build/Win32/run_gl_64r.bat b/unityplugin/GhostCubeScene/build/Win32/run_gl_64r.bat deleted file mode 100644 index 3025ab2..0000000 --- a/unityplugin/GhostCubeScene/build/Win32/run_gl_64r.bat +++ /dev/null @@ -1 +0,0 @@ -call run.bat Release_x64 GL \ No newline at end of file diff --git a/unityplugin/GhostCubeScene/build/Windows.Shared/GhostCubeScene.Shared.vcxitems b/unityplugin/GhostCubeScene/build/Windows.Shared/GhostCubeScene.Shared.vcxitems deleted file mode 100644 index 4bdbd66..0000000 --- a/unityplugin/GhostCubeScene/build/Windows.Shared/GhostCubeScene.Shared.vcxitems +++ /dev/null @@ -1,27 +0,0 @@ - - - - $(MSBuildAllProjects);$(MSBuildThisFileFullPath) - true - {f26d9028-cfb4-45bc-9ab9-28e332480564} - GhostCubeScene - GhostCubeScene.Shared - ee85241f-efeb-4c0a-a2dc-724cc15edec0 - - - - %(AdditionalIncludeDirectories);$(MSBuildThisFileDirectory) - - - - - - - - - - - - - - \ No newline at end of file diff --git a/unityplugin/GhostCubeScene/build/Windows.Shared/GhostCubeScene.Shared.vcxitems.filters b/unityplugin/GhostCubeScene/build/Windows.Shared/GhostCubeScene.Shared.vcxitems.filters deleted file mode 100644 index 674de74..0000000 --- a/unityplugin/GhostCubeScene/build/Windows.Shared/GhostCubeScene.Shared.vcxitems.filters +++ /dev/null @@ -1,27 +0,0 @@ - - - - - {c8b2817b-474c-4084-89e1-6e79260fbf11} - - - {038e521a-1981-43c0-a93a-5dcb35a59f70} - - - - - src - - - src - - - - - include - - - include - - - \ No newline at end of file diff --git a/unityplugin/GhostCubeScene/build/Windows.Shared/GhostCubeScene.props b/unityplugin/GhostCubeScene/build/Windows.Shared/GhostCubeScene.props deleted file mode 100644 index a0c341c..0000000 --- a/unityplugin/GhostCubeScene/build/Windows.Shared/GhostCubeScene.props +++ /dev/null @@ -1,37 +0,0 @@ - - - - - ..\.. - $(ProjectRoot)\build\assets - $(ProjectRoot)\..\.. - $(EngineRoot)\diligentcore - $(EngineRoot)\diligenttools - - - $(CoreRoot)\Graphics\GraphicsEngine\interface;$(CoreRoot)\Graphics\GraphicsEngineD3D11\interface;$(CoreRoot)\Graphics\GraphicsEngineD3D12\interface;$(CoreRoot)\Graphics\GraphicsEngineOpenGL\interface;$(CoreRoot)\Common\include;$(CoreRoot)\Common\interface;$(CoreRoot)\Platforms\interface;$(CoreRoot)\Graphics\GraphicsTools\include;$(ProjectRoot)\..\UnityEmulator\Include;$(ProjectRoot)\..\GhostCubePlugin\PluginSource\src\Unity;$(IncludePath) - - - - - d3d11.lib;d3d12.lib;dxgi.lib;d3dcompiler.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - - - - - $(ProjectRoot) - - - $(AssetsPath) - - - $(EngineRoot) - - - $(CoreRoot) - - - $(ToolsRoot) - - - \ No newline at end of file diff --git a/unityplugin/GhostCubeScene/build/assets/shaders/Mirror.psh b/unityplugin/GhostCubeScene/build/assets/shaders/Mirror.psh deleted file mode 100644 index 86b4beb..0000000 --- a/unityplugin/GhostCubeScene/build/assets/shaders/Mirror.psh +++ /dev/null @@ -1,14 +0,0 @@ - -Texture2D g_tex2Reflection; -SamplerState g_tex2Reflection_sampler; - -struct PSInput -{ - float4 Pos : SV_POSITION; - float2 UV : TEX_COORD; -}; - -float4 main(PSInput In) : SV_Target -{ - return g_tex2Reflection.Sample(g_tex2Reflection_sampler, In.UV); -} diff --git a/unityplugin/GhostCubeScene/build/assets/shaders/Mirror.vsh b/unityplugin/GhostCubeScene/build/assets/shaders/Mirror.vsh deleted file mode 100644 index bdeaaca..0000000 --- a/unityplugin/GhostCubeScene/build/assets/shaders/Mirror.vsh +++ /dev/null @@ -1,33 +0,0 @@ -cbuffer Constants -{ - float4x4 g_WorldViewProj; -}; - -struct PSInput -{ - float4 Pos : SV_POSITION; - float2 UV : TEX_COORD; -}; - -PSInput main(uint VertId : SV_VertexID) -{ - float4 Pos[] = - { - float4(-0.5, +0.5, 0.0, 1.0), - float4(-0.5, -0.5, 0.0, 1.0), - float4(+0.5, +0.5, 0.0, 1.0), - float4(+0.5, -0.5, 0.0, 1.0) - }; - float2 UV[] = - { - float2(0.0, 1.0), - float2(0.0, 0.0), - float2(1.0, 1.0), - float2(1.0, 0.0) - }; - - PSInput ps; - ps.Pos = mul( Pos[VertId], g_WorldViewProj); - ps.UV = UV[VertId]; - return ps; -} diff --git a/unityplugin/GhostCubeScene/src/GhostCubeSceneResTrsnHelper.cpp b/unityplugin/GhostCubeScene/src/GhostCubeSceneResTrsnHelper.cpp index 504a633..0749f72 100644 --- a/unityplugin/GhostCubeScene/src/GhostCubeSceneResTrsnHelper.cpp +++ b/unityplugin/GhostCubeScene/src/GhostCubeSceneResTrsnHelper.cpp @@ -50,7 +50,7 @@ void GhostCubeSceneResTrsnHelper::TransitionResources(int stateCount, UnityGraph pResToTransition = pMirrorDepth; else { - UNEXPECTED("Unexpected resource to transition") + UNEXPECTED("Unexpected resource to transition"); } if (pResToTransition) { -- cgit v1.2.3