Files
clang-p2996/llvm/test/CodeGen/SPIRV/ExecutionMode_Vertex.ll
Nathan Gauër 6f23116507 [SPIR-V] Add Vertex execution model (#142369)
Adds backend handling of the vertex shader type compiling from HLSL.

Fixes #136961
2025-06-10 14:48:25 +02:00

13 lines
381 B
LLVM

; RUN: llc -O0 -mtriple=spirv-unknown-vulkan1.3-vertex %s -o - | FileCheck %s
; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv-unknown-vulkan1.3-vertex %s -o - -filetype=obj | spirv-val --target-env vulkan1.3 %}
; CHECK: OpCapability Shader
; CHECK: OpEntryPoint Vertex %[[#entry:]] "main"
define void @main() #1 {
entry:
ret void
}
attributes #1 = { "hlsl.shader"="vertex" }