diff options
| author | Sriram Murali <85252063+sriramm-nv@users.noreply.github.com> | 2024-07-25 15:58:54 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-25 15:58:54 -0700 |
| commit | 0fe55d6d8793fcd005b6d3c0ccaa0afbc27c069f (patch) | |
| tree | 8e1cf68aa6aff6b4db3aababb1b3cf365ba74e3d /include | |
| parent | 2e7e2b568ce93697e36a7c0b50364dc78bd1bb97 (diff) | |
Disallow multi-dim vector subscript in slang IR (#4277)
Fixes bug #3180
This test verifies the check for illegal swizzle on vector types, whose
element is not a basic Type (int, float).
The check captures the failure within swizzle access on a nested vector
subscript element.
vector<vector<int, 2>, 2> a
int b = a[0].x; // illegal
Co-authored-by: Yong He <yonghe@outlook.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
