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-15.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-15.slang')
| -rw-r--r-- | tests/compute/dynamic-dispatch-15.slang | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/compute/dynamic-dispatch-15.slang b/tests/compute/dynamic-dispatch-15.slang index 2ab169281..46e209a8a 100644 --- a/tests/compute/dynamic-dispatch-15.slang +++ b/tests/compute/dynamic-dispatch-15.slang @@ -14,7 +14,7 @@ interface IInterface //TEST_INPUT:ubuffer(data=[0], stride=4):out,name=gOutputBuffer RWStructuredBuffer<float> gOutputBuffer; -//TEST_INPUT: set gObj = dynamic new StructuredBuffer<IInterface>[new FloatVal{1.0}, new Float4Val{{[2.0, 3.0, 4.0, 5.0]}}, new IntVal{6}, new Int4Val{[7,8,9,10]}]; +//TEST_INPUT: set gObj = new StructuredBuffer<IInterface>[new FloatVal{1.0}, new Float4Val{{[2.0, 3.0, 4.0, 5.0]}}, new IntVal{6}, new Int4Val{[7,8,9,10]}]; RWStructuredBuffer<IInterface> gObj; [numthreads(1, 1, 1)] |
