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