From 047daae9300c8a94d28383cf992ce00e3ad2da1e Mon Sep 17 00:00:00 2001 From: jsmall-nvidia Date: Mon, 9 Sep 2019 13:54:31 -0400 Subject: CPU compute testing on non windows targets (#1045) * WIP: Refactor of CPUCompute and stand alone cpu-render-test * Fix compilation on CygWin. * Make CPU compute tests run on non windows targets. * Check that C/C++ compiler is available for CPU compute. * Fix some tabbing issues. * Add -fPIC on gfx * Use dxcompiler_47.dll from slang-binaries on windows. * make https for git module slang-binaries * Fix comment in premake5.lua around d3dcompiler_47.dll * Add resources to the CPUComputeUtil::Context to keep in scope. * Fixes problem compiling on cygwin where dx12 is included in build of gfx lib. --- tools/render-test/options.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/render-test/options.cpp') diff --git a/tools/render-test/options.cpp b/tools/render-test/options.cpp index f8c2c1d12..a9e51b8e0 100644 --- a/tools/render-test/options.cpp +++ b/tools/render-test/options.cpp @@ -15,7 +15,7 @@ namespace renderer_test { using namespace Slang; -static const Options gDefaultOptions; +static const Options gDefaultOptions = Options(); Options gOptions; -- cgit v1.2.3