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