Home
last modified time | relevance | path

Searched refs:stex (Results 1 – 7 of 7) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_pipe_blit.c84 struct svga_texture *stex; in intra_surface_copy() local
92 stex = svga_texture(tex); in intra_surface_copy()
104 SVGA_RETRY(svga, SVGA3D_vgpu10_IntraSurfaceCopy(svga->swc, stex->handle, in intra_surface_copy()
107 svga_set_texture_rendered_to(stex); in intra_surface_copy()
123 struct svga_texture *dtex, *stex; in copy_region_vgpu10() local
125 stex = svga_texture(src_tex); in copy_region_vgpu10()
133 svga_texture_copy_region(svga, stex->handle, srcSubResource, in copy_region_vgpu10()
346 struct svga_texture *dtex, *stex; in can_blit_via_intra_surface_copy() local
369 stex = svga_texture(blit_info->src.resource); in can_blit_via_intra_surface_copy()
372 return (stex->handle == dtex->handle); in can_blit_via_intra_surface_copy()
[all …]
Dsvga_surface.c583 struct svga_texture *stex = svga_texture(s->base.texture); in svga_validate_surface_view() local
585 if (stex->surface_state < SVGA_SURFACE_STATE_INVALIDATED) { in svga_validate_surface_view()
586 assert(stex->handle); in svga_validate_surface_view()
593 SVGA_RETRY(svga, SVGA3D_InvalidateGBSurface(svga->swc, stex->handle)); in svga_validate_surface_view()
594 stex->surface_state = SVGA_SURFACE_STATE_INVALIDATED; in svga_validate_surface_view()
609 if (stex->key.flags & SVGA3D_SURFACE_BIND_DEPTH_STENCIL) { in svga_validate_surface_view()
623 if (stex->key.flags & SVGA3D_SURFACE_BIND_RENDER_TARGET) { in svga_validate_surface_view()
631 (stex->key.format == SVGA3D_B8G8R8X8_UNORM || in svga_validate_surface_view()
632 stex->key.format == SVGA3D_B8G8R8X8_TYPELESS)) { in svga_validate_surface_view()
Dsvga_state_fs.c246 struct svga_texture *stex = svga_texture(tex); in make_fs_key() local
247 SVGA3dSurfaceFormat format = stex->key.format; in make_fs_key()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_blit.c850 struct si_texture *stex = (struct si_texture *)tex; in si_decompress_subresource() local
852 if (stex->db_compatible) { in si_decompress_subresource()
855 if (!stex->surface.has_stencil) in si_decompress_subresource()
866 si_decompress_depth(sctx, stex, planes, level, level, first_layer, last_layer); in si_decompress_subresource()
867 } else if (stex->surface.fmask_size || stex->cmask_buffer || in si_decompress_subresource()
868 vi_dcc_enabled(stex, level)) { in si_decompress_subresource()
882 si_blit_decompress_color(sctx, stex, level, level, first_layer, last_layer, false, in si_decompress_subresource()
1254 struct si_texture *stex = (struct si_texture *)tex; in si_generate_mipmap() local
1267 stex->dirty_level_mask &= ~u_bit_consecutive(base_level + 1, last_level - base_level); in si_generate_mipmap()
1269 sctx->generate_mipmap_for_depth = stex->is_depth; in si_generate_mipmap()
Dsi_compute_blit.c941 struct si_texture *stex = (struct si_texture *)tex; in si_compute_expand_fmask() local
942 si_clear_buffer(sctx, tex, stex->surface.fmask_offset, stex->surface.fmask_size, in si_compute_expand_fmask()
Dsi_clear.c1308 struct si_texture *stex = (struct si_texture *)tex; in si_clear_texture() local
1320 if (stex->is_depth) { in si_clear_texture()
1329 if (stex->surface.has_stencil) { in si_clear_texture()
Dsi_texture.c2067 struct si_texture *stex = (struct si_texture *)tex; in vi_dcc_formats_are_incompatible() local
2069 return vi_dcc_enabled(stex, level) && in vi_dcc_formats_are_incompatible()
2078 struct si_texture *stex = (struct si_texture *)tex; in vi_disable_dcc_if_incompatible_format() local
2081 if (!si_texture_disable_dcc(sctx, stex)) in vi_disable_dcc_if_incompatible_format()
2082 si_decompress_dcc(sctx, stex); in vi_disable_dcc_if_incompatible_format()