/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_descriptors.c | 243 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() 432 struct si_sampler_view *sview, struct si_texture *tex, in si_set_sampler_state_desc() argument 435 if (tex && tex->upgraded_depth && sview && !sview->is_stencil_sampler) in si_set_sampler_state_desc() 441 static void si_set_sampler_view_desc(struct si_context *sctx, struct si_sampler_view *sview, in si_set_sampler_view_desc() argument 446 struct pipe_sampler_view *view = &sview->base; in si_set_sampler_view_desc() 452 memcpy(desc, sview->state, 8 * 4); in si_set_sampler_view_desc() [all …]
|
D | si_compute.c | 872 struct si_sampler_view *sview = (struct si_sampler_view *)samplers->views[i]; in si_check_needs_implicit_sync() local 874 struct si_resource *res = si_resource(sview->base.texture); in si_check_needs_implicit_sync() 885 struct pipe_image_view *sview = &images->views[i]; in si_check_needs_implicit_sync() local 887 struct si_resource *res = si_resource(sview->resource); in si_check_needs_implicit_sync()
|
D | si_blit.c | 407 struct si_sampler_view *sview; in si_decompress_sampler_depth_textures() local 414 sview = (struct si_sampler_view *)view; in si_decompress_sampler_depth_textures() 419 si_decompress_depth(sctx, tex, sview->is_stencil_sampler ? PIPE_MASK_S : PIPE_MASK_Z, in si_decompress_sampler_depth_textures() 744 struct si_sampler_view *sview = (struct si_sampler_view *)view; in si_decompress_resident_textures() local 747 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/ |
D | v3dx_emit.c | 83 struct v3d_sampler_view *sview, in swizzled_border_color() argument 87 util_format_description(sview->base.format); in swizzled_border_color() 98 if (v3d_get_tex_return_size(devinfo, sview->base.format, in swizzled_border_color() 139 struct v3d_sampler_view *sview = v3d_sampler_view(psview); in emit_one_texture() local 157 sview, 0), in emit_one_texture() 159 sview, 1), in emit_one_texture() 161 sview, 2), in emit_one_texture() 163 sview, 3), in emit_one_texture() 203 unpacked.swizzle_r = translate_swizzle(sview->swizzle[0]); in emit_one_texture() 204 unpacked.swizzle_g = translate_swizzle(sview->swizzle[1]); in emit_one_texture() [all …]
|
D | v3d_uniforms.c | 137 struct v3d_sampler_view *sview = v3d_sampler_view(psview); in write_texture_p1() local 148 cl_aligned_u32(uniforms, p1 | packed | sview->p1); in write_texture_p1() 160 struct v3d_sampler_view *sview = v3d_sampler_view(psview); in write_tmu_p0() local 161 struct v3d_resource *rsc = v3d_resource(sview->texture); in write_tmu_p0() 163 cl_aligned_reloc(&job->indirect, uniforms, sview->bo, in write_tmu_p0() 200 struct v3d_sampler_view *sview = v3d_sampler_view(psview); in write_tmu_p1() local 204 variant = sview->sampler_variant; in write_tmu_p1()
|
D | v3dx_state.c | 1140 struct v3d_sampler_view *sview = v3d_sampler_view(psview); in v3d_sampler_view_destroy() local 1142 v3d_bo_unreference(&sview->bo); in v3d_sampler_view_destroy() 1144 pipe_resource_reference(&sview->texture, NULL); in v3d_sampler_view_destroy()
|
D | v3d_resource.c | 161 struct v3d_sampler_view *sview = in rebind_sampler_views() local 164 v3d_create_texture_shader_state_bo(v3d, sview); in rebind_sampler_views()
|
/third_party/mesa3d/src/gallium/drivers/vc4/ |
D | vc4_uniforms.c | 37 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/ |
D | sp_tex_sample.c | 513 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/ |
D | tgsi_to_nir.c | 263 struct tgsi_declaration_sampler_view *sview = &decl->SamplerView; in ttn_emit_declaration() local 266 assert((sview->ReturnTypeX == sview->ReturnTypeY) && in ttn_emit_declaration() 267 (sview->ReturnTypeX == sview->ReturnTypeZ) && in ttn_emit_declaration() 268 (sview->ReturnTypeX == sview->ReturnTypeW)); in ttn_emit_declaration() 270 switch (sview->ReturnTypeX) { in ttn_emit_declaration() 1329 unsigned num_srcs, samp = 1, sview, i; in ttn_tex() local 1422 sview = tgsi_inst->Src[samp].Register.Index; in ttn_tex() 1426 } else if (sview < c->num_samp_types) { in ttn_tex() 1427 instr->dest_type = c->samp_types[sview]; in ttn_tex() 1433 get_sampler_var(c, sview, instr->sampler_dim, in ttn_tex()
|
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/ |
D | nvc0_tex.c | 1429 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/ |
D | 19.0.0.rst | 1805 - radeonsi: rename rview -> sview
|
D | 21.2.0.rst | 3550 - st/mesa: return sview from st_update_single_texture via return value, not param
|