From 62b1e58a72773fad43e555d7de1bfeaa3f5c6762 Mon Sep 17 00:00:00 2001 From: jsmall-nvidia Date: Tue, 26 Oct 2021 21:42:11 -0400 Subject: Runs all gfx unit tests through a 'test proxy' (#1981) * #include an absolute path didn't work - because paths were taken to always be relative. * Support for test proxy. * Turn on testing using proxy. * Don't pass sink into check of downstream compiler. * Small change to kick off build. * Remove register specification on transcendental. * Increase poll timeout. Small improvements to proxy. * Disable gfx unit tests. * Put test runner in shared library mode by default. * Change comment. Kick off another CI test. * Small edit to kick off builds. * Run unit tests on proxy. * Turn on using proxy for now. * Enable swift shader. * Fix typo. Add exception support. * Make the default spwan type SharedLibrary Use isolation for gfx unit tests. * Update slang-binaries. * Fix typo. * Report unit test output information. --- tests/compute/transcendental-double.slang | 2 +- tests/compute/transcendental.slang | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/compute/transcendental-double.slang b/tests/compute/transcendental-double.slang index 19ea417d8..4e84ea4ef 100644 --- a/tests/compute/transcendental-double.slang +++ b/tests/compute/transcendental-double.slang @@ -8,7 +8,7 @@ //DISABLE_TEST(compute,vulkan):COMPARE_COMPUTE:-vk -output-using-type -shaderobj //TEST_INPUT:ubuffer(data=[0 0 0 0 0 0 0 0], stride=4):out,name=outputBuffer -RWStructuredBuffer outputBuffer : register(u0); +RWStructuredBuffer outputBuffer; float quantize(double value) { diff --git a/tests/compute/transcendental.slang b/tests/compute/transcendental.slang index cf8548939..9281435d3 100644 --- a/tests/compute/transcendental.slang +++ b/tests/compute/transcendental.slang @@ -4,7 +4,7 @@ //TEST(compute,vulkan):COMPARE_COMPUTE:-vk -output-using-type -shaderobj //TEST_INPUT:ubuffer(data=[0 0 0 0 0 0 0 0], stride=4):out,name=outputBuffer -RWStructuredBuffer outputBuffer : register(u0); +RWStructuredBuffer outputBuffer; float quantize(float value) { -- cgit v1.2.3