2016-05-26 23:24:55 +08:00
|
|
|
; RUN: not llc -march=amdgcn -mtriple=amdgcn-unknown-amdhsa < %s 2>&1 | FileCheck %s
|
2015-11-03 07:23:02 +08:00
|
|
|
|
2016-02-02 21:52:43 +08:00
|
|
|
; CHECK: in function pixel_s{{.*}}: unsupported non-compute shaders with HSA
|
2016-04-07 03:40:20 +08:00
|
|
|
define amdgpu_ps void @pixel_shader() #0 {
|
2015-11-03 07:23:02 +08:00
|
|
|
ret void
|
|
|
|
}
|
|
|
|
|
2016-05-26 23:24:55 +08:00
|
|
|
; CHECK: in function vertex_s{{.*}}: unsupported non-compute shaders with HSA
|
2016-04-07 03:40:20 +08:00
|
|
|
define amdgpu_vs void @vertex_shader() #0 {
|
2015-11-03 07:23:02 +08:00
|
|
|
ret void
|
|
|
|
}
|
|
|
|
|
2016-05-26 23:24:55 +08:00
|
|
|
; CHECK: in function geometry_s{{.*}}: unsupported non-compute shaders with HSA
|
2016-04-07 03:40:20 +08:00
|
|
|
define amdgpu_gs void @geometry_shader() #0 {
|
2015-11-03 07:23:02 +08:00
|
|
|
ret void
|
|
|
|
}
|