/external/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_descriptors.c | 282 struct si_sampler_view *sview = (struct si_sampler_view *)samplers->views[i]; in si_sampler_views_begin_new_cs() local 284 si_sampler_view_add_buffer(sctx, sview->base.texture, in si_sampler_views_begin_new_cs() 286 sview->is_stencil_sampler, false); in si_sampler_views_begin_new_cs() 412 struct si_sampler_view *sview, in si_set_sampler_state_desc() argument 416 if (sview && sview->is_integer) in si_set_sampler_state_desc() 419 (!sview || !sview->is_stencil_sampler)) in si_set_sampler_state_desc() 426 struct si_sampler_view *sview, in si_set_sampler_view_desc() argument 430 struct pipe_sampler_view *view = &sview->base; in si_set_sampler_view_desc() 434 if (unlikely(!is_buffer && sview->dcc_incompatible)) { in si_set_sampler_view_desc() 439 sview->dcc_incompatible = false; in si_set_sampler_view_desc() [all …]
|
D | si_blit.c | 424 struct si_sampler_view *sview; in si_decompress_sampler_depth_textures() local 431 sview = (struct si_sampler_view*)view; in si_decompress_sampler_depth_textures() 437 sview->is_stencil_sampler ? PIPE_MASK_S : PIPE_MASK_Z, in si_decompress_sampler_depth_textures() 745 struct si_sampler_view *sview = (struct si_sampler_view *)view; in si_decompress_resident_textures() local 749 sview->is_stencil_sampler ? PIPE_MASK_S : PIPE_MASK_Z, in si_decompress_resident_textures()
|
/external/mesa3d/src/gallium/drivers/vc5/ |
D | vc5_emit.c | 81 struct vc5_sampler_view *sview, in swizzled_border_color() argument 85 util_format_description(sview->base.format); in swizzled_border_color() 96 if (vc5_get_tex_return_size(devinfo, sview->base.format, in swizzled_border_color() 137 struct vc5_sampler_view *sview = vc5_sampler_view(psview); in emit_one_texture() local 155 sview, 0), in emit_one_texture() 157 sview, 1), in emit_one_texture() 159 sview, 2), in emit_one_texture() 161 sview, 3), in emit_one_texture() 200 unpacked.swizzle_r = translate_swizzle(sview->swizzle[0]); in emit_one_texture() 201 unpacked.swizzle_g = translate_swizzle(sview->swizzle[1]); in emit_one_texture() [all …]
|
D | vc5_uniforms.c | 206 struct vc5_sampler_view *sview = vc5_sampler_view(psview); in write_texture_p1() local 217 cl_aligned_u32(uniforms, p1 | packed | sview->p1); in write_texture_p1() 234 struct vc5_sampler_view *sview = vc5_sampler_view(psview); in write_tmu_p0() local 237 cl_aligned_reloc(&job->indirect, uniforms, sview->bo, p0); in write_tmu_p0()
|
D | vc5_state.c | 802 struct vc5_sampler_view *sview = vc5_sampler_view(psview); local 804 vc5_bo_unreference(&sview->bo);
|
/external/mesa3d/src/gallium/drivers/vc4/ |
D | vc4_uniforms.c | 36 struct vc4_sampler_view *sview = in write_texture_p0() local 38 struct vc4_resource *rsc = vc4_resource(sview->texture); in write_texture_p0() 40 cl_reloc(job, &job->uniforms, uniforms, rsc->bo, sview->texture_p0); in write_texture_p0() 49 struct vc4_sampler_view *sview = in write_texture_p1() local 54 cl_aligned_u32(uniforms, sview->texture_p1 | sampler->texture_p1); in write_texture_p1()
|
/external/mesa3d/src/gallium/drivers/softpipe/ |
D | sp_tex_sample.c | 493 compute_lambda_1d(const struct sp_sampler_view *sview, in compute_lambda_1d() argument 498 const struct pipe_resource *texture = sview->base.texture; in compute_lambda_1d() 501 const float rho = MAX2(dsdx, dsdy) * u_minify(texture->width0, sview->base.u.tex.first_level); in compute_lambda_1d() 508 compute_lambda_2d(const struct sp_sampler_view *sview, in compute_lambda_2d() argument 513 const struct pipe_resource *texture = sview->base.texture; in compute_lambda_2d() 518 const float maxx = MAX2(dsdx, dsdy) * u_minify(texture->width0, sview->base.u.tex.first_level); in compute_lambda_2d() 519 const float maxy = MAX2(dtdx, dtdy) * u_minify(texture->height0, sview->base.u.tex.first_level); in compute_lambda_2d() 527 compute_lambda_3d(const struct sp_sampler_view *sview, in compute_lambda_3d() argument 532 const struct pipe_resource *texture = sview->base.texture; in compute_lambda_3d() 539 const float maxx = MAX2(dsdx, dsdy) * u_minify(texture->width0, sview->base.u.tex.first_level); in compute_lambda_3d() [all …]
|
/external/mesa3d/src/gallium/auxiliary/nir/ |
D | tgsi_to_nir.c | 286 struct tgsi_declaration_sampler_view *sview = &decl->SamplerView; in ttn_emit_declaration() local 289 assert((sview->ReturnTypeX == sview->ReturnTypeY) && in ttn_emit_declaration() 290 (sview->ReturnTypeX == sview->ReturnTypeZ) && in ttn_emit_declaration() 291 (sview->ReturnTypeX == sview->ReturnTypeW)); in ttn_emit_declaration() 293 switch (sview->ReturnTypeX) { in ttn_emit_declaration() 1204 unsigned num_srcs, samp = 1, sview, i; in ttn_tex() local 1310 sview = instr->texture_index; in ttn_tex() 1314 } else if (sview < c->num_samp_types) { in ttn_tex() 1315 instr->dest_type = c->samp_types[sview]; in ttn_tex()
|