Searched refs:rtex (Results 1 – 8 of 8) sorted by relevance
/third_party/mesa3d/src/gallium/drivers/r600/ |
D | r600_texture.c | 41 struct r600_texture *rtex); 175 struct r600_texture *rtex, unsigned level, in r600_texture_get_offset() argument 180 *stride = rtex->surface.u.legacy.level[level].nblk_x * in r600_texture_get_offset() 181 rtex->surface.bpe; in r600_texture_get_offset() 182 assert((uint64_t)rtex->surface.u.legacy.level[level].slice_size_dw * 4 <= UINT_MAX); in r600_texture_get_offset() 183 *layer_stride = (uint64_t)rtex->surface.u.legacy.level[level].slice_size_dw * 4; in r600_texture_get_offset() 186 return (uint64_t)rtex->surface.u.legacy.level[level].offset_256B * 256; in r600_texture_get_offset() 190 return (uint64_t)rtex->surface.u.legacy.level[level].offset_256B * 256 + in r600_texture_get_offset() 191 box->z * (uint64_t)rtex->surface.u.legacy.level[level].slice_size_dw * 4 + in r600_texture_get_offset() 192 (box->y / rtex->surface.blk_h * in r600_texture_get_offset() [all …]
|
D | r600_blit.c | 336 struct r600_texture *rtex, in r600_blit_decompress_color() argument 343 if (!rtex->dirty_level_mask) in r600_blit_decompress_color() 347 if (!(rtex->dirty_level_mask & (1 << level))) in r600_blit_decompress_color() 352 max_layer = util_max_layer(&rtex->resource.b.b, level); in r600_blit_decompress_color() 358 surf_tmpl.format = rtex->resource.b.b.format; in r600_blit_decompress_color() 362 cbsurf = ctx->create_surface(ctx, &rtex->resource.b.b, &surf_tmpl); in r600_blit_decompress_color() 366 rtex->fmask.size ? rctx->custom_blend_decompress : rctx->custom_blend_fastclear); in r600_blit_decompress_color() 375 rtex->dirty_level_mask &= ~(1 << level); in r600_blit_decompress_color() 439 struct r600_texture *rtex = (struct r600_texture*)tex; in r600_decompress_subresource() local 441 if (rtex->db_compatible) { in r600_decompress_subresource() [all …]
|
D | evergreen_state.c | 173 static unsigned r600_tex_dim(struct r600_texture *rtex, in r600_tex_dim() argument 176 unsigned res_target = rtex->resource.b.b.target; in r600_tex_dim() 1117 struct r600_texture *rtex, in evergreen_set_color_surface_common() argument 1132 color->offset = (uint64_t)rtex->surface.u.legacy.level[level].offset_256B * 256; in evergreen_set_color_surface_common() 1136 color->offset += rtex->resource.gpu_address; in evergreen_set_color_surface_common() 1140 pitch = (rtex->surface.u.legacy.level[level].nblk_x) / 8 - 1; in evergreen_set_color_surface_common() 1141 …slice = (rtex->surface.u.legacy.level[level].nblk_x * rtex->surface.u.legacy.level[level].nblk_y) … in evergreen_set_color_surface_common() 1147 switch (rtex->surface.u.legacy.level[level].mode) { in evergreen_set_color_surface_common() 1155 non_disp_tiling = rtex->non_disp_tiling; in evergreen_set_color_surface_common() 1159 non_disp_tiling = rtex->non_disp_tiling; in evergreen_set_color_surface_common() [all …]
|
D | r600_state.c | 815 struct r600_texture *rtex = (struct r600_texture*)surf->base.texture; in r600_init_color_surface() local 826 if (rtex->db_compatible && !r600_can_sample_zs(rtex, false)) { in r600_init_color_surface() 828 rtex = rtex->flushed_depth_texture; in r600_init_color_surface() 829 assert(rtex); in r600_init_color_surface() 832 offset = (uint64_t)rtex->surface.u.legacy.level[level].offset_256B * 256; in r600_init_color_surface() 836 pitch = rtex->surface.u.legacy.level[level].nblk_x / 8 - 1; in r600_init_color_surface() 837 …slice = (rtex->surface.u.legacy.level[level].nblk_x * rtex->surface.u.legacy.level[level].nblk_y) … in r600_init_color_surface() 842 switch (rtex->surface.u.legacy.level[level].mode) { in r600_init_color_surface() 881 do_endian_swap = !rtex->db_compatible; in r600_init_color_surface() 960 r600_resource_reference(&surf->cb_buffer_cmask, &rtex->resource); in r600_init_color_surface() [all …]
|
D | r600_pipe_common.h | 752 struct r600_texture *rtex, 756 struct r600_texture *rtex, 762 struct r600_texture *rtex, struct u_log_context *log);
|
D | r600_state_common.c | 690 struct r600_texture *rtex = in r600_set_sampler_views() local 694 if (!is_buffer && rtex->db_compatible) { in r600_set_sampler_views() 701 if (!is_buffer && rtex->cmask.size) { in r600_set_sampler_views() 754 struct r600_texture *rtex = (struct r600_texture *)res; in r600_update_compressed_colortex_mask() local 756 if (rtex->cmask.size) { in r600_update_compressed_colortex_mask() 806 struct r600_texture *rtex = (struct r600_texture *)res; in r600_update_compressed_colortex_mask_images() local 808 if (rtex->cmask.size) { in r600_update_compressed_colortex_mask_images() 2543 struct r600_texture *rtex = (struct r600_texture *)surf->texture; in r600_draw_vbo() local 2545 rtex->dirty_level_mask |= 1 << surf->u.tex.level; in r600_draw_vbo() 2547 if (rtex->surface.has_stencil) in r600_draw_vbo() [all …]
|
D | r600_buffer_common.c | 110 struct r600_texture *rtex = (struct r600_texture*)res; in r600_init_resource_fields() local 139 if ((res->b.b.target != PIPE_BUFFER && !rtex->surface.is_linear) || in r600_init_resource_fields()
|
/third_party/mesa3d/src/gallium/drivers/r300/ |
D | r300_state.c | 836 struct r300_resource *rtex = r300_resource(tex); in r300_print_fb_surf_info() local 849 rtex->tex.macrotile[0] ? "YES" : " NO", in r300_print_fb_surf_info() 850 rtex->tex.microtile ? "YES" : " NO", in r300_print_fb_surf_info()
|