Home
last modified time | relevance | path

Searched refs:sview (Results 1 – 13 of 13) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_descriptors.c243 struct si_sampler_view *sview = (struct si_sampler_view *)samplers->views[i]; in si_sampler_views_begin_new_cs() local
245 si_sampler_view_add_buffer(sctx, sview->base.texture, RADEON_USAGE_READ, in si_sampler_views_begin_new_cs()
246 sview->is_stencil_sampler, false); in si_sampler_views_begin_new_cs()
258 struct si_sampler_view *sview = (struct si_sampler_view *)samplers->views[i]; in si_sampler_views_check_encrypted() local
260 struct si_resource *res = si_resource(sview->base.texture); in si_sampler_views_check_encrypted()
436 struct si_sampler_view *sview, struct si_texture *tex, in si_set_sampler_state_desc() argument
439 if (tex && tex->upgraded_depth && sview && !sview->is_stencil_sampler) in si_set_sampler_state_desc()
445 static void si_set_sampler_view_desc(struct si_context *sctx, struct si_sampler_view *sview, in si_set_sampler_view_desc() argument
450 struct pipe_sampler_view *view = &sview->base; in si_set_sampler_view_desc()
456 memcpy(desc, sview->state, 8 * 4); in si_set_sampler_view_desc()
[all …]
Dsi_compute.c907 struct si_sampler_view *sview = (struct si_sampler_view *)samplers->views[i]; in si_check_needs_implicit_sync() local
909 struct si_resource *res = si_resource(sview->base.texture); in si_check_needs_implicit_sync()
920 struct pipe_image_view *sview = &images->views[i]; in si_check_needs_implicit_sync() local
922 struct si_resource *res = si_resource(sview->resource); in si_check_needs_implicit_sync()
Dsi_blit.c418 struct si_sampler_view *sview; in si_decompress_sampler_depth_textures() local
425 sview = (struct si_sampler_view *)view; in si_decompress_sampler_depth_textures()
430 si_decompress_depth(sctx, tex, sview->is_stencil_sampler ? PIPE_MASK_S : PIPE_MASK_Z, in si_decompress_sampler_depth_textures()
758 struct si_sampler_view *sview = (struct si_sampler_view *)view; in si_decompress_resident_textures() local
761 si_decompress_depth(sctx, tex, sview->is_stencil_sampler ? PIPE_MASK_S : PIPE_MASK_Z, in si_decompress_resident_textures()
/third_party/mesa3d/src/gallium/drivers/v3d/
Dv3dx_emit.c85 struct v3d_sampler_view *sview, in swizzled_border_color() argument
89 util_format_description(sview->base.format); in swizzled_border_color()
100 if (v3d_get_tex_return_size(devinfo, sview->base.format, in swizzled_border_color()
122 struct v3d_sampler_view *sview = v3d_sampler_view(psview); in emit_one_texture() local
140 sview, 0), in emit_one_texture()
142 sview, 1), in emit_one_texture()
144 sview, 2), in emit_one_texture()
146 sview, 3), in emit_one_texture()
186 unpacked.swizzle_r = v3d_translate_pipe_swizzle(sview->swizzle[0]); in emit_one_texture()
187 unpacked.swizzle_g = v3d_translate_pipe_swizzle(sview->swizzle[1]); in emit_one_texture()
[all …]
Dv3d_uniforms.c151 struct v3d_sampler_view *sview = v3d_sampler_view(psview); in write_texture_p1() local
162 cl_aligned_u32(uniforms, p1 | packed | sview->p1); in write_texture_p1()
174 struct v3d_sampler_view *sview = v3d_sampler_view(psview); in write_tmu_p0() local
186 if (sview == NULL) in write_tmu_p0()
189 struct v3d_resource *rsc = v3d_resource(sview->texture); in write_tmu_p0()
191 cl_aligned_reloc(&job->indirect, uniforms, sview->bo, in write_tmu_p0()
228 struct v3d_sampler_view *sview = v3d_sampler_view(psview); in write_tmu_p1() local
241 variant = sview->sampler_variant; in write_tmu_p1()
Dv3dx_state.c1194 struct v3d_sampler_view *sview = v3d_sampler_view(psview); in v3d_sampler_view_destroy() local
1196 v3d_bo_unreference(&sview->bo); in v3d_sampler_view_destroy()
1198 pipe_resource_reference(&sview->texture, NULL); in v3d_sampler_view_destroy()
Dv3d_resource.c162 struct v3d_sampler_view *sview = in rebind_sampler_views() local
165 v3d_create_texture_shader_state_bo(v3d, sview); in rebind_sampler_views()
/third_party/mesa3d/src/gallium/drivers/vc4/
Dvc4_uniforms.c37 struct vc4_sampler_view *sview = in write_texture_p0() local
39 struct vc4_resource *rsc = vc4_resource(sview->texture); in write_texture_p0()
41 cl_reloc(job, &job->uniforms, uniforms, rsc->bo, sview->texture_p0); in write_texture_p0()
50 struct vc4_sampler_view *sview = in write_texture_p1() local
55 cl_aligned_u32(uniforms, sview->texture_p1 | sampler->texture_p1); in write_texture_p1()
/third_party/mesa3d/src/gallium/drivers/softpipe/
Dsp_tex_sample.c513 compute_lambda_1d_explicit_gradients(const struct sp_sampler_view *sview, in compute_lambda_1d_explicit_gradients() argument
517 const struct pipe_resource *texture = sview->base.texture; in compute_lambda_1d_explicit_gradients()
520 const float rho = MAX2(dsdx, dsdy) * u_minify(texture->width0, sview->base.u.tex.first_level); in compute_lambda_1d_explicit_gradients()
530 compute_lambda_1d(const struct sp_sampler_view *sview, in compute_lambda_1d() argument
537 return compute_lambda_1d_explicit_gradients(sview, derivs, 0); in compute_lambda_1d()
555 compute_lambda_2d_explicit_gradients(const struct sp_sampler_view *sview, in compute_lambda_2d_explicit_gradients() argument
559 const struct pipe_resource *texture = sview->base.texture; in compute_lambda_2d_explicit_gradients()
564 const float maxx = MAX2(dsdx, dsdy) * u_minify(texture->width0, sview->base.u.tex.first_level); in compute_lambda_2d_explicit_gradients()
565 const float maxy = MAX2(dtdx, dtdy) * u_minify(texture->height0, sview->base.u.tex.first_level); in compute_lambda_2d_explicit_gradients()
572 compute_lambda_2d(const struct sp_sampler_view *sview, in compute_lambda_2d() argument
[all …]
/third_party/mesa3d/src/gallium/auxiliary/nir/
Dtgsi_to_nir.c264 struct tgsi_declaration_sampler_view *sview = &decl->SamplerView; in ttn_emit_declaration() local
267 assert((sview->ReturnTypeX == sview->ReturnTypeY) && in ttn_emit_declaration()
268 (sview->ReturnTypeX == sview->ReturnTypeZ) && in ttn_emit_declaration()
269 (sview->ReturnTypeX == sview->ReturnTypeW)); in ttn_emit_declaration()
271 switch (sview->ReturnTypeX) { in ttn_emit_declaration()
1331 unsigned num_srcs, samp = 1, sview, i; in ttn_tex() local
1424 sview = tgsi_inst->Src[samp].Register.Index; in ttn_tex()
1428 } else if (sview < c->num_samp_types) { in ttn_tex()
1429 instr->dest_type = c->samp_types[sview]; in ttn_tex()
1435 get_sampler_var(c, sview, instr->sampler_dim, in ttn_tex()
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_tex.c1429 struct pipe_sampler_view *sview = in gm107_create_image_handle() local
1431 struct nv50_tic_entry *tic = nv50_tic_entry(sview); in gm107_create_image_handle()
/third_party/mesa3d/docs/relnotes/
D19.0.0.rst1805 - radeonsi: rename rview -> sview
D21.2.0.rst3550 - st/mesa: return sview from st_update_single_texture via return value, not param