diff options
| author | jsmall-nvidia <jsmall@nvidia.com> | 2018-11-21 13:41:34 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-11-21 13:41:34 -0500 |
| commit | e21d5ad650130631e17662ce8f22d15315ab597a (patch) | |
| tree | a1f5053efebc6184d21b0151e38ba1a52e74b07c /source/core/platform.cpp | |
| parent | 9bb11b69a08c66e2857f439837e2253658aed9a4 (diff) | |
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
Diffstat (limited to 'source/core/platform.cpp')
| -rw-r--r-- | source/core/platform.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
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 +} |
