Home
last modified time | relevance | path

Searched refs:PIPE_SHADER_FRAGMENT (Results 1 – 25 of 180) sorted by relevance

12345678

/external/mesa3d/src/gallium/drivers/freedreno/a2xx/
Dfd2_texture.c112 if (shader == PIPE_SHADER_FRAGMENT) { in fd2_sampler_states_bind()
119 if (nr != ctx->tex[PIPE_SHADER_FRAGMENT].num_samplers) in fd2_sampler_states_bind()
159 if (shader == PIPE_SHADER_FRAGMENT) { in fd2_set_sampler_views()
166 if (nr != ctx->tex[PIPE_SHADER_FRAGMENT].num_textures) in fd2_set_sampler_views()
188 if (tex == &ctx->tex[PIPE_SHADER_FRAGMENT]) in fd2_get_const_idx()
190 return samp_id + ctx->tex[PIPE_SHADER_FRAGMENT].num_samplers; in fd2_get_const_idx()
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_state_derived.c241 ARRAY_SIZE(llvmpipe->constants[PIPE_SHADER_FRAGMENT]), in llvmpipe_update_derived()
242 llvmpipe->constants[PIPE_SHADER_FRAGMENT]); in llvmpipe_update_derived()
246 llvmpipe->num_sampler_views[PIPE_SHADER_FRAGMENT], in llvmpipe_update_derived()
247 llvmpipe->sampler_views[PIPE_SHADER_FRAGMENT]); in llvmpipe_update_derived()
251 llvmpipe->num_samplers[PIPE_SHADER_FRAGMENT], in llvmpipe_update_derived()
252 llvmpipe->samplers[PIPE_SHADER_FRAGMENT]); in llvmpipe_update_derived()
Dlp_surface.c110 lp->num_samplers[PIPE_SHADER_FRAGMENT], in lp_blit()
111 (void**)lp->samplers[PIPE_SHADER_FRAGMENT]); in lp_blit()
113 lp->num_sampler_views[PIPE_SHADER_FRAGMENT], in lp_blit()
114 lp->sampler_views[PIPE_SHADER_FRAGMENT]); in lp_blit()
/external/mesa3d/src/gallium/auxiliary/postprocess/
Dpp_mlaa.c114 cso_set_constant_buffer_resource(p->cso, PIPE_SHADER_FRAGMENT, in pp_jimenezmlaa_run()
142 cso_set_samplers(p->cso, PIPE_SHADER_FRAGMENT, 1, samplers); in pp_jimenezmlaa_run()
144 cso_set_sampler_views(p->cso, PIPE_SHADER_FRAGMENT, 1, &p->view); in pp_jimenezmlaa_run()
172 cso_set_samplers(p->cso, PIPE_SHADER_FRAGMENT, 3, samplers); in pp_jimenezmlaa_run()
176 cso_set_sampler_views(p->cso, PIPE_SHADER_FRAGMENT, 3, arr); in pp_jimenezmlaa_run()
204 cso_set_samplers(p->cso, PIPE_SHADER_FRAGMENT, 2, samplers); in pp_jimenezmlaa_run()
208 cso_set_sampler_views(p->cso, PIPE_SHADER_FRAGMENT, 2, arr); in pp_jimenezmlaa_run()
Dpp_colors.c48 cso_set_samplers(p->cso, PIPE_SHADER_FRAGMENT, 1, samplers); in pp_nocolor()
49 cso_set_sampler_views(p->cso, PIPE_SHADER_FRAGMENT, 1, &p->view); in pp_nocolor()
/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_surface.c79 sp->num_samplers[PIPE_SHADER_FRAGMENT], in sp_blit()
80 (void**)sp->samplers[PIPE_SHADER_FRAGMENT]); in sp_blit()
82 sp->num_sampler_views[PIPE_SHADER_FRAGMENT], in sp_blit()
83 sp->sampler_views[PIPE_SHADER_FRAGMENT]); in sp_blit()
Dsp_state_derived.c308 set_shader_sampler(softpipe, PIPE_SHADER_FRAGMENT, in update_tgsi_samplers()
352 tgsi.sampler[PIPE_SHADER_FRAGMENT], in update_fragment_shader()
353 (struct tgsi_image *)softpipe->tgsi.image[PIPE_SHADER_FRAGMENT], in update_fragment_shader()
354 … (struct tgsi_buffer *)softpipe->tgsi.buffer[PIPE_SHADER_FRAGMENT]); in update_fragment_shader()
419 softpipe->samplers[PIPE_SHADER_FRAGMENT][unit] = softpipe->pstipple.sampler; in update_polygon_stipple_enable()
422 softpipe_set_sampler_views(&softpipe->pipe, PIPE_SHADER_FRAGMENT, in update_polygon_stipple_enable()
Dsp_quad_fs.c113 softpipe->mapped_constants[PIPE_SHADER_FRAGMENT], in shade_quads()
114 softpipe->const_buffer_size[PIPE_SHADER_FRAGMENT]); in shade_quads()
/external/mesa3d/src/gallium/state_trackers/nine/
Dadapter9.c71 hal->get_shader_param(hal, PIPE_SHADER_FRAGMENT, in NineAdapter9_ctor()
75 hal->get_shader_param(hal, PIPE_SHADER_FRAGMENT, in NineAdapter9_ctor()
79 hal->get_shader_param(hal, PIPE_SHADER_FRAGMENT, in NineAdapter9_ctor()
90 hal->get_shader_param(hal, PIPE_SHADER_FRAGMENT, in NineAdapter9_ctor()
92 hal->get_shader_param(hal, PIPE_SHADER_FRAGMENT, in NineAdapter9_ctor()
793 PIPE_SHADER_FRAGMENT, PIPE_SHADER_CAP_MAX_TEXTURE_SAMPLERS); in NineAdapter9_GetDeviceCaps()
903 if (screen->get_shader_param(screen, PIPE_SHADER_FRAGMENT, in NineAdapter9_GetDeviceCaps()
905 screen->get_shader_param(screen, PIPE_SHADER_FRAGMENT, in NineAdapter9_GetDeviceCaps()
908 if (screen->get_shader_param(screen, PIPE_SHADER_FRAGMENT, in NineAdapter9_GetDeviceCaps()
910 screen->get_shader_param(screen, PIPE_SHADER_FRAGMENT, in NineAdapter9_GetDeviceCaps()
[all …]
/external/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_draw.c183 foreach_bit(i, ctx->shaderbuf[PIPE_SHADER_FRAGMENT].enabled_mask) in fd_draw_vbo()
184 resource_written(batch, ctx->shaderbuf[PIPE_SHADER_FRAGMENT].sb[i].buffer); in fd_draw_vbo()
186 foreach_bit(i, ctx->shaderimg[PIPE_SHADER_FRAGMENT].enabled_mask) { in fd_draw_vbo()
188 &ctx->shaderimg[PIPE_SHADER_FRAGMENT].si[i]; in fd_draw_vbo()
197 foreach_bit(i, ctx->constbuf[PIPE_SHADER_FRAGMENT].enabled_mask) in fd_draw_vbo()
198 resource_read(batch, ctx->constbuf[PIPE_SHADER_FRAGMENT].cb[i].buffer); in fd_draw_vbo()
216 foreach_bit(i, ctx->tex[PIPE_SHADER_FRAGMENT].valid_textures) in fd_draw_vbo()
217 resource_read(batch, ctx->tex[PIPE_SHADER_FRAGMENT].textures[i]->texture); in fd_draw_vbo()
295 pctx->set_constant_buffer(pctx, PIPE_SHADER_FRAGMENT, 0, &cb); in fd_blitter_clear()
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pipe_pstipple.c214 pstip->driver_bind_sampler_states(pipe, PIPE_SHADER_FRAGMENT, 0, in pstip_first_tri()
217 pstip->driver_set_sampler_views(pipe, PIPE_SHADER_FRAGMENT, 0, in pstip_first_tri()
242 pstip->driver_bind_sampler_states(pipe, PIPE_SHADER_FRAGMENT, 0, in pstip_flush()
246 pstip->driver_set_sampler_views(pipe, PIPE_SHADER_FRAGMENT, 0, in pstip_flush()
386 if (shader == PIPE_SHADER_FRAGMENT) { in pstip_bind_sampler_states()
409 if (shader == PIPE_SHADER_FRAGMENT) { in pstip_set_sampler_views()
/external/mesa3d/src/gallium/state_trackers/xa/
Dxa_yuv.c95 cso_set_samplers(r->cso, PIPE_SHADER_FRAGMENT, 3, (const struct pipe_sampler_state **)samplers); in xa_yuv_bind_samplers()
96 cso_set_sampler_views(r->cso, PIPE_SHADER_FRAGMENT, 3, r->bound_sampler_views); in xa_yuv_bind_samplers()
104 renderer_set_constants(r, PIPE_SHADER_FRAGMENT, in xa_yuv_fs_constants()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_state_constants.c123 PIPE_SHADER_FRAGMENT, dest); in svga_get_extra_fs_constants()
284 shader == PIPE_SHADER_FRAGMENT); in emit_const_range()
453 case PIPE_SHADER_FRAGMENT: in emit_consts_vgpu9()
495 shader == PIPE_SHADER_FRAGMENT); in emit_constbuf_vgpu10()
504 case PIPE_SHADER_FRAGMENT: in emit_constbuf_vgpu10()
726 ret = emit_consts_vgpu10(svga, PIPE_SHADER_FRAGMENT); in emit_fs_consts()
729 ret = emit_consts_vgpu9(svga, PIPE_SHADER_FRAGMENT); in emit_fs_consts()
Dsvga_state_sampler.c359 svga_shader_type(PIPE_SHADER_FRAGMENT), in update_sampler_resources()
397 if (shader == PIPE_SHADER_FRAGMENT) { in update_samplers()
451 if (svga->state.hw_draw.samplers[PIPE_SHADER_FRAGMENT][unit] in update_samplers()
462 svga->state.hw_draw.samplers[PIPE_SHADER_FRAGMENT][unit] = in update_samplers()
Dsvga_state_fs.c66 ureg = ureg_create(PIPE_SHADER_FRAGMENT); in get_dummy_fragment_shader()
90 PIPE_SHADER_FRAGMENT); in translate_fragment_program()
94 PIPE_SHADER_FRAGMENT); in translate_fragment_program()
183 const enum pipe_shader_type shader = PIPE_SHADER_FRAGMENT; in make_fs_key()
/external/mesa3d/src/gallium/auxiliary/util/
Du_simple_shaders.c257 ureg = ureg_create( PIPE_SHADER_FRAGMENT ); in util_make_fragment_tex_shader_writemask()
349 ureg = ureg_create( PIPE_SHADER_FRAGMENT ); in util_make_fragment_tex_shader_writedepth()
402 ureg = ureg_create( PIPE_SHADER_FRAGMENT ); in util_make_fragment_tex_shader_writedepthstencil()
466 ureg = ureg_create( PIPE_SHADER_FRAGMENT ); in util_make_fragment_tex_shader_writestencil()
546 struct ureg_program *ureg = ureg_create(PIPE_SHADER_FRAGMENT); in util_make_empty_fragment_shader()
570 ureg = ureg_create( PIPE_SHADER_FRAGMENT ); in util_make_fragment_cloneinput_shader()
764 ureg = ureg_create(PIPE_SHADER_FRAGMENT); in util_make_fs_msaa_resolve()
826 ureg = ureg_create(PIPE_SHADER_FRAGMENT); in util_make_fs_msaa_resolve_bilinear()
/external/mesa3d/src/gallium/tests/graw/
Dtex-srgb.c132 info.ctx->set_sampler_views(info.ctx, PIPE_SHADER_FRAGMENT, 0, 1, &linear_sv); in draw()
136 info.ctx->set_sampler_views(info.ctx, PIPE_SHADER_FRAGMENT, 0, 1, &srgb_sv); in draw()
169 info.ctx->bind_sampler_states(info.ctx, PIPE_SHADER_FRAGMENT, in init_tex()
Dfs-test.c120 PIPE_SHADER_FRAGMENT, 0, in init_fs_constbuf()
128 PIPE_SHADER_FRAGMENT, 1, in init_fs_constbuf()
354 ctx->set_sampler_views(ctx, PIPE_SHADER_FRAGMENT, 0, 1, &sv); in init_tex()
373 ctx->bind_sampler_states(ctx, PIPE_SHADER_FRAGMENT, 0, 1, &sampler); in init_tex()
/external/mesa3d/src/mesa/state_tracker/
Dst_atom_texture.c242 PIPE_SHADER_FRAGMENT, in st_update_fragment_textures()
244 st->state.sampler_views[PIPE_SHADER_FRAGMENT], in st_update_fragment_textures()
245 &st->state.num_sampler_views[PIPE_SHADER_FRAGMENT]); in st_update_fragment_textures()
Dst_atom_constbuf.c62 shader_type == PIPE_SHADER_FRAGMENT || in st_upload_constants()
69 if (shader_type == PIPE_SHADER_FRAGMENT && st->fp->ati_fs) { in st_upload_constants()
239 st_bind_ubos(st, prog, PIPE_SHADER_FRAGMENT); in st_bind_fs_ubos()
Dst_cb_bitmap.c227 st->state.num_samplers[PIPE_SHADER_FRAGMENT]); in setup_render_state()
229 for (i = 0; i < st->state.num_samplers[PIPE_SHADER_FRAGMENT]; i++) { in setup_render_state()
230 samplers[i] = &st->state.samplers[PIPE_SHADER_FRAGMENT][i]; in setup_render_state()
236 cso_set_samplers(cso, PIPE_SHADER_FRAGMENT, num, in setup_render_state()
244 st->state.num_sampler_views[PIPE_SHADER_FRAGMENT]); in setup_render_state()
245 memcpy(sampler_views, st->state.sampler_views[PIPE_SHADER_FRAGMENT], in setup_render_state()
248 cso_set_sampler_views(cso, PIPE_SHADER_FRAGMENT, num, sampler_views); in setup_render_state()
Dst_cb_readpixels.c147 cso_save_constant_buffer_slot0(cso, PIPE_SHADER_FRAGMENT); in try_pbo_readpixels()
187 cso_set_sampler_views(cso, PIPE_SHADER_FRAGMENT, 1, &sampler_view); in try_pbo_readpixels()
191 cso_set_samplers(cso, PIPE_SHADER_FRAGMENT, 1, samplers); in try_pbo_readpixels()
206 cso_set_shader_images(cso, PIPE_SHADER_FRAGMENT, 0, 1, &image); in try_pbo_readpixels()
249 cso_restore_constant_buffer_slot0(cso, PIPE_SHADER_FRAGMENT); in try_pbo_readpixels()
/external/mesa3d/src/gallium/drivers/rbug/
Drbug_core.c346 for (i = 0; i < rb_context->curr.num_views[PIPE_SHADER_FRAGMENT]; i++) in rbug_context_info()
347 texs[i] = VOID2U64(rb_context->curr.texs[PIPE_SHADER_FRAGMENT][i]); in rbug_context_info()
350 …context->curr.shader[PIPE_SHADER_VERTEX]), VOID2U64(rb_context->curr.shader[PIPE_SHADER_FRAGMENT]), in rbug_context_info()
351 texs, rb_context->curr.num_views[PIPE_SHADER_FRAGMENT], in rbug_context_info()
471 rb_context->draw_rule.shader[PIPE_SHADER_FRAGMENT] = U642VOID(rule->fragment); in rbug_context_draw_rule()
670 …if (rb_context->curr.shader[PIPE_SHADER_FRAGMENT] == tr_shdr || rb_context->curr.shader[PIPE_SHADE… in rbug_shader_replace()
692 …if (rb_context->curr.shader[PIPE_SHADER_FRAGMENT] == tr_shdr || rb_context->curr.shader[PIPE_SHADE… in rbug_shader_replace()
/external/virglrenderer/tests/
Dtest_virgl_cmd.c363 virgl_encode_shader_state(&ctx, fs_handle, PIPE_SHADER_FRAGMENT, in START_TEST()
366 virgl_encode_bind_shader(&ctx, fs_handle, PIPE_SHADER_FRAGMENT); in START_TEST()
627 virgl_encode_shader_state(&ctx, fs_handle, PIPE_SHADER_FRAGMENT, in START_TEST()
630 virgl_encode_bind_shader(&ctx, fs_handle, PIPE_SHADER_FRAGMENT); in START_TEST()
873 virgl_encode_shader_state(&ctx, fs_handle, PIPE_SHADER_FRAGMENT, in START_TEST()
875 virgl_encode_bind_shader(&ctx, fs_handle, PIPE_SHADER_FRAGMENT); in START_TEST()
1007 virgl_encode_shader_state(&ctx, fs_handle, PIPE_SHADER_FRAGMENT, in START_TEST()
1010 virgl_encode_bind_shader(&ctx, fs_handle, PIPE_SHADER_FRAGMENT); in START_TEST()
/external/mesa3d/src/gallium/auxiliary/vl/
Dvl_bicubic_filter.c165 screen, PIPE_SHADER_FRAGMENT, PIPE_SHADER_CAP_MAX_TEMPS) < 23) { in create_frag_shader()
170 shader = ureg_create(PIPE_SHADER_FRAGMENT); in create_frag_shader()
445 filter->pipe->set_constant_buffer(filter->pipe, PIPE_SHADER_FRAGMENT, in vl_bicubic_filter_render()
449 filter->pipe->bind_sampler_states(filter->pipe, PIPE_SHADER_FRAGMENT, in vl_bicubic_filter_render()
451 filter->pipe->set_sampler_views(filter->pipe, PIPE_SHADER_FRAGMENT, in vl_bicubic_filter_render()

12345678