1bf215546Sopenharmony_ci; RUN: ./amdgcn_glslc %s | FileCheck -check-prefix=GCN -check-prefix=FUNC %s
2bf215546Sopenharmony_ci
3bf215546Sopenharmony_ci; FUNC-LABEL: {{^}}@pow:
4bf215546Sopenharmony_ci; GCN: main
5bf215546Sopenharmony_ci; GCN: v_interp_mov
6bf215546Sopenharmony_ci; GCN-NEXT: v_log_f32
7bf215546Sopenharmony_ci; GCN-NEXT: v_interp_mov
8bf215546Sopenharmony_ci; GCN-NEXT: v_mul_legacy_f32
9bf215546Sopenharmony_ci; GCN-NEXT: v_exp_f32
10bf215546Sopenharmony_ci; GCN-NEXT: epilog
11bf215546Sopenharmony_ci
12bf215546Sopenharmony_ci#shader fs pow
13bf215546Sopenharmony_ci#version 400
14bf215546Sopenharmony_ciflat in vec2 v;
15bf215546Sopenharmony_civoid main() {
16bf215546Sopenharmony_ci    gl_FragColor.x = pow(v.x, v.y);
17bf215546Sopenharmony_ci}
18