Searched refs:sview (Results 1 - 22 of 22) sorted by relevance

/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/radeonsi/
H A Dsi_descriptors.c284 struct si_sampler_view *sview = (struct si_sampler_view *)samplers->views[i]; local in function:si_sampler_views_begin_new_cs
286 si_sampler_view_add_buffer(sctx, sview->base.texture,
288 sview->is_stencil_sampler, false);
414 struct si_sampler_view *sview,
418 if (sview && sview->is_integer)
421 (!sview || !sview->is_stencil_sampler))
428 struct si_sampler_view *sview,
432 struct pipe_sampler_view *view = &sview
413 si_set_sampler_state_desc(struct si_sampler_state * sstate,struct si_sampler_view * sview,struct si_texture * tex,uint32_t * desc) argument
427 si_set_sampler_view_desc(struct si_context * sctx,struct si_sampler_view * sview,struct si_sampler_state * sstate,uint32_t * desc) argument
500 struct si_sampler_view *sview = (struct si_sampler_view*)view; local in function:si_set_sampler_view
971 struct si_sampler_view *sview = local in function:si_bind_sampler_states
1909 struct si_sampler_view *sview = (struct si_sampler_view *)tex_handle->view; local in function:si_update_bindless_texture_descriptor
2352 struct si_sampler_view *sview = (struct si_sampler_view *)view; local in function:si_create_texture_handle
2425 struct si_sampler_view *sview; local in function:si_make_texture_handle_resident
2651 struct si_sampler_view *sview = local in function:si_resident_buffers_add_all_to_bo_list
[all...]
H A Dsi_blit.c436 struct si_sampler_view *sview; local in function:si_decompress_sampler_depth_textures
443 sview = (struct si_sampler_view*)view;
449 sview->is_stencil_sampler ? PIPE_MASK_S : PIPE_MASK_Z,
762 struct si_sampler_view *sview = (struct si_sampler_view *)view; local in function:si_decompress_resident_textures
766 sview->is_stencil_sampler ? PIPE_MASK_S : PIPE_MASK_Z,
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/v3d/
H A Dv3d_uniforms.c133 struct v3d_sampler_view *sview = v3d_sampler_view(psview); local in function:write_texture_p1
144 cl_aligned_u32(uniforms, p1 | packed | sview->p1);
156 struct v3d_sampler_view *sview = v3d_sampler_view(psview); local in function:write_tmu_p0
157 struct v3d_resource *rsc = v3d_resource(sview->texture);
159 cl_aligned_reloc(&job->indirect, uniforms, sview->bo,
196 struct v3d_sampler_view *sview = v3d_sampler_view(psview); local in function:write_tmu_p1
200 variant = sview->sampler_variant;
H A Dv3dx_emit.c83 struct v3d_sampler_view *sview,
87 util_format_description(sview->base.format);
98 if (v3d_get_tex_return_size(devinfo, sview->base.format,
139 struct v3d_sampler_view *sview = v3d_sampler_view(psview); local in function:emit_one_texture
157 sview, 0),
159 sview, 1),
161 sview, 2),
163 sview, 3),
202 unpacked.swizzle_r = translate_swizzle(sview->swizzle[0]);
203 unpacked.swizzle_g = translate_swizzle(sview
81 swizzled_border_color(const struct v3d_device_info * devinfo,struct pipe_sampler_state * sampler,struct v3d_sampler_view * sview,int chan) argument
[all...]
H A Dv3dx_state.c1129 struct v3d_sampler_view *sview = v3d_sampler_view(psview); local in function:v3d_sampler_view_destroy
1131 v3d_bo_unreference(&sview->bo);
1133 pipe_resource_reference(&sview->texture, NULL);
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/v3d/
H A Dv3d_uniforms.c137 struct v3d_sampler_view *sview = v3d_sampler_view(psview); local in function:write_texture_p1
148 cl_aligned_u32(uniforms, p1 | packed | sview->p1);
160 struct v3d_sampler_view *sview = v3d_sampler_view(psview); local in function:write_tmu_p0
161 struct v3d_resource *rsc = v3d_resource(sview->texture);
163 cl_aligned_reloc(&job->indirect, uniforms, sview->bo,
200 struct v3d_sampler_view *sview = v3d_sampler_view(psview); local in function:write_tmu_p1
204 variant = sview->sampler_variant;
H A Dv3dx_emit.c83 struct v3d_sampler_view *sview,
87 util_format_description(sview->base.format);
98 if (v3d_get_tex_return_size(devinfo, sview->base.format,
139 struct v3d_sampler_view *sview = v3d_sampler_view(psview); local in function:emit_one_texture
157 sview, 0),
159 sview, 1),
161 sview, 2),
163 sview, 3),
203 unpacked.swizzle_r = translate_swizzle(sview->swizzle[0]);
204 unpacked.swizzle_g = translate_swizzle(sview
81 swizzled_border_color(const struct v3d_device_info * devinfo,struct pipe_sampler_state * sampler,struct v3d_sampler_view * sview,int chan) argument
[all...]
H A Dv3dx_state.c1140 struct v3d_sampler_view *sview = v3d_sampler_view(psview); local in function:v3d_sampler_view_destroy
1142 v3d_bo_unreference(&sview->bo);
1144 pipe_resource_reference(&sview->texture, NULL);
H A Dv3d_resource.c161 struct v3d_sampler_view *sview = local in function:rebind_sampler_views
164 v3d_create_texture_shader_state_bo(v3d, sview);
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/vc4/
H A Dvc4_uniforms.c37 struct vc4_sampler_view *sview = local in function:write_texture_p0
39 struct vc4_resource *rsc = vc4_resource(sview->texture);
41 cl_reloc(job, &job->uniforms, uniforms, rsc->bo, sview->texture_p0);
50 struct vc4_sampler_view *sview = local in function:write_texture_p1
55 cl_aligned_u32(uniforms, sview->texture_p1 | sampler->texture_p1);
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/vc4/
H A Dvc4_uniforms.c37 struct vc4_sampler_view *sview = local in function:write_texture_p0
39 struct vc4_resource *rsc = vc4_resource(sview->texture);
41 cl_reloc(job, &job->uniforms, uniforms, rsc->bo, sview->texture_p0);
50 struct vc4_sampler_view *sview = local in function:write_texture_p1
55 cl_aligned_u32(uniforms, sview->texture_p1 | sampler->texture_p1);
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/radeonsi/
H A Dsi_descriptors.c243 struct si_sampler_view *sview = (struct si_sampler_view *)samplers->views[i]; local in function:si_sampler_views_begin_new_cs
245 si_sampler_view_add_buffer(sctx, sview->base.texture, RADEON_USAGE_READ,
246 sview->is_stencil_sampler, false);
258 struct si_sampler_view *sview = (struct si_sampler_view *)samplers->views[i]; local in function:si_sampler_views_check_encrypted
260 struct si_resource *res = si_resource(sview->base.texture);
432 struct si_sampler_view *sview, struct si_texture *tex,
435 if (tex && tex->upgraded_depth && sview && !sview->is_stencil_sampler)
441 static void si_set_sampler_view_desc(struct si_context *sctx, struct si_sampler_view *sview, argument
446 struct pipe_sampler_view *view = &sview
431 si_set_sampler_state_desc(struct si_sampler_state * sstate,struct si_sampler_view * sview,struct si_texture * tex,uint32_t * desc) argument
528 struct si_sampler_view *sview = (struct si_sampler_view *)views[i]; local in function:si_set_sampler_views
1008 struct si_sampler_view *sview = (struct si_sampler_view *)samplers->views[slot]; local in function:si_bind_sampler_states
1852 struct si_sampler_view *sview = (struct si_sampler_view *)tex_handle->view; local in function:si_update_bindless_texture_descriptor
2307 struct si_sampler_view *sview = (struct si_sampler_view *)view; local in function:si_create_texture_handle
2376 struct si_sampler_view *sview; local in function:si_make_texture_handle_resident
2568 struct si_sampler_view *sview = (struct si_sampler_view *)(*tex_handle)->view; local in function:si_resident_buffers_add_all_to_bo_list
[all...]
H A Dsi_compute.c872 struct si_sampler_view *sview = (struct si_sampler_view *)samplers->views[i]; local in function:si_check_needs_implicit_sync
874 struct si_resource *res = si_resource(sview->base.texture);
885 struct pipe_image_view *sview = &images->views[i]; local in function:si_check_needs_implicit_sync
887 struct si_resource *res = si_resource(sview->resource);
H A Dsi_blit.c407 struct si_sampler_view *sview; local in function:si_decompress_sampler_depth_textures
414 sview = (struct si_sampler_view *)view;
419 si_decompress_depth(sctx, tex, sview->is_stencil_sampler ? PIPE_MASK_S : PIPE_MASK_Z,
744 struct si_sampler_view *sview = (struct si_sampler_view *)view; local in function:si_decompress_resident_textures
747 si_decompress_depth(sctx, tex, sview->is_stencil_sampler ? PIPE_MASK_S : PIPE_MASK_Z,
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/softpipe/
H A Dsp_tex_sample.c513 compute_lambda_1d_explicit_gradients(const struct sp_sampler_view *sview, argument
517 const struct pipe_resource *texture = sview->base.texture;
520 const float rho = MAX2(dsdx, dsdy) * u_minify(texture->width0, sview->base.u.tex.first_level);
530 compute_lambda_1d(const struct sp_sampler_view *sview, argument
537 return compute_lambda_1d_explicit_gradients(sview, derivs, 0);
555 compute_lambda_2d_explicit_gradients(const struct sp_sampler_view *sview, argument
559 const struct pipe_resource *texture = sview->base.texture;
564 const float maxx = MAX2(dsdx, dsdy) * u_minify(texture->width0, sview->base.u.tex.first_level);
565 const float maxy = MAX2(dtdx, dtdy) * u_minify(texture->height0, sview->base.u.tex.first_level);
572 compute_lambda_2d(const struct sp_sampler_view *sview, argument
599 compute_lambda_3d_explicit_gradients(const struct sp_sampler_view * sview,const float derivs[3][2][TGSI_QUAD_SIZE],uint quad) argument
620 compute_lambda_3d(const struct sp_sampler_view * sview,const float s[TGSI_QUAD_SIZE],const float t[TGSI_QUAD_SIZE],const float p[TGSI_QUAD_SIZE]) argument
632 compute_lambda_cube_explicit_gradients(const struct sp_sampler_view * sview,const float derivs[3][2][TGSI_QUAD_SIZE],uint quad) argument
652 compute_lambda_cube(const struct sp_sampler_view * sview,const float s[TGSI_QUAD_SIZE],const float t[TGSI_QUAD_SIZE],const float p[TGSI_QUAD_SIZE]) argument
667 compute_lambda_vert(const struct sp_sampler_view * sview,const float s[TGSI_QUAD_SIZE],const float t[TGSI_QUAD_SIZE],const float p[TGSI_QUAD_SIZE]) argument
2883 do_swizzling(const struct pipe_sampler_view * sview,float in[TGSI_NUM_CHANNELS][TGSI_QUAD_SIZE],float out[TGSI_NUM_CHANNELS][TGSI_QUAD_SIZE]) argument
3588 struct sp_sampler_view *sview = CALLOC_STRUCT(sp_sampler_view); local in function:softpipe_create_sampler_view
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/softpipe/
H A Dsp_tex_sample.c499 compute_lambda_1d_explicit_gradients(const struct sp_sampler_view *sview, argument
503 const struct pipe_resource *texture = sview->base.texture;
506 const float rho = MAX2(dsdx, dsdy) * u_minify(texture->width0, sview->base.u.tex.first_level);
516 compute_lambda_1d(const struct sp_sampler_view *sview, argument
523 return compute_lambda_1d_explicit_gradients(sview, derivs, 0);
541 compute_lambda_2d_explicit_gradients(const struct sp_sampler_view *sview, argument
545 const struct pipe_resource *texture = sview->base.texture;
550 const float maxx = MAX2(dsdx, dsdy) * u_minify(texture->width0, sview->base.u.tex.first_level);
551 const float maxy = MAX2(dtdx, dtdy) * u_minify(texture->height0, sview->base.u.tex.first_level);
558 compute_lambda_2d(const struct sp_sampler_view *sview, argument
585 compute_lambda_3d_explicit_gradients(const struct sp_sampler_view * sview,const float derivs[3][2][TGSI_QUAD_SIZE],uint quad) argument
606 compute_lambda_3d(const struct sp_sampler_view * sview,const float s[TGSI_QUAD_SIZE],const float t[TGSI_QUAD_SIZE],const float p[TGSI_QUAD_SIZE]) argument
618 compute_lambda_cube_explicit_gradients(const struct sp_sampler_view * sview,const float derivs[3][2][TGSI_QUAD_SIZE],uint quad) argument
638 compute_lambda_cube(const struct sp_sampler_view * sview,const float s[TGSI_QUAD_SIZE],const float t[TGSI_QUAD_SIZE],const float p[TGSI_QUAD_SIZE]) argument
653 compute_lambda_vert(const struct sp_sampler_view * sview,const float s[TGSI_QUAD_SIZE],const float t[TGSI_QUAD_SIZE],const float p[TGSI_QUAD_SIZE]) argument
2869 do_swizzling(const struct pipe_sampler_view * sview,float in[TGSI_NUM_CHANNELS][TGSI_QUAD_SIZE],float out[TGSI_NUM_CHANNELS][TGSI_QUAD_SIZE]) argument
3574 struct sp_sampler_view *sview = CALLOC_STRUCT(sp_sampler_view); local in function:softpipe_create_sampler_view
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/nir/
H A Dtgsi_to_nir.c247 struct tgsi_declaration_sampler_view *sview = &decl->SamplerView; local in function:ttn_emit_declaration
250 assert((sview->ReturnTypeX == sview->ReturnTypeY) &&
251 (sview->ReturnTypeX == sview->ReturnTypeZ) &&
252 (sview->ReturnTypeX == sview->ReturnTypeW));
254 switch (sview->ReturnTypeX) {
1224 unsigned num_srcs, samp = 1, sview, i; local in function:ttn_tex
1331 sview
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/nir/
H A Dtgsi_to_nir.c263 struct tgsi_declaration_sampler_view *sview = &decl->SamplerView; local in function:ttn_emit_declaration
266 assert((sview->ReturnTypeX == sview->ReturnTypeY) &&
267 (sview->ReturnTypeX == sview->ReturnTypeZ) &&
268 (sview->ReturnTypeX == sview->ReturnTypeW));
270 switch (sview->ReturnTypeX) {
1329 unsigned num_srcs, samp = 1, sview, i; local in function:ttn_tex
1422 sview
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/nouveau/nvc0/
H A Dnvc0_tex.c1416 struct pipe_sampler_view *sview = local in function:gm107_create_image_handle
1418 struct nv50_tic_entry *tic = nv50_tic_entry(sview);
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/nouveau/nvc0/
H A Dnvc0_tex.c1429 struct pipe_sampler_view *sview = local in function:gm107_create_image_handle
1431 struct nv50_tic_entry *tic = nv50_tic_entry(sview);
/xsrc/external/mit/MesaLib/dist/docs/relnotes/
H A D19.0.0.rst1805 - radeonsi: rename rview -> sview
H A D21.2.0.rst3550 - st/mesa: return sview from st_update_single_texture via return value, not param

Completed in 45 milliseconds