From e21d5ad650130631e17662ce8f22d15315ab597a Mon Sep 17 00:00:00 2001 From: jsmall-nvidia Date: Wed, 21 Nov 2018 13:41:34 -0500 Subject: Feature/early depth stencil (#727) * First pass support for early depth stencil. * Add a simple test to check if output has attributes. * Use cross compilation to test [earlydepthstencil] on glsl. * If target is dxil, use dxc to test against. Add hlsl to test earlydepthstencil against. * * Added spSessionHasCompileTargetSupport * Made slang-test use spSessionHasCompileTargetSupport to ignore tests that cannot run --- source/core/platform.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'source/core/platform.cpp') diff --git a/source/core/platform.cpp b/source/core/platform.cpp index b96240def..d160fd37c 100644 --- a/source/core/platform.cpp +++ b/source/core/platform.cpp @@ -85,10 +85,13 @@ namespace Slang void* h = dlopen(platformFileName, RTLD_NOW | RTLD_LOCAL); if(!h) { +#if 0 + // We can't output the error message here, because it will cause output when testing what code gen is available if(auto msg = dlerror()) { fprintf(stderr, "error: %s\n", msg); } +#endif return SLANG_FAIL; } handleOut = (Handle)h; @@ -116,4 +119,4 @@ namespace Slang #endif // _WIN32 -} \ No newline at end of file +} -- cgit v1.2.3