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