Home
last modified time | relevance | path

Searched refs:pview (Results 1 - 25 of 32) sorted by relevance

12

/third_party/mesa3d/src/panfrost/vulkan/
H A Dpanvk_vX_image.c105 view->pview = (struct pan_image_view) { in CreateImageView()
117 panvk_convert_swizzle(&view->vk.swizzle, view->pview.swizzle); in CreateImageView()
124 GENX(panfrost_estimate_texture_payload_size)(&view->pview) + in CreateImageView()
130 GENX(panfrost_new_texture)(pdev, &view->pview, &view->descs.tex, &view->bo->ptr); in CreateImageView()
138 view->pview.first_level, in CreateImageView()
139 is_3d ? 0 : view->pview.first_layer, in CreateImageView()
140 is_3d ? view->pview.first_layer : 0); in CreateImageView()
146 cfg.stride = util_format_get_blocksize(view->pview.format); in CreateImageView()
152 unsigned level = view->pview.first_level; in CreateImageView()
157 view->pview in CreateImageView()
[all...]
H A Dpanvk_cmd_buffer.c449 fbinfo->rts[cb].view = &view->pview; in panvk_cmd_fb_info_set_subpass()
457 MAX2(fbinfo->nr_samples, view->pview.image->layout.nr_samples); in panvk_cmd_fb_info_set_subpass()
463 util_format_description(view->pview.format); in panvk_cmd_fb_info_set_subpass()
466 MAX2(fbinfo->nr_samples, view->pview.image->layout.nr_samples); in panvk_cmd_fb_info_set_subpass()
471 fbinfo->zs.view.zs = &view->pview; in panvk_cmd_fb_info_set_subpass()
478 fbinfo->zs.view.s = &view->pview; in panvk_cmd_fb_info_set_subpass()
H A Dpanvk_vX_device.c247 bos[bo_idx++] = batch->fb.info->attachments[i].iview->pview.image->data.bo->gem_handle; in queue_submit()
/third_party/mesa3d/src/gallium/drivers/softpipe/
H A Dsp_state_sampler.c120 struct pipe_sampler_view **pview = &softpipe->sampler_views[shader][start + i]; in softpipe_set_sampler_views() local
123 pipe_sampler_view_reference(pview, NULL); in softpipe_set_sampler_views()
124 *pview = views[i]; in softpipe_set_sampler_views()
126 pipe_sampler_view_reference(pview, views[i]); in softpipe_set_sampler_views()
134 sp_sviewsrc = (struct sp_sampler_view *)*pview; in softpipe_set_sampler_views()
146 struct pipe_sampler_view **pview = &softpipe->sampler_views[shader][start + i]; in softpipe_set_sampler_views() local
147 pipe_sampler_view_reference(pview, NULL); in softpipe_set_sampler_views()
/third_party/mesa3d/src/gallium/drivers/freedreno/a2xx/
H A Dfd2_texture.h55 fd2_pipe_sampler_view(struct pipe_sampler_view *pview) in fd2_pipe_sampler_view() argument
57 return (struct fd2_pipe_sampler_view *)pview; in fd2_pipe_sampler_view()
/third_party/mesa3d/src/gallium/drivers/freedreno/a3xx/
H A Dfd3_texture.h56 fd3_pipe_sampler_view(struct pipe_sampler_view *pview) in fd3_pipe_sampler_view() argument
58 return (struct fd3_pipe_sampler_view *)pview; in fd3_pipe_sampler_view()
/third_party/mesa3d/src/gallium/drivers/freedreno/a4xx/
H A Dfd4_texture.h59 fd4_pipe_sampler_view(struct pipe_sampler_view *pview) in fd4_pipe_sampler_view() argument
61 return (struct fd4_pipe_sampler_view *)pview; in fd4_pipe_sampler_view()
/third_party/mesa3d/src/gallium/drivers/freedreno/a5xx/
H A Dfd5_texture.h58 fd5_pipe_sampler_view(struct pipe_sampler_view *pview) in fd5_pipe_sampler_view() argument
60 return (struct fd5_pipe_sampler_view *)pview; in fd5_pipe_sampler_view()
/third_party/mesa3d/src/gallium/drivers/iris/
H A Diris_resolve.c128 struct pipe_image_view *pview = &shs->image[i].base; in resolve_image_views() local
129 struct iris_resource *res = (void *) pview->resource; in resolve_image_views()
134 res, pview->u.tex.level, 1, in resolve_image_views()
139 pview->u.tex.last_layer - pview->u.tex.first_layer + 1; in resolve_image_views()
142 iris_image_view_aux_usage(ice, pview, info); in resolve_image_views()
145 pview->u.tex.level, 1, in resolve_image_views()
146 pview->u.tex.first_layer, num_layers, in resolve_image_views()
937 const struct pipe_image_view *pview, in iris_image_view_aux_usage()
945 struct iris_resource *res = (void *) pview in iris_image_view_aux_usage()
936 iris_image_view_aux_usage(struct iris_context *ice, const struct pipe_image_view *pview, const struct shader_info *info) iris_image_view_aux_usage() argument
[all...]
H A Diris_resource.h472 const struct pipe_image_view *pview,
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/
H A Dfd6_texture.h69 fd6_pipe_sampler_view(struct pipe_sampler_view *pview) in fd6_pipe_sampler_view() argument
71 return (struct fd6_pipe_sampler_view *)pview; in fd6_pipe_sampler_view()
/third_party/mesa3d/src/gallium/drivers/vc4/
H A Dvc4_resource.c1014 struct pipe_sampler_view *pview) in vc4_update_shadow_baselevel_texture()
1017 struct vc4_sampler_view *view = vc4_sampler_view(pview); in vc4_update_shadow_baselevel_texture()
1019 struct vc4_resource *orig = vc4_resource(pview->texture); in vc4_update_shadow_baselevel_texture()
1021 assert(view->texture != pview->texture); in vc4_update_shadow_baselevel_texture()
1028 pview->u.tex.first_level, in vc4_update_shadow_baselevel_texture()
1029 pview->u.tex.first_level ? "base level" : "raster layout"); in vc4_update_shadow_baselevel_texture()
1050 .level = pview->u.tex.first_level + i, in vc4_update_shadow_baselevel_texture()
1013 vc4_update_shadow_baselevel_texture(struct pipe_context *pctx, struct pipe_sampler_view *pview) vc4_update_shadow_baselevel_texture() argument
H A Dvc4_state.c642 struct pipe_sampler_view *pview) in vc4_sampler_view_destroy()
644 struct vc4_sampler_view *view = vc4_sampler_view(pview); in vc4_sampler_view_destroy()
645 pipe_resource_reference(&pview->texture, NULL); in vc4_sampler_view_destroy()
641 vc4_sampler_view_destroy(struct pipe_context *pctx, struct pipe_sampler_view *pview) vc4_sampler_view_destroy() argument
/third_party/mesa3d/src/gallium/drivers/crocus/
H A Dcrocus_resolve.c140 struct pipe_image_view *pview = &shs->image[i].base; in resolve_image_views() local
141 struct crocus_resource *res = (void *) pview->resource; in resolve_image_views()
146 res, pview->u.tex.level, 1, in resolve_image_views()
151 pview->u.tex.last_layer - pview->u.tex.first_layer + 1; in resolve_image_views()
155 pview->u.tex.level, 1, in resolve_image_views()
156 pview->u.tex.first_layer, num_layers, in resolve_image_views()
/third_party/mesa3d/src/gallium/drivers/lima/
H A Dlima_state.c375 struct pipe_sampler_view *pview) in lima_sampler_view_destroy()
377 struct lima_sampler_view *view = lima_sampler_view(pview); in lima_sampler_view_destroy()
379 pipe_resource_reference(&pview->texture, NULL); in lima_sampler_view_destroy()
374 lima_sampler_view_destroy(struct pipe_context *pctx, struct pipe_sampler_view *pview) lima_sampler_view_destroy() argument
/third_party/mesa3d/src/gallium/drivers/etnaviv/
H A Detnaviv_texture.c79 etna_configure_sampler_ts(struct etna_sampler_ts *sts, struct pipe_sampler_view *pview, bool enable) in etna_configure_sampler_ts() argument
92 struct etna_resource *rsc = etna_resource(pview->texture); in etna_configure_sampler_ts()
H A Detnaviv_context.h115 struct etna_sampler_ts *(*ts_for_sampler_view)(struct pipe_sampler_view *pview);
H A Detnaviv_texture_desc.c341 etna_ts_for_sampler_view_state(struct pipe_sampler_view *pview) in etna_ts_for_sampler_view_state() argument
343 struct etna_sampler_view_desc *sv = etna_sampler_view_desc(pview); in etna_ts_for_sampler_view_state()
H A Detnaviv_texture_state.c594 etna_ts_for_sampler_view_state(struct pipe_sampler_view *pview) in etna_ts_for_sampler_view_state() argument
596 struct etna_sampler_view *sv = etna_sampler_view(pview); in etna_ts_for_sampler_view_state()
/third_party/mesa3d/src/gallium/drivers/d3d12/
H A Dd3d12_context.h134 d3d12_sampler_view(struct pipe_sampler_view *pview) in d3d12_sampler_view() argument
136 return (struct d3d12_sampler_view *)pview; in d3d12_sampler_view()
/third_party/mesa3d/src/gallium/drivers/v3d/
H A Dv3d_resource.c987 struct pipe_sampler_view *pview) in v3d_update_shadow_texture()
990 struct v3d_sampler_view *view = v3d_sampler_view(pview); in v3d_update_shadow_texture()
992 struct v3d_resource *orig = v3d_resource(pview->texture); in v3d_update_shadow_texture()
994 assert(view->texture != pview->texture); in v3d_update_shadow_texture()
1001 pview->u.tex.first_level); in v3d_update_shadow_texture()
1022 .level = pview->u.tex.first_level + i, in v3d_update_shadow_texture()
986 v3d_update_shadow_texture(struct pipe_context *pctx, struct pipe_sampler_view *pview) v3d_update_shadow_texture() argument
H A Dv3dx_draw.c177 struct pipe_sampler_view *pview = v3d->tex[s].textures[i]; in v3d_predraw_check_stage_inputs() local
178 if (!pview) in v3d_predraw_check_stage_inputs()
180 struct v3d_sampler_view *view = v3d_sampler_view(pview); in v3d_predraw_check_stage_inputs()
303 struct pipe_sampler_view *pview = v3d->tex[s].textures[i]; in v3d_state_reads_resource() local
304 if (!pview) in v3d_state_reads_resource()
307 struct v3d_sampler_view *view = v3d_sampler_view(pview); in v3d_state_reads_resource()
/third_party/mesa3d/src/gallium/drivers/zink/
H A Dzink_context.h122 zink_sampler_view(struct pipe_sampler_view *pview) in zink_sampler_view() argument
124 return (struct zink_sampler_view *)pview; in zink_sampler_view()
H A Dzink_context.c999 struct pipe_sampler_view *pview) in zink_sampler_view_destroy()
1001 struct zink_sampler_view *view = zink_sampler_view(pview); in zink_sampler_view_destroy()
1002 if (pview->texture->target == PIPE_BUFFER) in zink_sampler_view_destroy()
1008 pipe_resource_reference(&pview->texture, NULL); in zink_sampler_view_destroy()
1732 struct pipe_sampler_view *pview = views ? views[i] : NULL; in zink_set_sampler_views() local
1734 struct zink_sampler_view *b = zink_sampler_view(pview); in zink_set_sampler_views()
1797 ctx->sampler_views[shader_type][start_slot + i] = pview; in zink_set_sampler_views()
1799 pipe_sampler_view_reference(&ctx->sampler_views[shader_type][start_slot + i], pview); in zink_set_sampler_views()
998 zink_sampler_view_destroy(struct pipe_context *pctx, struct pipe_sampler_view *pview) zink_sampler_view_destroy() argument
/third_party/mesa3d/src/gallium/drivers/panfrost/
H A Dpan_cmdstream.c1637 struct pipe_sampler_view *pview = &view->base; in panfrost_get_tex_desc() local
1638 struct panfrost_resource *rsrc = pan_resource(pview->texture); in panfrost_get_tex_desc()
1782 struct pipe_sampler_view *pview = &view->base; in panfrost_emit_texture_descriptors() local
1783 struct panfrost_resource *rsrc = pan_resource(pview->texture); in panfrost_emit_texture_descriptors()
4660 struct pipe_sampler_view *pview) in panfrost_sampler_view_destroy()
4662 struct panfrost_sampler_view *view = (struct panfrost_sampler_view *) pview; in panfrost_sampler_view_destroy()
4664 pipe_resource_reference(&pview->texture, NULL); in panfrost_sampler_view_destroy()
4658 panfrost_sampler_view_destroy( struct pipe_context *pctx, struct pipe_sampler_view *pview) panfrost_sampler_view_destroy() argument

Completed in 39 milliseconds

12