[clang] [llvm] [VK][HLSL][SPIRV] Accept vk::builtin("PointSize") on pixel shader inputs (PR #243513)

Diego Novillo via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 27 12:38:52 PST 2026


================
@@ -0,0 +1,54 @@
+// REQUIRES: spirv-registered-target
----------------
dnovillo wrote:

> Is there a HLSL test that has both a vertex and pixel shader like in the description? Sorry if I missed that.

Good catch. There wasn't one. I added `library.hlsl` to this file: a vertex and a pixel shader in one module that share the struct, where only the vertex shader uses `PointSize`.

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


More information about the cfe-commits mailing list