mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-25 13:45:34 +00:00
896d6554cb
I've found myself pointlessly debugging problems from running graphics tests with an HSA triple a few times, so stop this from happening again. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@251858 91177308-0d34-0410-b5e6-96231b3b80d8
19 lines
442 B
LLVM
19 lines
442 B
LLVM
; RUN: not llc -march=amdgcn -mtriple=amdgcn-unknown-amdhsa < %s 2>&1 | FileCheck %s
|
|
|
|
; CHECK: error: unsupported non-compute shaders with HSA in pixel_shader
|
|
define void @pixel_shader() #0 {
|
|
ret void
|
|
}
|
|
|
|
define void @vertex_shader() #1 {
|
|
ret void
|
|
}
|
|
|
|
define void @geometry_shader() #2 {
|
|
ret void
|
|
}
|
|
|
|
attributes #0 = { nounwind "ShaderType"="0" }
|
|
attributes #1 = { nounwind "ShaderType"="1" }
|
|
attributes #2 = { nounwind "ShaderType"="2" }
|