Home
last modified time | relevance | path

Searched refs:sampler_views (Results 1 - 25 of 72) sorted by relevance

123

/third_party/mesa3d/src/gallium/drivers/svga/
H A Dsvga_state_sampler.c80 svga_pipe_sampler_view(svga->curr.sampler_views[shader][i]); in svga_check_sampler_view_resource_collision()
251 struct pipe_sampler_view *sampler_views[PIPE_MAX_SAMPLERS]; in update_sampler_resources() local
259 svga_pipe_sampler_view(svga->curr.sampler_views[shader][i]); in update_sampler_resources()
270 sampler_views[i] = &sv->base; in update_sampler_resources()
275 sampler_views[i] = NULL; in update_sampler_resources()
282 sampler_views[i] = NULL; in update_sampler_resources()
291 memcmp(sampler_views, svga->state.hw_draw.sampler_views[shader], in update_sampler_resources()
292 count * sizeof(sampler_views[0])) != 0) { in update_sampler_resources()
305 emit = sampler_views[ in update_sampler_resources()
550 struct pipe_sampler_view *sampler_views[PIPE_MAX_SAMPLERS]; update_cs_sampler_resources() local
[all...]
H A Dsvga_pipe_sampler.c428 assert(start + num <= ARRAY_SIZE(svga->curr.sampler_views[shader])); in svga_set_sampler_views()
448 pipe_sampler_view_reference(&svga->curr.sampler_views[shader][i], in svga_set_sampler_views()
457 any_change |= svga->curr.sampler_views[shader][start + i] != views[i]; in svga_set_sampler_views()
460 pipe_sampler_view_reference(&svga->curr.sampler_views[shader][start + i], in svga_set_sampler_views()
462 svga->curr.sampler_views[shader][start + i] = views[i]; in svga_set_sampler_views()
463 } else if (svga->curr.sampler_views[shader][start + i] != views[i]) { in svga_set_sampler_views()
464 pipe_sampler_view_reference(&svga->curr.sampler_views[shader][start + i], in svga_set_sampler_views()
491 if (svga->curr.sampler_views[shader][start + i]) { in svga_set_sampler_views()
492 pipe_sampler_view_reference(&svga->curr.sampler_views[shader][start + i], in svga_set_sampler_views()
502 /* find highest non-null sampler_views[] entr in svga_set_sampler_views()
[all...]
H A Dsvga_state_fs.c222 if ((svga->curr.sampler_views[shader][i] == NULL) != in make_fs_key()
225 i, svga->curr.sampler_views[shader][i], in make_fs_key()
241 struct pipe_sampler_view *view = svga->curr.sampler_views[shader][i]; in make_fs_key()
/third_party/mesa3d/src/mesa/state_tracker/
H A Dst_atom_texture.c93 struct pipe_sampler_view **sampler_views) in st_get_sampler_views()
116 sampler_views[unit] = NULL; in st_get_sampler_views()
147 sampler_views[unit] = in st_get_sampler_views()
171 tmpl = *sampler_views[unit]; in st_get_sampler_views()
187 sampler_views[extra] = in st_get_sampler_views()
197 sampler_views[extra] = in st_get_sampler_views()
204 sampler_views[extra] = in st_get_sampler_views()
207 sampler_views[extra] = in st_get_sampler_views()
220 sampler_views[extra] = in st_get_sampler_views()
233 sampler_views[extr in st_get_sampler_views()
90 st_get_sampler_views(struct st_context *st, enum pipe_shader_type shader_stage, const struct gl_program *prog, struct pipe_sampler_view **sampler_views) st_get_sampler_views() argument
262 struct pipe_sampler_view *sampler_views[PIPE_MAX_SAMPLERS]; update_textures() local
[all...]
H A Dst_sampler_view.c99 views = stObj->sampler_views; in st_texture_set_sampler_view()
157 p_atomic_set(&stObj->sampler_views, new_views); in st_texture_set_sampler_view()
207 struct st_sampler_views *views = p_atomic_read(&stObj->sampler_views); in st_texture_get_current_sampler_view()
231 struct st_sampler_views *views = stObj->sampler_views; in st_texture_release_context_sampler_view()
258 if (!stObj->sampler_views) in st_texture_release_all_sampler_views()
262 struct st_sampler_views *views = stObj->sampler_views; in st_texture_release_all_sampler_views()
295 assert(stObj->sampler_views->count == 0); in st_delete_texture_sampler_views()
296 free(stObj->sampler_views); in st_delete_texture_sampler_views()
297 stObj->sampler_views = NULL; in st_delete_texture_sampler_views()
H A Dst_cb_bitmap.c245 struct pipe_sampler_view *sampler_views[PIPE_MAX_SAMPLERS]; in setup_render_state() local
248 ctx->FragmentProgram._Current, sampler_views); in setup_render_state()
251 sampler_views[fpv->bitmap_sampler] = sv; in setup_render_state()
253 true, sampler_views); in setup_render_state()
/third_party/mesa3d/src/gallium/drivers/softpipe/
H A Dsp_state_sampler.c111 assert(start + num <= ARRAY_SIZE(softpipe->sampler_views[shader])); in softpipe_set_sampler_views()
120 struct pipe_sampler_view **pview = &softpipe->sampler_views[shader][start + i]; in softpipe_set_sampler_views()
146 struct pipe_sampler_view **pview = &softpipe->sampler_views[shader][start + i]; in softpipe_set_sampler_views()
153 /* find highest non-null sampler_views[] entry */ in softpipe_set_sampler_views()
156 while (j > 0 && softpipe->sampler_views[shader][j - 1] == NULL) in softpipe_set_sampler_views()
164 softpipe->sampler_views[shader], in softpipe_set_sampler_views()
318 ctx, ctx->sampler_views[PIPE_SHADER_VERTEX][i]); in softpipe_cleanup_vertex_sampling()
342 ctx, ctx->sampler_views[PIPE_SHADER_GEOMETRY][i]); in softpipe_cleanup_geometry_sampling()
H A Dsp_draw_arrays.c127 sp->sampler_views[PIPE_SHADER_VERTEX]); in softpipe_draw_vbo()
130 sp->sampler_views[PIPE_SHADER_GEOMETRY]); in softpipe_draw_vbo()
H A Dsp_context.h77 struct pipe_sampler_view *sampler_views[PIPE_SHADER_TYPES][PIPE_MAX_SHADER_SAMPLER_VIEWS]; member
/third_party/mesa3d/src/gallium/auxiliary/vl/
H A Dvl_compositor.c285 struct pipe_resource *res = layer->sampler_views[0]->texture; in default_rect()
324 struct pipe_sampler_view **sampler_views; in set_yuv_layer() local
334 sampler_views = buffer->get_sampler_view_components(buffer); in set_yuv_layer()
337 pipe_sampler_view_reference(&s->layers[layer].sampler_views[i], sampler_views[i]); in set_yuv_layer()
398 pipe_sampler_view_reference(&s->layers[layer].sampler_views[0], v); in set_rgb_to_yuv_layer()
399 pipe_sampler_view_reference(&s->layers[layer].sampler_views[1], NULL); in set_rgb_to_yuv_layer()
400 pipe_sampler_view_reference(&s->layers[layer].sampler_views[2], NULL); in set_rgb_to_yuv_layer()
457 pipe_sampler_view_reference(&s->layers[i].sampler_views[j], NULL); in vl_compositor_clear_layers()
553 struct pipe_sampler_view **sampler_views; in vl_compositor_set_buffer_layer() local
[all...]
H A Dvl_idct.c597 tex = buffer->sampler_views.individual.source->texture; in init_source()
627 pipe_sampler_view_reference(&buffer->sampler_views.individual.source, NULL); in cleanup_source()
639 tex = buffer->sampler_views.individual.intermediate->texture; in init_intermediate()
683 pipe_sampler_view_reference(&buffer->sampler_views.individual.intermediate, NULL); in cleanup_intermediate()
801 pipe_sampler_view_reference(&buffer->sampler_views.individual.matrix, idct->matrix); in vl_idct_init_buffer()
802 pipe_sampler_view_reference(&buffer->sampler_views.individual.source, source); in vl_idct_init_buffer()
803 pipe_sampler_view_reference(&buffer->sampler_views.individual.transpose, idct->transpose); in vl_idct_init_buffer()
804 pipe_sampler_view_reference(&buffer->sampler_views.individual.intermediate, intermediate); in vl_idct_init_buffer()
823 pipe_sampler_view_reference(&buffer->sampler_views.individual.matrix, NULL); in vl_idct_cleanup_buffer()
824 pipe_sampler_view_reference(&buffer->sampler_views in vl_idct_cleanup_buffer()
[all...]
H A Dvl_compositor_cs.c708 struct pipe_sampler_view **samplers = &layer->sampler_views[0]; in draw_layers()
714 (float)layer->sampler_views[0]->texture->width0 * in draw_layers()
717 ((float)layer->sampler_views[0]->texture->height0 * in draw_layers()
723 drawn.sampler0_w = (float)layer->sampler_views[0]->texture->width0; in draw_layers()
724 drawn.sampler0_h = (float)layer->sampler_views[0]->texture->height0; in draw_layers()
H A Dvl_deint_filter.c448 struct pipe_sampler_view *sampler_views[4]; in vl_deint_filter_render() local
500 sampler_views[0] = prevprev_sv[k]; in vl_deint_filter_render()
501 sampler_views[1] = prev_sv[k]; in vl_deint_filter_render()
502 sampler_views[2] = cur_sv[k]; in vl_deint_filter_render()
503 sampler_views[3] = next_sv[k]; in vl_deint_filter_render()
505 0, 4, 0, false, sampler_views); in vl_deint_filter_render()
H A Dvl_idct.h75 } sampler_views; member
/third_party/mesa3d/src/gallium/drivers/d3d12/
H A Dd3d12_batch.cpp47 batch->sampler_views = _mesa_set_create(NULL, _mesa_hash_pointer, in d3d12_init_batch()
55 if (!batch->bos || !batch->sampler_views || !batch->surfaces || !batch->objects) in d3d12_init_batch()
125 _mesa_set_clear(batch->sampler_views, delete_sampler_view); in d3d12_reset_batch()
153 _mesa_set_destroy(batch->sampler_views, NULL); in d3d12_destroy_batch()
268 struct set_entry *entry = _mesa_set_search(batch->sampler_views, sv); in d3d12_batch_reference_sampler_view()
270 entry = _mesa_set_add(batch->sampler_views, sv); in d3d12_batch_reference_sampler_view()
H A Dd3d12_batch.h41 struct set *sampler_views; member
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_draw_arrays.c111 lp->sampler_views[PIPE_SHADER_VERTEX]); in llvmpipe_draw_vbo()
114 lp->sampler_views[PIPE_SHADER_GEOMETRY]); in llvmpipe_draw_vbo()
117 lp->sampler_views[PIPE_SHADER_TESS_CTRL]); in llvmpipe_draw_vbo()
120 lp->sampler_views[PIPE_SHADER_TESS_EVAL]); in llvmpipe_draw_vbo()
H A Dlp_state_sampler.c132 assert(start + num <= ARRAY_SIZE(llvmpipe->sampler_views[shader])); in llvmpipe_set_sampler_views()
156 pipe_sampler_view_reference(&llvmpipe->sampler_views[shader][start + i], in llvmpipe_set_sampler_views()
158 llvmpipe->sampler_views[shader][start + i] = view; in llvmpipe_set_sampler_views()
160 pipe_sampler_view_reference(&llvmpipe->sampler_views[shader][start + i], in llvmpipe_set_sampler_views()
166 pipe_sampler_view_reference(&llvmpipe->sampler_views[shader][start + i], in llvmpipe_set_sampler_views()
170 /* find highest non-null sampler_views[] entry */ in llvmpipe_set_sampler_views()
173 while (j > 0 && llvmpipe->sampler_views[shader][j - 1] == NULL) in llvmpipe_set_sampler_views()
184 llvmpipe->sampler_views[shader], in llvmpipe_set_sampler_views()
194 llvmpipe->sampler_views[PIPE_SHADER_FRAGMENT]); in llvmpipe_set_sampler_views()
429 assert(stage < ARRAY_SIZE(ctx->sampler_views)); in llvmpipe_cleanup_stage_sampling()
[all...]
H A Dlp_context.c90 for (i = 0; i < ARRAY_SIZE(llvmpipe->sampler_views[0]); i++) { in llvmpipe_destroy()
91 pipe_sampler_view_reference(&llvmpipe->sampler_views[s][i], NULL); in llvmpipe_destroy()
/third_party/mesa3d/src/gallium/frontends/vdpau/
H A Dsurface.c206 struct pipe_sampler_view **sampler_views; in vlVdpVideoSurfaceGetBitsYCbCr() local
242 sampler_views = vlsurface->video_buffer->get_sampler_view_planes(vlsurface->video_buffer); in vlVdpVideoSurfaceGetBitsYCbCr()
243 if (!sampler_views) { in vlVdpVideoSurfaceGetBitsYCbCr()
250 struct pipe_sampler_view *sv = sampler_views[i]; in vlVdpVideoSurfaceGetBitsYCbCr()
309 struct pipe_sampler_view **sampler_views; in vlVdpVideoSurfacePutBitsYCbCr() local
378 sampler_views = p_surf->video_buffer->get_sampler_view_planes(p_surf->video_buffer); in vlVdpVideoSurfacePutBitsYCbCr()
379 if (!sampler_views) { in vlVdpVideoSurfacePutBitsYCbCr()
386 struct pipe_sampler_view *sv = sampler_views[i]; in vlVdpVideoSurfacePutBitsYCbCr()
H A Doutput.c448 struct pipe_sampler_view **sampler_views; in vlVdpOutputSurfacePutBitsYCbCr() local
489 sampler_views = vbuffer->get_sampler_view_planes(vbuffer); in vlVdpOutputSurfacePutBitsYCbCr()
490 if (!sampler_views) { in vlVdpOutputSurfacePutBitsYCbCr()
497 struct pipe_sampler_view *sv = sampler_views[i]; in vlVdpOutputSurfacePutBitsYCbCr()
/third_party/mesa3d/src/gallium/auxiliary/draw/
H A Ddraw_pipe_pstipple.c92 struct pipe_sampler_view *sampler_views[PIPE_MAX_SHADER_SAMPLER_VIEWS]; member
217 pipe_sampler_view_reference(&pstip->state.sampler_views[pstip->fs->sampler_unit], in pstip_first_tri()
229 pstip->state.sampler_views); in pstip_first_tri()
259 pstip->state.sampler_views); in pstip_flush()
279 pipe_sampler_view_reference(&pstip->state.sampler_views[i], NULL); in pstip_destroy()
432 pipe_sampler_view_reference(&pstip->state.sampler_views[start + i], in pstip_set_sampler_views()
436 pipe_sampler_view_reference(&pstip->state.sampler_views[start + i], in pstip_set_sampler_views()
/third_party/mesa3d/src/gallium/frontends/d3d10umd/
H A DDevice.cpp354 static struct pipe_sampler_view * sampler_views[PIPE_MAX_SHADER_SAMPLER_VIEWS]; in DestroyDevice() local
355 memset(sampler_views, 0, sizeof sampler_views); in DestroyDevice()
357 PIPE_MAX_SHADER_SAMPLER_VIEWS, 0, false, sampler_views); in DestroyDevice()
359 PIPE_MAX_SHADER_SAMPLER_VIEWS, 0, false, sampler_views); in DestroyDevice()
361 PIPE_MAX_SHADER_SAMPLER_VIEWS, 0, false, sampler_views); in DestroyDevice()
/third_party/mesa3d/src/gallium/tools/trace/
H A Ddump_state.py262 self._state.vs.sampler_views = []
263 self._state.tcs.sampler_views = []
264 self._state.tes.sampler_views = []
265 self._state.gs.sampler_views = []
266 self._state.fs.sampler_views = []
460 self._get_stage_state(shader).sampler_views = views
464 self._state.fs.sampler_views = views
468 self._state.gs.sampler_views = views
472 self._state.vs.sampler_views = views
630 ("SVIEW", "sampler_views"),
[all...]
/third_party/mesa3d/src/gallium/drivers/panfrost/
H A Dpan_blit.c58 (struct pipe_sampler_view **)&ctx->sampler_views[PIPE_SHADER_FRAGMENT]); in panfrost_blitter_save()

Completed in 19 milliseconds

123