diff options
| author | Yong He <yonghe@outlook.com> | 2024-06-10 11:45:36 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-10 11:45:36 -0700 |
| commit | b5cdd8322bd51603c217dfb7662306628b144c78 (patch) | |
| tree | 0c57a636e10bd39408ea74e0caa68d9c30d6e43b /tests/language-feature | |
| parent | 6857dd57549f01daa025f45221a693259e474958 (diff) | |
Support all integer typed indices in StructuredBuffer Load/Store/[]. (#4311)
* Support all integer typed indices in StructuredBuffer Load/Store/[].
* Fix tests.
---------
Co-authored-by: Jay Kwak <82421531+jkwak-work@users.noreply.github.com>
Diffstat (limited to 'tests/language-feature')
| -rw-r--r-- | tests/language-feature/overload-resolution.slang | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/language-feature/overload-resolution.slang b/tests/language-feature/overload-resolution.slang index 9c135137a..c95269477 100644 --- a/tests/language-feature/overload-resolution.slang +++ b/tests/language-feature/overload-resolution.slang @@ -25,10 +25,10 @@ T myGenF<T : __BuiltinIntegerType>(inout T a, T b) return a - b; } } -// CHECK: result{{.*}}[0{{U?}}] = 1 -// CHECK: result{{.*}}[1{{U?}}] = 4 -// CHECK: result{{.*}}[2{{U?}}] = 1 -// CHECK: result{{.*}}[3{{U?}}] = 4 +// CHECK: result{{.*}}[int(0)] = 1 +// CHECK: result{{.*}}[int(1)] = 4 +// CHECK: result{{.*}}[int(2)] = 1 +// CHECK: result{{.*}}[int(3)] = 4 [numthreads(1,1,1)] void main() { |
