[clang] HLSL availability diagnostics design doc (PR #92207)

Xiang Li via cfe-commits cfe-commits at lists.llvm.org
Wed May 15 14:39:02 PDT 2024


================
@@ -0,0 +1,53 @@
+=============================
+HLSL Availability Diagnostics
+=============================
+
+.. contents::
+   :local:
+
+Introduction
+============
+
+HLSL availability diagnostics emits errors or warning when unavailable shader APIs are used. Unavailable shader APIs are APIs that are exposed in HLSL code but are not available in the target shader stage or shader model version.
----------------
python3kgae wrote:

Could we add some hlsl examples?

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


More information about the cfe-commits mailing list