return retval == usage;
}
-extern const struct fd_perfcntr_group a2xx_perfcntr_groups[];
-extern const unsigned a2xx_num_perfcntr_groups;
-
void
fd2_screen_init(struct pipe_screen *pscreen)
{
if (fd_mesa_debug & FD_DBG_TTILE)
screen->tile_mode = fd2_tile_mode;
- if (fd_mesa_debug & FD_DBG_PERFC) {
- screen->perfcntr_groups = a2xx_perfcntr_groups;
- screen->num_perfcntr_groups = a2xx_num_perfcntr_groups;
- }
-
fd2_emit_init_screen(pscreen);
}