Home | History | Annotate | Download | only in glsl_tests
      1 ; RUN: ./amdgcn_glslc %s | FileCheck -check-prefix=GCN -check-prefix=FUNC %s
      2 
      3 ; FUNC-LABEL: {{^}}@bitcount:
      4 ; GCN: main
      5 ; GCN: v_interp_mov
      6 ; GCN-NEXT: v_bcnt_u32
      7 ; GCN-NEXT: epilog
      8 
      9 #shader fs bitcount
     10 #version 400
     11 flat in int i;
     12 out ivec4 o;
     13 void main() {
     14     o.x = bitCount(i);
     15 }
     16