diff options
| author | Yong He <yonghe@outlook.com> | 2025-06-18 16:36:47 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-18 16:36:47 -0700 |
| commit | 777ac6cae9776cd2d28bd5a9f627261ba9740153 (patch) | |
| tree | 2b20d003b2e622e34924ff006a67a0f7d37204e5 /source | |
| parent | ef6c21af908ad72a04c6d7d22ad9cd189a44f2e3 (diff) | |
Fix coopvector neg intrinsic. (#7481)
* Fix coopvector neg intrinsic.
* Add test case.
Diffstat (limited to 'source')
| -rw-r--r-- | source/slang/hlsl.meta.slang | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/slang/hlsl.meta.slang b/source/slang/hlsl.meta.slang index ec7ff0e0d..d71e57400 100644 --- a/source/slang/hlsl.meta.slang +++ b/source/slang/hlsl.meta.slang @@ -25101,7 +25101,7 @@ struct CoopVec<T : __BuiltinArithmeticType, let N : int> : IArray<T>, IArithmeti } __intrinsic_op($(kIROp_Neg)) - This __pureNeg(This other); + static This __pureNeg(This other); /// Returns a new cooperative vector where each component has its sign negated. /// @return A new cooperative vector containing the negated values. |
