summaryrefslogtreecommitdiffstats
path: root/source/slang/slang-parser.cpp
diff options
context:
space:
mode:
authorkaizhangNV <149626564+kaizhangNV@users.noreply.github.com>2025-10-02 15:24:46 -0700
committerGitHub <noreply@github.com>2025-10-02 15:24:46 -0700
commit0c778339d7e3c39f600af2cc049f13f661d3434b (patch)
treec7927a86fb2ae6e8df2fa781583179d59346e342 /source/slang/slang-parser.cpp
parentbffac95febd7a29cfac0becfcb019cd057b53765 (diff)
Relax the inst definition order rule (#8588)
Close #8572. The root cause of the issue is that in `_replaceInstUsesWith` call, if the use of the inst is a generic parameter, and the inst is the data type of that generic parameter, we could end up of moving the data type before the generic parameter. This will break the layout of generic parameters, where all the generic parameters should be laid consecutively at the beginning of the first block of the generic. Therefore, we don't make that relocation for such case.
Diffstat (limited to 'source/slang/slang-parser.cpp')
0 files changed, 0 insertions, 0 deletions