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.c607 STATIC_ASSERT(ARRAY_SIZE(st->pbo.upload_fs) == ST_NUM_PBO_CONVERSIONS); in st_pbo_get_upload_fs()
611 if (!st->pbo.upload_fs[conversion][need_layer]) in st_pbo_get_upload_fs()
612 …st->pbo.upload_fs[conversion][need_layer] = create_fs(st, false, 0, conversion, PIPE_FORMAT_NONE, … in st_pbo_get_upload_fs()
614 return st->pbo.upload_fs[conversion][need_layer]; in st_pbo_get_upload_fs()
704 for (i = 0; i < ARRAY_SIZE(st->pbo.upload_fs); ++i) { in st_destroy_pbo_helpers()
705 for (unsigned j = 0; j < ARRAY_SIZE(st->pbo.upload_fs[0]); j++) { in st_destroy_pbo_helpers()
706 if (st->pbo.upload_fs[i][j]) { in st_destroy_pbo_helpers()
707 st->pipe->delete_fs_state(st->pipe, st->pbo.upload_fs[i][j]); in st_destroy_pbo_helpers()
708 st->pbo.upload_fs[i][j] = NULL; in st_destroy_pbo_helpers()
Dst_context.h324 void *upload_fs[5][2]; member