[clang] [HLSL] Allow input semantics on structs (PR #159047)

Nathan Gauër via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 15 07:53:50 PDT 2025


================
@@ -1,7 +1,9 @@
 // RUN: %clang_cc1 -triple dxil-pc-shadermodel6.0-pixel -x hlsl -finclude-default-header -o - %s -ast-dump | FileCheck %s
 
-float4 main(float4 a : SV_Position) {
+float4 main(float4 a : SV_Position2) {
----------------
Keenuts wrote:

Yes that's correct. I'll add a FIXME, but that's indeed because the output semantics are not implemented yet.

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


More information about the cfe-commits mailing list