Home
last modified time | relevance | path

Searched refs:upload_fs (Results 1 – 2 of 2) sorted by relevance

/third_party/mesa3d/src/mesa/state_tracker/
Dst_pbo.c610 STATIC_ASSERT(ARRAY_SIZE(st->pbo.upload_fs) == ST_NUM_PBO_CONVERSIONS); in st_pbo_get_upload_fs()
614 if (!st->pbo.upload_fs[conversion][need_layer]) in st_pbo_get_upload_fs()
615 st->pbo.upload_fs[conversion][need_layer] = create_fs(st, false, 0, conversion, need_layer); in st_pbo_get_upload_fs()
617 return st->pbo.upload_fs[conversion][need_layer]; in st_pbo_get_upload_fs()
682 for (i = 0; i < ARRAY_SIZE(st->pbo.upload_fs); ++i) { in st_destroy_pbo_helpers()
683 for (unsigned j = 0; j < ARRAY_SIZE(st->pbo.upload_fs[0]); j++) { in st_destroy_pbo_helpers()
684 if (st->pbo.upload_fs[i][j]) { in st_destroy_pbo_helpers()
685 st->pipe->delete_fs_state(st->pipe, st->pbo.upload_fs[i][j]); in st_destroy_pbo_helpers()
686 st->pbo.upload_fs[i][j] = NULL; in st_destroy_pbo_helpers()
Dst_context.h327 void *upload_fs[5][2]; member