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

S. Bharadwaj Yadavalli via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 7 15:54:28 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.
+
+This is idential to DXC behavior when an entry point is specified as compiler
----------------
bharadwajy wrote:

```suggestion
This is identical to DXC behavior when an entry point is specified as compiler
```

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


More information about the cfe-commits mailing list