Home
last modified time | relevance | path

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

1234567

/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_state_derived.c240 ARRAY_SIZE(llvmpipe->constants[PIPE_SHADER_FRAGMENT]), in llvmpipe_update_derived()
241 llvmpipe->constants[PIPE_SHADER_FRAGMENT]); in llvmpipe_update_derived()
245 llvmpipe->num_sampler_views[PIPE_SHADER_FRAGMENT], in llvmpipe_update_derived()
246 llvmpipe->sampler_views[PIPE_SHADER_FRAGMENT]); in llvmpipe_update_derived()
250 llvmpipe->num_samplers[PIPE_SHADER_FRAGMENT], in llvmpipe_update_derived()
251 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.c121 softpipe->mapped_constants[PIPE_SHADER_FRAGMENT], in shade_quads()
122 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/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/auxiliary/util/
Du_simple_shaders.c239 ureg = ureg_create( PIPE_SHADER_FRAGMENT ); in util_make_fragment_tex_shader_writemask()
327 ureg = ureg_create( PIPE_SHADER_FRAGMENT ); in util_make_fragment_tex_shader_writedepth()
379 ureg = ureg_create( PIPE_SHADER_FRAGMENT ); in util_make_fragment_tex_shader_writedepthstencil()
443 ureg = ureg_create( PIPE_SHADER_FRAGMENT ); in util_make_fragment_tex_shader_writestencil()
524 struct ureg_program *ureg = ureg_create(PIPE_SHADER_FRAGMENT); in util_make_empty_fragment_shader()
548 ureg = ureg_create( PIPE_SHADER_FRAGMENT ); in util_make_fragment_cloneinput_shader()
742 ureg = ureg_create(PIPE_SHADER_FRAGMENT); in util_make_fs_msaa_resolve()
803 ureg = ureg_create(PIPE_SHADER_FRAGMENT); in util_make_fs_msaa_resolve_bilinear()
/external/mesa3d/src/gallium/drivers/ilo/
Dilo_blitter_pipe.c77 2, (void **) vec->sampler[PIPE_SHADER_FRAGMENT].cso); in ilo_blitter_pipe_begin()
80 vec->view[PIPE_SHADER_FRAGMENT].count, in ilo_blitter_pipe_begin()
81 vec->view[PIPE_SHADER_FRAGMENT].states); in ilo_blitter_pipe_begin()
Dilo_screen.c87 case PIPE_SHADER_FRAGMENT: in ilo_get_shader_param()
98 return (shader == PIPE_SHADER_FRAGMENT) ? 1024 : 16384; in ilo_get_shader_param()
100 return (shader == PIPE_SHADER_FRAGMENT) ? 1024 : 0; in ilo_get_shader_param()
102 return (shader == PIPE_SHADER_FRAGMENT) ? 1024 : 0; in ilo_get_shader_param()
104 return (shader == PIPE_SHADER_FRAGMENT) ? 1024 : 0; in ilo_get_shader_param()
126 return (shader == PIPE_SHADER_FRAGMENT) ? 0 : 1; in ilo_get_shader_param()
/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/gallium/drivers/svga/
Dsvga_state_constants.c123 PIPE_SHADER_FRAGMENT, dest); in svga_get_extra_fs_constants()
328 shader == PIPE_SHADER_FRAGMENT); in emit_const_range()
510 case PIPE_SHADER_FRAGMENT: in emit_consts_vgpu9()
561 shader == PIPE_SHADER_FRAGMENT); in emit_constbuf_vgpu10()
570 case PIPE_SHADER_FRAGMENT: in emit_constbuf_vgpu10()
790 ret = emit_consts_vgpu10(svga, PIPE_SHADER_FRAGMENT); in emit_fs_consts()
793 ret = emit_consts_vgpu9(svga, PIPE_SHADER_FRAGMENT); in emit_fs_consts()
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/mesa/state_tracker/
Dst_cb_bitmap.c248 st->state.num_samplers[PIPE_SHADER_FRAGMENT]); in setup_render_state()
250 for (i = 0; i < st->state.num_samplers[PIPE_SHADER_FRAGMENT]; i++) { in setup_render_state()
251 samplers[i] = &st->state.samplers[PIPE_SHADER_FRAGMENT][i]; in setup_render_state()
257 cso_set_samplers(cso, PIPE_SHADER_FRAGMENT, num, in setup_render_state()
265 st->state.num_sampler_views[PIPE_SHADER_FRAGMENT]); in setup_render_state()
266 memcpy(sampler_views, st->state.sampler_views[PIPE_SHADER_FRAGMENT], in setup_render_state()
269 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()
Dst_atom_constbuf.c63 shader_type == PIPE_SHADER_FRAGMENT || in st_upload_constants()
70 if (shader_type == PIPE_SHADER_FRAGMENT && st->fp->ati_fs) { in st_upload_constants()
302 st_bind_ubos(st, prog->_LinkedShaders[MESA_SHADER_FRAGMENT]->Program, PIPE_SHADER_FRAGMENT); in bind_fs_ubos()
Dst_atom_sampler.c329 PIPE_SHADER_FRAGMENT, in update_samplers()
332 st->state.samplers[PIPE_SHADER_FRAGMENT], in update_samplers()
333 &st->state.num_samplers[PIPE_SHADER_FRAGMENT]); in update_samplers()
/external/mesa3d/src/gallium/drivers/rbug/
Drbug_core.c345 for (i = 0; i < rb_context->curr.num_views[PIPE_SHADER_FRAGMENT]; i++) in rbug_context_info()
346 texs[i] = VOID2U64(rb_context->curr.texs[PIPE_SHADER_FRAGMENT][i]); in rbug_context_info()
349 …context->curr.shader[PIPE_SHADER_VERTEX]), VOID2U64(rb_context->curr.shader[PIPE_SHADER_FRAGMENT]), in rbug_context_info()
350 texs, rb_context->curr.num_views[PIPE_SHADER_FRAGMENT], in rbug_context_info()
470 rb_context->draw_rule.shader[PIPE_SHADER_FRAGMENT] = U642VOID(rule->fragment); in rbug_context_draw_rule()
669 …if (rb_context->curr.shader[PIPE_SHADER_FRAGMENT] == tr_shdr || rb_context->curr.shader[PIPE_SHADE… in rbug_shader_replace()
691 …if (rb_context->curr.shader[PIPE_SHADER_FRAGMENT] == tr_shdr || rb_context->curr.shader[PIPE_SHADE… in rbug_shader_replace()
/external/mesa3d/src/gallium/auxiliary/vl/
Dvl_bicubic_filter.c164 screen, PIPE_SHADER_FRAGMENT, PIPE_SHADER_CAP_MAX_TEMPS) < 23) { in create_frag_shader()
169 shader = ureg_create(PIPE_SHADER_FRAGMENT); in create_frag_shader()
444 pipe_set_constant_buffer(filter->pipe, PIPE_SHADER_FRAGMENT, 0, surface_size); in vl_bicubic_filter_render()
447 filter->pipe->bind_sampler_states(filter->pipe, PIPE_SHADER_FRAGMENT, in vl_bicubic_filter_render()
449 filter->pipe->set_sampler_views(filter->pipe, PIPE_SHADER_FRAGMENT, in vl_bicubic_filter_render()
Dvl_median_filter.c96 screen, PIPE_SHADER_FRAGMENT, PIPE_SHADER_CAP_MAX_TEMPS)) { in create_frag_shader()
102 shader = ureg_create(PIPE_SHADER_FRAGMENT); in create_frag_shader()
388 filter->pipe->bind_sampler_states(filter->pipe, PIPE_SHADER_FRAGMENT, in vl_median_filter_render()
390 filter->pipe->set_sampler_views(filter->pipe, PIPE_SHADER_FRAGMENT, in vl_median_filter_render()
/external/mesa3d/src/gallium/drivers/swr/
Dswr_context.cpp329 ctx->num_samplers[PIPE_SHADER_FRAGMENT], in swr_blit()
330 (void **)ctx->samplers[PIPE_SHADER_FRAGMENT]); in swr_blit()
333 ctx->num_sampler_views[PIPE_SHADER_FRAGMENT], in swr_blit()
334 ctx->sampler_views[PIPE_SHADER_FRAGMENT]); in swr_blit()
365 pipe_sampler_view_reference(&ctx->sampler_views[PIPE_SHADER_FRAGMENT][i], NULL); in swr_destroy()

1234567