summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2020-06-17 13:08:27 -0700
committerGitHub <noreply@github.com>2020-06-17 13:08:27 -0700
commitcd7f01b63a52eaaad00088524801e502bcb0f168 (patch)
treea04b6d9f2f7f85466b537a8aedeb3795339fae71 /tests
parentca503d48bff31d3990d4740751d5f6a4a48bfe5a (diff)
Generate dynamic C++ code for the minimal test case. (#1391)
* Add IR pass to lower generics into ordinary functions. * Fix project files * Emit dynamic C++ code for simple generics and witness tables. Fixes #1386. * Remove -dump-ir flag. * Fixups.
Diffstat (limited to 'tests')
-rw-r--r--tests/compute/dynamic-generics-simple.slang5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/compute/dynamic-generics-simple.slang b/tests/compute/dynamic-generics-simple.slang
index bb009204e..223284116 100644
--- a/tests/compute/dynamic-generics-simple.slang
+++ b/tests/compute/dynamic-generics-simple.slang
@@ -1,5 +1,4 @@
-//TEST_IGNORE_FILE
-//TEST(compute):COMPARE_COMPUTE:-cpu -xslang -allow-dynamic-code -xslang -dump-ir
+//TEST(compute):COMPARE_COMPUTE:-cpu -xslang -allow-dynamic-code
// Test basic dynamic dispatch code gen
@@ -33,4 +32,4 @@ void computeMain(uint3 dispatchThreadID : SV_DispatchThreadID)
int inVal = outputBuffer[tid];
int outVal = test(inVal);
outputBuffer[tid] = outVal;
-} \ No newline at end of file
+}