freedreno: add prims-emitted driver query
authorRob Clark <robclark@freedesktop.org>
Tue, 14 Jan 2014 12:34:41 +0000 (07:34 -0500)
committerRob Clark <robclark@freedesktop.org>
Sat, 1 Feb 2014 16:45:19 +0000 (11:45 -0500)
Signed-off-by: Rob Clark <robclark@freedesktop.org>
src/gallium/drivers/freedreno/freedreno_query.c

index 35bd5d799ef2b6f845fdd04637fef74045200fb5..3913896bf561c31b4e4720736ecebc52c69f0868 100644 (file)
@@ -184,6 +184,7 @@ fd_get_driver_query_info(struct pipe_screen *pscreen,
                        {"batches-sysmem", FD_QUERY_BATCH_SYSMEM, 0},
                        {"batches-gmem", FD_QUERY_BATCH_GMEM, 0},
                        {"restores", FD_QUERY_BATCH_RESTORE, 0},
+                       {"prims-emitted", PIPE_QUERY_PRIMITIVES_EMITTED, 0},
        };
 
        if (!info)