Searched refs:rtex (Results 1 – 8 of 8) sorted by relevance
/external/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 rtex->surface.u.legacy.level[level].offset; in r600_texture_get_offset() 190 return rtex->surface.u.legacy.level[level].offset + 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 | 334 struct r600_texture *rtex, in r600_blit_decompress_color() argument 341 if (!rtex->dirty_level_mask) in r600_blit_decompress_color() 345 if (!(rtex->dirty_level_mask & (1 << level))) in r600_blit_decompress_color() 350 max_layer = util_max_layer(&rtex->resource.b.b, level); in r600_blit_decompress_color() 356 surf_tmpl.format = rtex->resource.b.b.format; in r600_blit_decompress_color() 360 cbsurf = ctx->create_surface(ctx, &rtex->resource.b.b, &surf_tmpl); in r600_blit_decompress_color() 364 rtex->fmask.size ? rctx->custom_blend_decompress : rctx->custom_blend_fastclear); in r600_blit_decompress_color() 373 rtex->dirty_level_mask &= ~(1 << level); in r600_blit_decompress_color() 437 struct r600_texture *rtex = (struct r600_texture*)tex; in r600_decompress_subresource() local 439 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() 1112 struct r600_texture *rtex, in evergreen_set_color_surface_common() argument 1127 color->offset = rtex->surface.u.legacy.level[level].offset; in evergreen_set_color_surface_common() 1131 color->offset += rtex->resource.gpu_address; in evergreen_set_color_surface_common() 1135 pitch = (rtex->surface.u.legacy.level[level].nblk_x) / 8 - 1; in evergreen_set_color_surface_common() 1136 …slice = (rtex->surface.u.legacy.level[level].nblk_x * rtex->surface.u.legacy.level[level].nblk_y) … in evergreen_set_color_surface_common() 1142 switch (rtex->surface.u.legacy.level[level].mode) { in evergreen_set_color_surface_common() 1150 non_disp_tiling = rtex->non_disp_tiling; in evergreen_set_color_surface_common() 1154 non_disp_tiling = rtex->non_disp_tiling; in evergreen_set_color_surface_common() [all …]
|
D | r600_state.c | 810 struct r600_texture *rtex = (struct r600_texture*)surf->base.texture; in r600_init_color_surface() local 821 if (rtex->db_compatible && !r600_can_sample_zs(rtex, false)) { in r600_init_color_surface() 823 rtex = rtex->flushed_depth_texture; in r600_init_color_surface() 824 assert(rtex); in r600_init_color_surface() 827 offset = rtex->surface.u.legacy.level[level].offset; in r600_init_color_surface() 831 pitch = rtex->surface.u.legacy.level[level].nblk_x / 8 - 1; in r600_init_color_surface() 832 …slice = (rtex->surface.u.legacy.level[level].nblk_x * rtex->surface.u.legacy.level[level].nblk_y) … in r600_init_color_surface() 837 switch (rtex->surface.u.legacy.level[level].mode) { in r600_init_color_surface() 876 do_endian_swap = !rtex->db_compatible; in r600_init_color_surface() 955 r600_resource_reference(&surf->cb_buffer_cmask, &rtex->resource); in r600_init_color_surface() [all …]
|
D | r600_pipe_common.h | 740 struct r600_texture *rtex, 744 struct r600_texture *rtex, 750 struct r600_texture *rtex, struct u_log_context *log);
|
D | r600_state_common.c | 666 struct r600_texture *rtex = in r600_set_sampler_views() local 670 if (!is_buffer && rtex->db_compatible) { in r600_set_sampler_views() 677 if (!is_buffer && rtex->cmask.size) { in r600_set_sampler_views() 725 struct r600_texture *rtex = (struct r600_texture *)res; in r600_update_compressed_colortex_mask() local 727 if (rtex->cmask.size) { in r600_update_compressed_colortex_mask() 777 struct r600_texture *rtex = (struct r600_texture *)res; in r600_update_compressed_colortex_mask_images() local 779 if (rtex->cmask.size) { in r600_update_compressed_colortex_mask_images() 2425 struct r600_texture *rtex = (struct r600_texture *)surf->texture; in r600_draw_vbo() local 2427 rtex->dirty_level_mask |= 1 << surf->u.tex.level; in r600_draw_vbo() 2429 if (rtex->surface.has_stencil) in r600_draw_vbo() [all …]
|
D | r600_buffer_common.c | 108 struct r600_texture *rtex = (struct r600_texture*)res; in r600_init_resource_fields() local 161 if ((res->b.b.target != PIPE_BUFFER && !rtex->surface.is_linear) || in r600_init_resource_fields()
|
/external/mesa3d/src/gallium/drivers/r300/ |
D | r300_state.c | 834 struct r300_resource *rtex = r300_resource(tex); in r300_print_fb_surf_info() local 847 rtex->tex.macrotile[0] ? "YES" : " NO", in r300_print_fb_surf_info() 848 rtex->tex.microtile ? "YES" : " NO", in r300_print_fb_surf_info()
|