Home
last modified time | relevance | path

Searched refs:fpv (Results 1 – 3 of 3) sorted by relevance

/external/mesa3d/src/mesa/state_tracker/
Dst_cb_drawpixels.c747 struct st_fp_variant *fpv, in draw_textured_quad() argument
853 if (fpv) { in draw_textured_quad()
856 uint num = MAX3(fpv->drawpix_sampler + 1, in draw_textured_quad()
857 fpv->pixelmap_sampler + 1, in draw_textured_quad()
864 samplers[fpv->drawpix_sampler] = &sampler; in draw_textured_quad()
866 samplers[fpv->pixelmap_sampler] = &sampler; in draw_textured_quad()
878 if (fpv) { in draw_textured_quad()
881 uint num = MAX3(fpv->drawpix_sampler + 1, in draw_textured_quad()
882 fpv->pixelmap_sampler + 1, in draw_textured_quad()
888 sampler_views[fpv->drawpix_sampler] = sv[0]; in draw_textured_quad()
[all …]
Dst_cb_bitmap.c174 struct st_fp_variant *fpv; in setup_render_state() local
184 fpv = st_get_fp_variant(st, st->fp, &key); in setup_render_state()
216 cso_set_fragment_shader_handle(cso, fpv->base.driver_shader); in setup_render_state()
229 uint num = MAX2(fpv->bitmap_sampler + 1, in setup_render_state()
236 samplers[fpv->bitmap_sampler] = &st->bitmap.atlas_sampler; in setup_render_state()
238 samplers[fpv->bitmap_sampler] = &st->bitmap.sampler; in setup_render_state()
246 uint num = MAX2(fpv->bitmap_sampler + 1, in setup_render_state()
250 sampler_views[fpv->bitmap_sampler] = sv; in setup_render_state()
Dst_program.c1517 struct st_fp_variant *fpv; in st_get_fp_variant() local
1520 for (fpv = st_fp_variant(stfp->variants); fpv; in st_get_fp_variant()
1521 fpv = st_fp_variant(fpv->base.next)) { in st_get_fp_variant()
1522 if (memcmp(&fpv->key, key, sizeof(*key)) == 0) { in st_get_fp_variant()
1527 if (!fpv) { in st_get_fp_variant()
1529 fpv = st_create_fp_variant(st, stfp, key); in st_get_fp_variant()
1530 if (fpv) { in st_get_fp_variant()
1531 fpv->base.st = key->st; in st_get_fp_variant()
1541 stfp->variants = &fpv->base; in st_get_fp_variant()
1544 fpv->base.next = stfp->variants->next; in st_get_fp_variant()
[all …]