diff options
| author | Yong He <yonghe@outlook.com> | 2024-11-22 15:14:48 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-22 15:14:48 -0800 |
| commit | 43728fbda5b9af19eded18fe82ca67b66cc6d0f7 (patch) | |
| tree | 13354573300776f7f293b886109c85be760933fc /tests/compute/dynamic-dispatch-14.slang | |
| parent | 756cb32e92f42a622d10b1cca52c7b7e926725d2 (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/compute/dynamic-dispatch-14.slang')
| -rw-r--r-- | tests/compute/dynamic-dispatch-14.slang | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/compute/dynamic-dispatch-14.slang b/tests/compute/dynamic-dispatch-14.slang index 641fe938c..16703aa2a 100644 --- a/tests/compute/dynamic-dispatch-14.slang +++ b/tests/compute/dynamic-dispatch-14.slang @@ -23,12 +23,10 @@ interface IInterface //TEST_INPUT:ubuffer(data=[0 0 0 0], stride=4):out,name=gOutputBuffer RWStructuredBuffer<int> gOutputBuffer; - -// Specialize gCb1, but not gCb2 //TEST_INPUT: set gCb = new StructuredBuffer<IInterface>{new MyImpl{1}}; RWStructuredBuffer<IInterface> gCb; -//TEST_INPUT: set gCb1 = dynamic new StructuredBuffer<IInterface>{new MyImpl{1}} +//TEST_INPUT: set gCb1 = new StructuredBuffer<IInterface>{new MyImpl{1}} RWStructuredBuffer<IInterface> gCb1; [numthreads(4, 1, 1)] |
