mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-22 04:22:57 +02:00
a814b67e03
It broke layering violation in LLVMIR. clang r258950 "Add backend dignostic printer for unsupported features" llvm r258951 "Refactor backend diagnostics for unsupported features" llvm-svn: 259016
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" }
|