From 777ac6cae9776cd2d28bd5a9f627261ba9740153 Mon Sep 17 00:00:00 2001 From: Yong He Date: Wed, 18 Jun 2025 16:36:47 -0700 Subject: Fix coopvector neg intrinsic. (#7481) * Fix coopvector neg intrinsic. * Add test case. --- source/slang/hlsl.meta.slang | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source') 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 : IArray, 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. -- cgit v1.2.3