1bf215546Sopenharmony_ci; RUN: ./amdgcn_glslc %s | FileCheck -check-prefix=GCN -check-prefix=FUNC %s 2bf215546Sopenharmony_ci 3bf215546Sopenharmony_ci; FUNC-LABEL: {{^}}@min_f32: 4bf215546Sopenharmony_ci; GCN: main 5bf215546Sopenharmony_ci; GCN: v_interp_mov 6bf215546Sopenharmony_ci; GCN: v_interp_mov 7bf215546Sopenharmony_ci; GCN-NEXT: v_min_f32 8bf215546Sopenharmony_ci; GCN-NEXT: epilog 9bf215546Sopenharmony_ci 10bf215546Sopenharmony_ci#shader fs min_f32 11bf215546Sopenharmony_ci#version 400 12bf215546Sopenharmony_ciflat in vec2 v; 13bf215546Sopenharmony_civoid main() { 14bf215546Sopenharmony_ci gl_FragColor.x = min(v.x, v.y); 15bf215546Sopenharmony_ci} 16bf215546Sopenharmony_ci 17bf215546Sopenharmony_ci 18bf215546Sopenharmony_ci; FUNC-LABEL: {{^}}@max_f32: 19bf215546Sopenharmony_ci; GCN: main 20bf215546Sopenharmony_ci; GCN: v_interp_mov 21bf215546Sopenharmony_ci; GCN: v_interp_mov 22bf215546Sopenharmony_ci; GCN-NEXT: v_max_f32 23bf215546Sopenharmony_ci; GCN-NEXT: epilog 24bf215546Sopenharmony_ci 25bf215546Sopenharmony_ci#shader fs max_f32 26bf215546Sopenharmony_ci#version 400 27bf215546Sopenharmony_ciflat in vec2 v; 28bf215546Sopenharmony_civoid main() { 29bf215546Sopenharmony_ci gl_FragColor.x = max(v.x, v.y); 30bf215546Sopenharmony_ci} 31