Searched refs:sview (Results 1 – 5 of 5) sorted by relevance
/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->base.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() 1256 unsigned num_srcs, samp = 1, sview, i; in ttn_tex() local 1362 sview = instr->texture_index; in ttn_tex() 1366 } else if (sview < c->num_samp_types) { in ttn_tex() 1367 instr->dest_type = c->samp_types[sview]; in ttn_tex()
|
/external/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_blit.c | 388 struct si_sampler_view *sview; in si_flush_depth_textures() local 395 sview = (struct si_sampler_view*)view; in si_flush_depth_textures() 402 sview->is_stencil_sampler ? PIPE_MASK_S : PIPE_MASK_Z, in si_flush_depth_textures()
|
D | si_descriptors.c | 348 struct si_sampler_view *sview = (struct si_sampler_view *)views->views[i]; in si_sampler_views_begin_new_cs() local 350 si_sampler_view_add_buffer(sctx, sview->base.texture, in si_sampler_views_begin_new_cs() 352 sview->is_stencil_sampler, false); in si_sampler_views_begin_new_cs()
|