[clang] [llvm] [HLSL] Add support for SV_ViewID (PR #236259)
via cfe-commits
cfe-commits at lists.llvm.org
Thu Oct 29 11:54:10 PDT 2026
================
@@ -0,0 +1,47 @@
+; RUN: split-file %s %t
+; RUN: opt -S -dxil-op-lower %t/vertex.ll | FileCheck %s
+; RUN: opt -S -dxil-op-lower %t/pixel.ll | FileCheck %s
+; RUN: not opt -S -dxil-op-lower %t/compute.ll 2>&1 | FileCheck %s --check-prefix=STAGE
+; RUN: not opt -S -dxil-op-lower %t/sm60.ll 2>&1 | FileCheck %s --check-prefix=VERSION
----------------
joaosaffran wrote:
same as https://github.com/llvm/llvm-project/pull/236252#discussion_r4405930234.
https://github.com/llvm/llvm-project/pull/236259
More information about the cfe-commits
mailing list