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
/
pow.glsl
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
14
flat in vec2 v;
15
void main() {
16
gl_FragColor.x = pow(v.x, v.y);
17
}