summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorjsmall-nvidia <jsmall@nvidia.com>2021-10-26 21:42:11 -0400
committerGitHub <noreply@github.com>2021-10-26 18:42:11 -0700
commit62b1e58a72773fad43e555d7de1bfeaa3f5c6762 (patch)
tree89968e563e5f2f38377461c4fa3a3b72469b146a /tests
parentdcc2b854a64b3e4e890215ff21cf4b219724f524 (diff)
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.
Diffstat (limited to 'tests')
-rw-r--r--tests/compute/transcendental-double.slang2
-rw-r--r--tests/compute/transcendental.slang2
2 files changed, 2 insertions, 2 deletions
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<float> outputBuffer : register(u0);
+RWStructuredBuffer<float> 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<float> outputBuffer : register(u0);
+RWStructuredBuffer<float> outputBuffer;
float quantize(float value)
{