Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_descriptors.c255 struct si_sampler_view *sview = (struct si_sampler_view *)samplers->views[i]; in si_sampler_views_begin_new_cs() local
257 si_sampler_view_add_buffer(sctx, sview->base.texture, RADEON_USAGE_READ, in si_sampler_views_begin_new_cs()
258 sview->is_stencil_sampler, false); in si_sampler_views_begin_new_cs()
270 struct si_sampler_view *sview = (struct si_sampler_view *)samplers->views[i]; in si_sampler_views_check_encrypted() local
272 struct si_resource *res = si_resource(sview->base.texture); in si_sampler_views_check_encrypted()
435 struct si_sampler_view *sview, struct si_texture *tex, in si_set_sampler_state_desc() argument
438 if (sview && sview->is_integer) in si_set_sampler_state_desc()
440 else if (tex && tex->upgraded_depth && (!sview || !sview->is_stencil_sampler)) in si_set_sampler_state_desc()
446 static void si_set_sampler_view_desc(struct si_context *sctx, struct si_sampler_view *sview, in si_set_sampler_view_desc() argument
449 struct pipe_sampler_view *view = &sview->base; in si_set_sampler_view_desc()
[all …]
Dsi_blit.c395 struct si_sampler_view *sview; in si_decompress_sampler_depth_textures() local
402 sview = (struct si_sampler_view *)view; in si_decompress_sampler_depth_textures()
407 si_decompress_depth(sctx, tex, sview->is_stencil_sampler ? PIPE_MASK_S : PIPE_MASK_Z, in si_decompress_sampler_depth_textures()
701 struct si_sampler_view *sview = (struct si_sampler_view *)view; in si_decompress_resident_textures() local
704 si_decompress_depth(sctx, tex, sview->is_stencil_sampler ? PIPE_MASK_S : PIPE_MASK_Z, in si_decompress_resident_textures()
/external/mesa3d/src/gallium/drivers/v3d/
Dv3dx_emit.c83 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()
202 unpacked.swizzle_r = translate_swizzle(sview->swizzle[0]); in emit_one_texture()
203 unpacked.swizzle_g = translate_swizzle(sview->swizzle[1]); in emit_one_texture()
[all …]
Dv3d_uniforms.c133 struct v3d_sampler_view *sview = v3d_sampler_view(psview); in write_texture_p1() local
144 cl_aligned_u32(uniforms, p1 | packed | sview->p1); in write_texture_p1()
156 struct v3d_sampler_view *sview = v3d_sampler_view(psview); in write_tmu_p0() local
157 struct v3d_resource *rsc = v3d_resource(sview->texture); in write_tmu_p0()
159 cl_aligned_reloc(&job->indirect, uniforms, sview->bo, in write_tmu_p0()
196 struct v3d_sampler_view *sview = v3d_sampler_view(psview); in write_tmu_p1() local
200 variant = sview->sampler_variant; in write_tmu_p1()
Dv3dx_state.c1144 struct v3d_sampler_view *sview = v3d_sampler_view(psview); in v3d_sampler_view_destroy() local
1146 v3d_bo_unreference(&sview->bo); in v3d_sampler_view_destroy()
1148 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()
/external/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()
/external/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 …]
/external/mesa3d/src/gallium/auxiliary/nir/
Dtgsi_to_nir.c262 struct tgsi_declaration_sampler_view *sview = &decl->SamplerView; in ttn_emit_declaration() local
265 assert((sview->ReturnTypeX == sview->ReturnTypeY) && in ttn_emit_declaration()
266 (sview->ReturnTypeX == sview->ReturnTypeZ) && in ttn_emit_declaration()
267 (sview->ReturnTypeX == sview->ReturnTypeW)); in ttn_emit_declaration()
269 switch (sview->ReturnTypeX) { in ttn_emit_declaration()
1337 unsigned num_srcs, samp = 1, sview, i; in ttn_tex() local
1430 sview = tgsi_inst->Src[samp].Register.Index; in ttn_tex()
1434 } else if (sview < c->num_samp_types) { in ttn_tex()
1435 instr->dest_type = c->samp_types[sview]; in ttn_tex()
1441 get_sampler_var(c, sview, instr->sampler_dim, in ttn_tex()
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_tex.c1416 struct pipe_sampler_view *sview = in gm107_create_image_handle() local
1418 struct nv50_tic_entry *tic = nv50_tic_entry(sview); in gm107_create_image_handle()
/external/mesa3d/docs/relnotes/
D19.0.0.rst1805 - radeonsi: rename rview -> sview