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