1 ; RUN: ./amdgcn_glslc %s | FileCheck -check-prefix=GCN -check-prefix=FUNC %s
2
3 ; FUNC-LABEL: {{^}}@exp2:
4 ; GCN: main
5 ; GCN: v_interp_mov
6 ; GCN-NEXT: v_exp_f32
7 ; GCN-NEXT: epilog
8
9 #shader fs exp2
10 #version 400
11 flat in float f;
12 void main() {
13 gl_FragColor.x = exp2(f);
14 }
15