Searched refs:psview (Results 1 – 8 of 8) sorted by relevance
132 struct pipe_sampler_view *psview = texstate->textures[unit]; in write_texture_p1() local133 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() local156 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() local196 struct v3d_sampler_view *sview = v3d_sampler_view(psview); in write_tmu_p1()
138 struct pipe_sampler_view *psview = stage_tex->textures[i]; in emit_one_texture() local139 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()
591 v3d_sampler_view(struct pipe_sampler_view *psview) in v3d_sampler_view() argument593 return (struct v3d_sampler_view *)psview; in v3d_sampler_view()
1142 struct pipe_sampler_view *psview) in v3d_sampler_view_destroy() argument1144 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()
157 struct pipe_sampler_view *psview = tex->textures[i]; in rebind_sampler_views() local159 if (psview->texture != &rsc->base) in rebind_sampler_views()163 v3d_sampler_view(psview); in rebind_sampler_views()
271 lima_sampler_view(struct pipe_sampler_view *psview) in lima_sampler_view() argument273 return (struct lima_sampler_view *)psview; in lima_sampler_view()
444 vc4_sampler_view(struct pipe_sampler_view *psview) in vc4_sampler_view() argument446 return (struct vc4_sampler_view *)psview; in vc4_sampler_view()
2099 const struct pipe_sampler_view *psview = &sp_sview->base; in mip_filter_linear() local2108 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() local2197 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 …]