summaryrefslogtreecommitdiffstats
path: root/tests/language-feature
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2024-11-22 15:14:48 -0800
committerGitHub <noreply@github.com>2024-11-22 15:14:48 -0800
commit43728fbda5b9af19eded18fe82ca67b66cc6d0f7 (patch)
tree13354573300776f7f293b886109c85be760933fc /tests/language-feature
parent756cb32e92f42a622d10b1cca52c7b7e926725d2 (diff)
Don't treat StrcturedBuffer<IFoo> as a specializable param. (#5645)
* Don't treat StrcturedBuffer<IFoo> as a specializable param. * Fix RHI.
Diffstat (limited to 'tests/language-feature')
-rw-r--r--tests/language-feature/interfaces/empty-type-conformance.slang4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/language-feature/interfaces/empty-type-conformance.slang b/tests/language-feature/interfaces/empty-type-conformance.slang
index 9fee04607..ae529a496 100644
--- a/tests/language-feature/interfaces/empty-type-conformance.slang
+++ b/tests/language-feature/interfaces/empty-type-conformance.slang
@@ -1,5 +1,3 @@
-// Test that we allow empty type conformances.
-
//TEST(compute):COMPARE_COMPUTE_EX(filecheck-buffer=CHECK):-dx11 -compute -output-using-type
//TEST(compute):COMPARE_COMPUTE_EX(filecheck-buffer=CHECK):-vk -compute -output-using-type
@@ -18,6 +16,8 @@ StructuredBuffer<TestInterface> inBuffer;
//TEST_INPUT: set outputBuffer = out ubuffer(data=[0 0 0 0], stride=4);
RWStructuredBuffer<float> outputBuffer;
+//TEST_INPUT: type_conformance TestImplementation:TestInterface=0
+
[shader("compute")]
[numthreads(1, 1, 1)]
void computeMain(uint3 dispatchThreadID: SV_DispatchThreadID)