summaryrefslogtreecommitdiffstats
path: root/tests/compute
diff options
context:
space:
mode:
authorAnders Leino <aleino@nvidia.com>2025-02-28 16:12:03 +0200
committerGitHub <noreply@github.com>2025-02-28 14:12:03 +0000
commite4b960024972420dfc96a758bfc35e8fcbf28273 (patch)
tree74bdcdf525ddf02a3ff18f948af8801d38d672bd /tests/compute
parentceb3af59f797ec60249debd614db13dd6902de12 (diff)
Prepare for render test api migration (#6498)
* Remove tests/compute/dump-repro The -load-repro option is no longer maintained. This helps to address issue #4760. * Rename ShaderCompilerUtil::Output::session to globalSession * Remove the load-repro codepath * Lifetime bugfix
Diffstat (limited to 'tests/compute')
-rw-r--r--tests/compute/dump-repro.slang16
1 files changed, 0 insertions, 16 deletions
diff --git a/tests/compute/dump-repro.slang b/tests/compute/dump-repro.slang
deleted file mode 100644
index 9065c29fc..000000000
--- a/tests/compute/dump-repro.slang
+++ /dev/null
@@ -1,16 +0,0 @@
-//DISABLE_TEST(compute):SIMPLE:-profile cs_5_0 -entry computeMain -target dxbc -dump-repro repro.slang-repro
-//TEST:COMPILE:tests/compute/dump-repro.slang -profile cs_5_0 -entry computeMain -target dxbc -dump-repro repro.slang-repro
-//TEST(compute):COMPARE_COMPUTE_EX:-dx11 -compute -no-default-entry-point -compile-arg -load-repro -compile-arg repro.slang-repro -shaderobj
-// We only want to run on one API to test load worked
-//DISABLE_TEST(compute):COMPARE_COMPUTE:-dx12 -load-repro repro.slang-repro -shaderobj
-
-//TEST_INPUT:ubuffer(data=[0 0 0 0 0 0 0 0], stride=4):out,name outputBuffer
-RWStructuredBuffer<int> outputBuffer;
-
-[numthreads(8, 1, 1)]
-void computeMain(uint3 dispatchThreadID : SV_DispatchThreadID)
-{
- int index = int(dispatchThreadID.x);
-
- outputBuffer[index] = index * 2 + 1;
-}