freedreno/a4xx: move where we deal w/ binning FS
[mesa.git] / src / gallium / drivers / freedreno / freedreno_query_hw.c
index 433c678c6d9d7cd0393b7ecb06267d09296e4820..2ac03f22b4148379942a6c57ccf5388dd927ebf2 100644 (file)
@@ -47,6 +47,8 @@ static int pidx(unsigned query_type)
                return 0;
        case PIPE_QUERY_OCCLUSION_PREDICATE:
                return 1;
+       case PIPE_QUERY_TIME_ELAPSED:
+               return 2;
        default:
                return -1;
        }