diff options
| author | Yong He <yonghe@outlook.com> | 2019-01-31 13:35:03 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-01-31 13:35:03 -0800 |
| commit | bcb361db7c5a6f8baa9b2012b9ee9778421f1386 (patch) | |
| tree | 9e5e1703e3b06e109bae6db136bbc2e816f96a2f /tests/compute/global-type-param.slang | |
| parent | c1fe5f295e843d10e24ae0d053fc3813a29aec89 (diff) | |
| parent | f20c64c348393602ed2a9c873386345cc4b493e8 (diff) | |
Merge branch 'master' into crashfix
Diffstat (limited to 'tests/compute/global-type-param.slang')
| -rw-r--r-- | tests/compute/global-type-param.slang | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/compute/global-type-param.slang b/tests/compute/global-type-param.slang index 2638852eb..f177dcb1d 100644 --- a/tests/compute/global-type-param.slang +++ b/tests/compute/global-type-param.slang @@ -28,10 +28,10 @@ struct Impl : IBase __generic_param TImpl : IBase; -TImpl impl; - [numthreads(1, 1, 1)] -void computeMain(uint3 dispatchThreadID : SV_DispatchThreadID) +void computeMain( + uniform TImpl impl, + uint3 dispatchThreadID : SV_DispatchThreadID) { uint tid = dispatchThreadID.x; float outVal = impl.compute(); |
