[clang] [HLSL][SPIR-V] Handle SV_Postion builtin in PS (PR #141759)

Nathan Gauër via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 10 05:51:15 PDT 2025


================
@@ -764,6 +764,13 @@ void SemaHLSL::CheckSemanticAnnotation(
       return;
     DiagnoseAttrStageMismatch(AnnotationAttr, ST, {llvm::Triple::Compute});
     break;
+  case attr::HLSLSV_Position:
+    // TODO: allow use on other shader types & output once the overall semantic
----------------
Keenuts wrote:

Updated the TODO to link a new issue.

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


More information about the cfe-commits mailing list