summaryrefslogtreecommitdiff
path: root/tests/bugs
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2019-02-05 18:18:16 -0800
committerGitHub <noreply@github.com>2019-02-05 18:18:16 -0800
commita39fd3d3f67df28b9206c9f08bc7d046f9b0db59 (patch)
treea3971c4c6217914e9dc4c12917f26a7eb6ac28b2 /tests/bugs
parentc198eaba351850fcb3d82c2f5117efc0e2e2bf1e (diff)
parent60cc9f24c4bec54561bea873ee943aa3d0973dc2 (diff)
Merge branch 'master' into gencloser
Diffstat (limited to 'tests/bugs')
-rw-r--r--tests/bugs/gh-357.slang6
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/bugs/gh-357.slang b/tests/bugs/gh-357.slang
index be2ba95ed..043eebf17 100644
--- a/tests/bugs/gh-357.slang
+++ b/tests/bugs/gh-357.slang
@@ -25,11 +25,9 @@ struct AssocImpl : IAssoc
typedef BaseImpl TBase;
};
-__generic_param T : IAssoc;
-
-
[numthreads(4, 1, 1)]
-void computeMain(uint3 dispatchThreadID : SV_DispatchThreadID)
+void computeMain<T:IAssoc>(
+ uint3 dispatchThreadID : SV_DispatchThreadID)
{
uint tid = dispatchThreadID.x;
T.TBase base;