diff options
| author | kaizhangNV <149626564+kaizhangNV@users.noreply.github.com> | 2025-06-26 14:39:40 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-26 12:39:40 -0700 |
| commit | bf94fc3f5b73033334db28846580f16df42d6a85 (patch) | |
| tree | 067435e49aae2e7bc6a9eba138984746f09371c3 /tests/serialization | |
| parent | d166fe8333c7dfc61c32fda5017461858eb4c3fa (diff) | |
Fix the invalid SPIRV decoration issue (#7527)
* Fix the invalid SPIRV decoration issue
Close #7508.
SPIRV doesn't allow decoration on type with Private or Function storage
class.
In our lowering logic, if the array type is used by buffer type it
will always have stride operand after lowering, so if the array is not
used by buffer type, it must be used only by thread_local or
group_shared variable, and it will not have stride operand. For this
case, we don't need to emit stride decoration for SPIRV.
Diffstat (limited to 'tests/serialization')
0 files changed, 0 insertions, 0 deletions
