[clang] [llvm] [HLSL][DXIL] Implement `refract` intrinsic (PR #136026)

Farzon Lotfi via cfe-commits cfe-commits at lists.llvm.org
Wed May 21 22:50:15 PDT 2025


================
@@ -20,7 +20,7 @@ namespace clang {
 class SemaSPIRV : public SemaBase {
 public:
   SemaSPIRV(Sema &S);
-
+  bool CheckVectorArgs(CallExpr *TheCall, unsigned NumArgsToCheck);
----------------
farzonl wrote:

This is a helper, we don't need to expose it in the class. No one needs to use this outside of spirv and if they did it wouldn't live in the semaSPIRV file it would live somewhere like SemaChecking.

https://github.com/llvm/llvm-project/pull/136026


More information about the cfe-commits mailing list