================ @@ -119,3 +119,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 identical to DXC behavior when an entry point is specified as compiler ---------------- pow2clk wrote:
What is the expected error? What I see in DXC is "Cannot find entry function main". That's better than cheerfully producing an empty library, but it could be more helpful. https://github.com/llvm/llvm-project/pull/95331 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits