Home
last modified time | relevance | path

Searched refs:num_sampler_views (Results 1 – 25 of 42) sorted by relevance

12

/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_draw_arrays.c110 lp->num_sampler_views[PIPE_SHADER_VERTEX], in llvmpipe_draw_vbo()
113 lp->num_sampler_views[PIPE_SHADER_GEOMETRY], in llvmpipe_draw_vbo()
116 lp->num_sampler_views[PIPE_SHADER_TESS_CTRL], in llvmpipe_draw_vbo()
119 lp->num_sampler_views[PIPE_SHADER_TESS_EVAL], in llvmpipe_draw_vbo()
Dlp_state_sampler.c172 unsigned j = MAX2(llvmpipe->num_sampler_views[shader], start + num); in llvmpipe_set_sampler_views()
175 llvmpipe->num_sampler_views[shader] = j; in llvmpipe_set_sampler_views()
185 llvmpipe->num_sampler_views[shader]); in llvmpipe_set_sampler_views()
193 llvmpipe->num_sampler_views[PIPE_SHADER_FRAGMENT], in llvmpipe_set_sampler_views()
427 assert(stage < ARRAY_SIZE(ctx->num_sampler_views)); in llvmpipe_cleanup_stage_sampling()
430 num = ctx->num_sampler_views[stage]; in llvmpipe_cleanup_stage_sampling()
Dlp_context.h95 unsigned num_sampler_views[PIPE_SHADER_TYPES]; member
Dlp_state_derived.c344 llvmpipe->num_sampler_views[PIPE_SHADER_FRAGMENT], in llvmpipe_update_derived()
/third_party/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pipe_pstipple.c84 uint num_sampler_views; member
199 uint num_sampler_views; in pstip_first_tri() local
213 num_sampler_views = MAX2(pstip->num_sampler_views, num_samplers); in pstip_first_tri()
228 num_sampler_views, 0, false, in pstip_first_tri()
258 pstip->num_sampler_views, 0, false, in pstip_flush()
439 pstip->num_sampler_views = num; in pstip_set_sampler_views()
Ddraw_context.c1111 for (i = num; i < draw->num_sampler_views[shader_stage]; ++i) in draw_set_sampler_views()
1114 draw->num_sampler_views[shader_stage] = num; in draw_set_sampler_views()
1158 for (i = num; i < draw->num_sampler_views[shader_stage]; ++i) in draw_set_images()
/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_state_sampler.c78 for (i = 0; i < svga->curr.num_sampler_views[shader]; i++) { in svga_check_sampler_view_resource_collision()
255 count = svga->curr.num_sampler_views[shader]; in update_sampler_resources()
278 for (; i < svga->state.hw_draw.num_sampler_views[shader]; i++) { in update_sampler_resources()
287 nviews = MAX2(svga->state.hw_draw.num_sampler_views[shader], count); in update_sampler_resources()
289 if (count != svga->state.hw_draw.num_sampler_views[shader] || in update_sampler_resources()
342 svga->state.hw_draw.num_sampler_views[shader] = count; in update_sampler_resources()
Dsvga_pipe_sampler.c446 if (start == 0 && num == 0 && svga->curr.num_sampler_views[shader] > 0) { in svga_set_sampler_views()
447 for (i = 0; i < svga->curr.num_sampler_views[shader]; i++) { in svga_set_sampler_views()
504 unsigned j = MAX2(svga->curr.num_sampler_views[shader], start + num); in svga_set_sampler_views()
507 svga->curr.num_sampler_views[shader] = j; in svga_set_sampler_views()
543 for (i = 0; i < svga->state.hw_draw.num_sampler_views[shader]; i++) { in svga_cleanup_sampler_state()
Dsvga_state_fs.c271 unsigned i, n = MAX2(svga->curr.num_sampler_views[shader], in make_fs_key()
275 if (svga->curr.num_sampler_views[shader] != in make_fs_key()
279 svga->curr.num_sampler_views[shader], in make_fs_key()
Dsvga_state_tss.c147 unsigned count = MAX2(svga->curr.num_sampler_views[shader], in update_tss_binding()
165 svga->state.hw_draw.num_views = svga->curr.num_sampler_views[shader]; in update_tss_binding()
Dsvga_context.c270 memset(&svga->state.hw_draw.num_sampler_views, 0, in svga_context_create()
271 sizeof(svga->state.hw_draw.num_sampler_views)); in svga_context_create()
Dsvga_context.h311 unsigned num_sampler_views[PIPE_SHADER_TYPES]; member
435 unsigned num_sampler_views[PIPE_SHADER_TYPES]; member
Dsvga_shader.c257 assert(shader_type < ARRAY_SIZE(svga->curr.num_sampler_views)); in svga_init_shader_key_common()
262 key->num_textures = MAX2(svga->curr.num_sampler_views[shader_type], in svga_init_shader_key_common()
/third_party/mesa3d/src/gallium/auxiliary/vl/
Dvl_compositor_cs.c709 unsigned num_sampler_views = !samplers[1] ? 1 : !samplers[2] ? 2 : 3; in draw_layers() local
728 num_sampler_views, layer->samplers); in draw_layers()
730 num_sampler_views, 0, false, samplers); in draw_layers()
738 num_sampler_views, false, NULL); in draw_layers()
741 num_sampler_views, NULL); in draw_layers()
Dvl_compositor_gfx.c659 unsigned num_sampler_views = !samplers[1] ? 1 : !samplers[2] ? 2 : 3; in draw_layers() local
666 num_sampler_views, layer->samplers); in draw_layers()
668 num_sampler_views, 0, false, samplers); in draw_layers()
/third_party/mesa3d/src/gallium/drivers/softpipe/
Dsp_draw_arrays.c126 sp->num_sampler_views[PIPE_SHADER_VERTEX], in softpipe_draw_vbo()
129 sp->num_sampler_views[PIPE_SHADER_GEOMETRY], in softpipe_draw_vbo()
Dsp_flush.c60 for (i = 0; i < softpipe->num_sampler_views[sh]; i++) { in softpipe_flush()
178 for (i = 0; i < softpipe->num_sampler_views[sh]; i++) { in softpipe_texture_barrier()
Dsp_state_sampler.c155 unsigned j = MAX2(softpipe->num_sampler_views[shader], start + num); in softpipe_set_sampler_views()
158 softpipe->num_sampler_views[shader] = j; in softpipe_set_sampler_views()
165 softpipe->num_sampler_views[shader]); in softpipe_set_sampler_views()
Dsp_context.h103 unsigned num_sampler_views[PIPE_SHADER_TYPES]; member
Dsp_surface.c82 sp->num_sampler_views[PIPE_SHADER_FRAGMENT], in sp_blit()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_atom_texture.c98 const GLuint old_max = st->state.num_sampler_views[shader_stage]; in st_get_sampler_views()
269 unsigned old_num_textures = st->state.num_sampler_views[shader_stage]; in update_textures()
275 st->state.num_sampler_views[shader_stage] = num_textures; in update_textures()
Dst_cb_readpixels.c194 st->state.num_sampler_views[PIPE_SHADER_FRAGMENT] = in try_pbo_readpixels()
195 MAX2(st->state.num_sampler_views[PIPE_SHADER_FRAGMENT], 1); in try_pbo_readpixels()
261 st->state.num_sampler_views[PIPE_SHADER_FRAGMENT] = 0; in try_pbo_readpixels()
Dst_context.h213 GLuint num_sampler_views[PIPE_SHADER_TYPES]; member
/third_party/mesa3d/src/gallium/drivers/swr/
Dswr_context.h177 unsigned num_sampler_views[PIPE_SHADER_TYPES];
/third_party/mesa3d/src/gallium/drivers/d3d12/
Dd3d12_context.h178 unsigned num_sampler_views[PIPE_SHADER_TYPES]; member

12