radeonsi: use CP DMA for the null const buffer clear on CIK
[mesa.git] / src / gallium / drivers / radeonsi / glsl_tests / fma.glsl
1 ; RUN: ./amdgcn_glslc %s | FileCheck -check-prefix=GCN -check-prefix=FUNC %s
2
3 ; FUNC-LABEL: {{^}}@fma:
4 ; GCN: main
5 ; GCN: v_interp_mov
6 ; GCN: v_interp_mov
7 ; GCN: v_interp_mov
8 ; GCN-NEXT: v_mac_f32
9 ; GCN-NEXT: epilog
10
11 #shader fs fma
12 #version 400
13 flat in vec3 v;
14 void main() {
15 gl_FragColor.x = fma(v.x, v.y, v.z);
16 }