diff options
| author | Yong He <yonghe@outlook.com> | 2021-05-25 10:24:38 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-05-25 10:24:38 -0700 |
| commit | ba24264275c640e0ac3732f0f5720e1f5816cded (patch) | |
| tree | 9413b919498c700afe89d498ff3434eea9cf3c89 /tests | |
| parent | fbf00dd54d787c6e22b0f1785a64dfb2fb1e300a (diff) | |
Allow overriding specialization args via `IShaderObject`. (#1854)
* Allow overriding specialization args via `IShaderObject`.
* Fixes.
Co-authored-by: T. Foley <tfoleyNV@users.noreply.github.com>
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/compute/dynamic-dispatch-14.slang | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/compute/dynamic-dispatch-14.slang b/tests/compute/dynamic-dispatch-14.slang index 8361cd317..9bbed215e 100644 --- a/tests/compute/dynamic-dispatch-14.slang +++ b/tests/compute/dynamic-dispatch-14.slang @@ -29,8 +29,7 @@ RWStructuredBuffer<int> gOutputBuffer; //TEST_INPUT: set gCb = new StructuredBuffer<IInterface>{new MyImpl{1}}; RWStructuredBuffer<IInterface> gCb; -// Add two elements into the structured buffer to prevent specialization. -//TEST_INPUT: set gCb1 = new StructuredBuffer<IInterface>{new MyImpl{1}, new MyImpl2{2}}; +//TEST_INPUT: set gCb1 = new StructuredBuffer<IInterface>{new MyImpl{1}} : specialization_args(__Dynamic); RWStructuredBuffer<IInterface> gCb1; [numthreads(4, 1, 1)] |
