Home
last modified time | relevance | path

Searched refs:psview (Results 1 – 8 of 8) sorted by relevance

/external/mesa3d/src/gallium/drivers/v3d/
Dv3d_uniforms.c132 struct pipe_sampler_view *psview = texstate->textures[unit]; in write_texture_p1() local
133 struct v3d_sampler_view *sview = v3d_sampler_view(psview); in write_texture_p1()
155 struct pipe_sampler_view *psview = texstate->textures[unit]; in write_tmu_p0() local
156 struct v3d_sampler_view *sview = v3d_sampler_view(psview); in write_tmu_p0()
195 struct pipe_sampler_view *psview = texstate->textures[unit]; in write_tmu_p1() local
196 struct v3d_sampler_view *sview = v3d_sampler_view(psview); in write_tmu_p1()
Dv3dx_emit.c138 struct pipe_sampler_view *psview = stage_tex->textures[i]; in emit_one_texture() local
139 struct v3d_sampler_view *sview = v3d_sampler_view(psview); in emit_one_texture()
140 struct pipe_resource *prsc = psview->texture; in emit_one_texture()
151 uint32_t return_size = v3d_get_tex_return_size(devinfo, psview->format, in emit_one_texture()
176 .min_level_of_detail = MIN2(psview->u.tex.first_level + in emit_one_texture()
178 psview->u.tex.last_level), in emit_one_texture()
179 .max_level_of_detail = MIN2(psview->u.tex.first_level + in emit_one_texture()
181 psview->u.tex.last_level), in emit_one_texture()
Dv3d_context.h591 v3d_sampler_view(struct pipe_sampler_view *psview) in v3d_sampler_view() argument
593 return (struct v3d_sampler_view *)psview; in v3d_sampler_view()
Dv3dx_state.c1142 struct pipe_sampler_view *psview) in v3d_sampler_view_destroy() argument
1144 struct v3d_sampler_view *sview = v3d_sampler_view(psview); in v3d_sampler_view_destroy()
1147 pipe_resource_reference(&psview->texture, NULL); in v3d_sampler_view_destroy()
1149 free(psview); in v3d_sampler_view_destroy()
Dv3d_resource.c157 struct pipe_sampler_view *psview = tex->textures[i]; in rebind_sampler_views() local
159 if (psview->texture != &rsc->base) in rebind_sampler_views()
163 v3d_sampler_view(psview); in rebind_sampler_views()
/external/mesa3d/src/gallium/drivers/lima/
Dlima_context.h271 lima_sampler_view(struct pipe_sampler_view *psview) in lima_sampler_view() argument
273 return (struct lima_sampler_view *)psview; in lima_sampler_view()
/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_context.h444 vc4_sampler_view(struct pipe_sampler_view *psview) in vc4_sampler_view() argument
446 return (struct vc4_sampler_view *)psview; in vc4_sampler_view()
/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_tex_sample.c2099 const struct pipe_sampler_view *psview = &sp_sview->base; in mip_filter_linear() local
2108 const int level0 = psview->u.tex.first_level + (int)lod[j]; in mip_filter_linear()
2116 args.level = psview->u.tex.first_level; in mip_filter_linear()
2119 else if (level0 >= (int) psview->u.tex.last_level) { in mip_filter_linear()
2120 args.level = psview->u.tex.last_level; in mip_filter_linear()
2182 const struct pipe_sampler_view *psview = &sp_sview->base; in mip_filter_nearest() local
2197 args.level = psview->u.tex.first_level; in mip_filter_nearest()
2200 const int level = psview->u.tex.first_level + (int)(lod[j] + 0.5F); in mip_filter_nearest()
2201 args.level = MIN2(level, (int)psview->u.tex.last_level); in mip_filter_nearest()
2559 const struct pipe_sampler_view *psview = &sp_sview->base; in mip_filter_linear_aniso() local
[all …]