[clang] [HLSL][SPIRV] Skip spirv-val for the PointSize library test (PR #248612)

Diego Novillo via cfe-commits cfe-commits at lists.llvm.org
Thu Dec 3 10:49:17 PST 2026


https://github.com/dnovillo created https://github.com/llvm/llvm-project/pull/248612

The library.hlsl case of vk-builtin-point-size-pixel-input-spirv.hlsl fails spirv-val on the HLSL builders because of #245346. 

This disables spirv-val for that case until the issue is fixed.

>From 7b4795a147c3259a26bdac75b7cec8208123cbf6 Mon Sep 17 00:00:00 2001
From: Diego Novillo <dnovillo at nvidia.com>
Date: Thu, 3 Dec 2026 13:46:16 -0500
Subject: [PATCH] [HLSL][SPIRV] Skip spirv-val for the PointSize library test

---
 .../CodeGenHLSL/vk-builtin-point-size-pixel-input-spirv.hlsl | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/clang/test/CodeGenHLSL/vk-builtin-point-size-pixel-input-spirv.hlsl b/clang/test/CodeGenHLSL/vk-builtin-point-size-pixel-input-spirv.hlsl
index dbbcf8d1ee52c6..22b4da76563d36 100644
--- a/clang/test/CodeGenHLSL/vk-builtin-point-size-pixel-input-spirv.hlsl
+++ b/clang/test/CodeGenHLSL/vk-builtin-point-size-pixel-input-spirv.hlsl
@@ -11,8 +11,9 @@
 // RUN: %if spirv-val %{ spirv-val --target-env vulkan1.3 %t/unread.spv %}
 // RUN: %if spirv-val %{ %clang_cc1 -finclude-default-header -triple spirv-pc-vulkan1.3-pixel -hlsl-entry main -O0 -emit-obj -o %t/scalar.spv %t/scalar.hlsl %}
 // RUN: %if spirv-val %{ spirv-val --target-env vulkan1.3 %t/scalar.spv %}
-// RUN: %if spirv-val %{ %clang_cc1 -finclude-default-header -triple spirv-pc-vulkan1.3-library -O3 -emit-obj -o %t/library.spv %t/library.hlsl %}
-// RUN: %if spirv-val %{ spirv-val --target-env vulkan1.3 %t/library.spv %}
+
+// FIXME: spirv-val is disabled for library.hlsl because of
+// https://github.com/llvm/llvm-project/issues/245346.
 
 // A pixel shader PointSize input that optimization removes compiles. The
 // checks establish that PointSize is gone and that the input does not take a



More information about the cfe-commits mailing list