[clang] [HLSL] Change default linkage of HLSL functions and `groupshared` variables (PR #93336)

Damyan Pepper via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 12 14:27:20 PDT 2024


================
@@ -108,3 +108,16 @@ behavior between Clang and DXC. Some examples include:
   diagnostic notifying the user of the conversion rather than silently altering
   precision relative to the other overloads (as FXC does) or generating code
   that will fail validation (as DXC does).
+
+Correctness improvements (bug fixes)
+====================================
+
+Entry point functions & ``static`` keyword
+------------------------------------------
+Marking a shader entry point function ``static`` will result in an error.
----------------
damyanp wrote:

Is there a test for this already?

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


More information about the cfe-commits mailing list