~mmach/netext73/mesa-haswell

« back to all changes in this revision

Viewing changes to src/gallium/drivers/radeonsi/glsl_tests/fma.glsl

  • Committer: mmach
  • Date: 2022-09-22 19:56:13 UTC
  • Revision ID: netbit73@gmail.com-20220922195613-wtik9mmy20tmor0i
2022-09-22 21:17:09

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
; RUN: ./amdgcn_glslc %s | FileCheck -check-prefix=GCN -check-prefix=FUNC %s
2
 
 
3
 
; FUNC-LABEL: {{^}}@fma:
4
 
; GCN: main
5
 
; GCN: v_interp_mov
6
 
; GCN: v_interp_mov
7
 
; GCN: v_interp_mov
8
 
; GCN-NEXT: v_mac_f32
9
 
; GCN-NEXT: epilog
10
 
 
11
 
#shader fs fma
12
 
#version 400
13
 
flat in vec3 v;
14
 
void main() {
15
 
    gl_FragColor.x = fma(v.x, v.y, v.z);
16
 
}