1; RUN: ./amdgcn_glslc %s | FileCheck -check-prefix=GCN -check-prefix=FUNC %s 2 3; FUNC-LABEL: {{^}}@min_u32: 4; GCN: main 5; GCN: v_interp_mov 6; GCN: v_interp_mov 7; GCN-NEXT: v_min_u32 8; GCN-NEXT: epilog 9 10#shader fs min_u32 11#version 400 12flat in uvec2 v; 13out uvec4 o; 14void main() { 15 o.x = min(v.x, v.y); 16} 17 18 19; FUNC-LABEL: {{^}}@max_u32: 20; GCN: main 21; GCN: v_interp_mov 22; GCN: v_interp_mov 23; GCN-NEXT: v_max_u32 24; GCN-NEXT: epilog 25 26#shader fs max_u32 27#version 400 28flat in uvec2 v; 29out uvec4 o; 30void main() { 31 o.x = max(v.x, v.y); 32} 33