projects
/
mesa.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
radeonsi: implement GL_KHR_blend_equation_advanced
[mesa.git]
/
src
/
gallium
/
drivers
/
radeonsi
/
glsl_tests
/
ldexp.glsl
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
12
flat in float f;
13
flat in int i;
14
void main() {
15
gl_FragColor.x = ldexp(f, i);
16
}