summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/glsl_tests/exp2.glsl
blob: ff917052595208c198173184bd59ca758406003f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
; RUN: ./amdgcn_glslc %s | FileCheck -check-prefix=GCN -check-prefix=FUNC %s

; FUNC-LABEL: {{^}}@exp2:
; GCN: main
; GCN: v_interp_mov
; GCN-NEXT: v_exp_f32
; GCN-NEXT: epilog

#shader fs exp2
#version 400
flat in float f;
void main() {
    gl_FragColor.x = exp2(f);
}