Searched refs:rtex (Results 1 - 16 of 16) sorted by relevance

/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/r600/
H A Dr600_texture.c40 struct r600_texture *rtex);
174 struct r600_texture *rtex, unsigned level,
179 *stride = rtex->surface.u.legacy.level[level].nblk_x *
180 rtex->surface.bpe;
181 assert((uint64_t)rtex->surface.u.legacy.level[level].slice_size_dw * 4 <= UINT_MAX);
182 *layer_stride = (uint64_t)rtex->surface.u.legacy.level[level].slice_size_dw * 4;
185 return rtex->surface.u.legacy.level[level].offset;
189 return rtex->surface.u.legacy.level[level].offset +
190 box->z * (uint64_t)rtex->surface.u.legacy.level[level].slice_size_dw * 4 +
191 (box->y / rtex
173 r600_texture_get_offset(struct r600_common_screen * rscreen,struct r600_texture * rtex,unsigned level,const struct pipe_box * box,unsigned * stride,unsigned * layer_stride) argument
272 r600_texture_init_metadata(struct r600_common_screen * rscreen,struct r600_texture * rtex,struct radeon_bo_metadata * metadata) argument
317 r600_eliminate_fast_color_clear(struct r600_common_context * rctx,struct r600_texture * rtex) argument
333 r600_texture_discard_cmask(struct r600_common_screen * rscreen,struct r600_texture * rtex) argument
356 r600_reallocate_texture_inplace(struct r600_common_context * rctx,struct r600_texture * rtex,unsigned new_bind_flag,bool invalidate_storage) argument
451 struct r600_texture *rtex = (struct r600_texture*)resource; local in function:r600_texture_get_info
480 struct r600_texture *rtex = (struct r600_texture*)resource; local in function:r600_texture_get_handle
582 struct r600_texture *rtex = (struct r600_texture*)ptex; local in function:r600_texture_destroy
598 r600_texture_get_fmask_info(struct r600_common_screen * rscreen,struct r600_texture * rtex,unsigned nr_samples,struct r600_fmask_info * out) argument
662 r600_texture_allocate_fmask(struct r600_common_screen * rscreen,struct r600_texture * rtex) argument
672 r600_texture_get_cmask_info(struct r600_common_screen * rscreen,struct r600_texture * rtex,struct r600_cmask_info * out) argument
706 r600_texture_allocate_cmask(struct r600_common_screen * rscreen,struct r600_texture * rtex) argument
717 r600_texture_alloc_cmask_separate(struct r600_common_screen * rscreen,struct r600_texture * rtex) argument
755 r600_texture_get_htile_size(struct r600_common_screen * rscreen,struct r600_texture * rtex) argument
815 r600_texture_allocate_htile(struct r600_common_screen * rscreen,struct r600_texture * rtex) argument
827 r600_print_texture_info(struct r600_common_screen * rscreen,struct r600_texture * rtex,struct u_log_context * log) argument
911 struct r600_texture *rtex; local in function:r600_texture_create_object
1126 struct r600_texture *rtex; local in function:r600_texture_from_handle
1168 struct r600_texture *rtex = (struct r600_texture*)texture; local in function:r600_init_flushed_depth_texture
1261 r600_can_invalidate_texture(struct r600_common_screen * rscreen,struct r600_texture * rtex,unsigned transfer_usage,const struct pipe_box * box) argument
1277 r600_texture_invalidate_storage(struct r600_common_context * rctx,struct r600_texture * rtex) argument
1306 struct r600_texture *rtex = (struct r600_texture*)texture; local in function:r600_texture_transfer_map
1489 struct r600_texture *rtex = (struct r600_texture*)texture; local in function:r600_texture_transfer_unmap
1621 struct r600_texture *rtex = (struct r600_texture*)tex; local in function:r600_clear_texture
1741 evergreen_set_clear_color(struct r600_texture * rtex,enum pipe_format surface_format,const union pipe_color_union * color) argument
1915 struct r600_texture *rtex; local in function:r600_texture_from_memobj
[all...]
H A Dr600_blit.c334 struct r600_texture *rtex,
341 if (!rtex->dirty_level_mask)
345 if (!(rtex->dirty_level_mask & (1 << level)))
350 max_layer = util_max_layer(&rtex->resource.b.b, level);
356 surf_tmpl.format = rtex->resource.b.b.format;
360 cbsurf = ctx->create_surface(ctx, &rtex->resource.b.b, &surf_tmpl);
364 rtex->fmask.size ? rctx->custom_blend_decompress : rctx->custom_blend_fastclear);
373 rtex->dirty_level_mask &= ~(1 << level);
437 struct r600_texture *rtex = (struct r600_texture*)tex; local in function:r600_decompress_subresource
439 if (rtex
333 r600_blit_decompress_color(struct pipe_context * ctx,struct r600_texture * rtex,unsigned first_level,unsigned last_level,unsigned first_layer,unsigned last_layer) argument
501 struct r600_texture *rtex; local in function:r600_clear
966 struct r600_texture *rtex = (struct r600_texture*)res; local in function:r600_flush_resource
[all...]
H A Devergreen_state.c173 static unsigned r600_tex_dim(struct r600_texture *rtex, argument
176 unsigned res_target = rtex->resource.b.b.target;
1111 struct r600_texture *rtex,
1126 color->offset = rtex->surface.u.legacy.level[level].offset;
1130 color->offset += rtex->resource.gpu_address;
1134 pitch = (rtex->surface.u.legacy.level[level].nblk_x) / 8 - 1;
1135 slice = (rtex->surface.u.legacy.level[level].nblk_x * rtex->surface.u.legacy.level[level].nblk_y) / 64;
1141 switch (rtex->surface.u.legacy.level[level].mode) {
1149 non_disp_tiling = rtex
1110 evergreen_set_color_surface_common(struct r600_context * rctx,struct r600_texture * rtex,unsigned level,unsigned first_layer,unsigned last_layer,enum pipe_format pformat,struct r600_tex_color_info * color) argument
1319 struct r600_texture *rtex = (struct r600_texture*)surf->base.texture; local in function:evergreen_init_color_surface
1351 struct r600_texture *rtex = (struct r600_texture*)surf->base.texture; local in function:evergreen_init_depth_surface
1446 struct r600_texture *rtex; local in function:evergreen_set_framebuffer_state
1710 struct r600_texture *rtex; local in function:evergreen_emit_image_state
2052 struct r600_texture *rtex = (struct r600_texture *)a->rsurf->base.texture; local in function:evergreen_emit_db_state
4196 struct r600_texture *rtex = (struct r600_texture *)image; local in function:evergreen_set_shader_images
[all...]
H A Dr600_state.c812 struct r600_texture *rtex = (struct r600_texture*)surf->base.texture; local in function:r600_init_color_surface
823 if (rtex->db_compatible && !r600_can_sample_zs(rtex, false)) {
825 rtex = rtex->flushed_depth_texture;
826 assert(rtex);
829 offset = rtex->surface.u.legacy.level[level].offset;
833 pitch = rtex->surface.u.legacy.level[level].nblk_x / 8 - 1;
834 slice = (rtex->surface.u.legacy.level[level].nblk_x * rtex
1042 struct r600_texture *rtex = (struct r600_texture*)surf->base.texture; local in function:r600_init_depth_surface
1090 struct r600_texture *rtex; local in function:r600_set_framebuffer_state
1554 struct r600_texture *rtex = (struct r600_texture *)a->rsurf->base.texture; local in function:r600_emit_db_state
[all...]
H A Dr600_pipe_common.h415 struct r600_texture *rtex,
419 struct r600_texture *rtex,
755 struct r600_texture *rtex,
759 struct r600_texture *rtex,
765 struct r600_texture *rtex, struct u_log_context *log);
H A Dr600_state_common.c661 struct r600_texture *rtex = local in function:r600_set_sampler_views
665 if (!is_buffer && rtex->db_compatible) {
672 if (!is_buffer && rtex->cmask.size) {
720 struct r600_texture *rtex = (struct r600_texture *)res; local in function:r600_update_compressed_colortex_mask
722 if (rtex->cmask.size) {
772 struct r600_texture *rtex = (struct r600_texture *)res; local in function:r600_update_compressed_colortex_mask_images
774 if (rtex->cmask.size) {
2397 struct r600_texture *rtex = (struct r600_texture *)surf->texture; local in function:r600_draw_vbo
2399 rtex->dirty_level_mask |= 1 << surf->u.tex.level;
2401 if (rtex
2406 struct r600_texture *rtex; local in function:r600_draw_vbo
[all...]
H A Dr600_buffer_common.c108 struct r600_texture *rtex = (struct r600_texture*)res; local in function:r600_init_resource_fields
163 if ((res->b.b.target != PIPE_BUFFER && !rtex->surface.is_linear) ||
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r600/
H A Dr600_texture.c41 struct r600_texture *rtex);
175 struct r600_texture *rtex, unsigned level,
180 *stride = rtex->surface.u.legacy.level[level].nblk_x *
181 rtex->surface.bpe;
182 assert((uint64_t)rtex->surface.u.legacy.level[level].slice_size_dw * 4 <= UINT_MAX);
183 *layer_stride = (uint64_t)rtex->surface.u.legacy.level[level].slice_size_dw * 4;
186 return (uint64_t)rtex->surface.u.legacy.level[level].offset_256B * 256;
190 return (uint64_t)rtex->surface.u.legacy.level[level].offset_256B * 256 +
191 box->z * (uint64_t)rtex->surface.u.legacy.level[level].slice_size_dw * 4 +
192 (box->y / rtex
174 r600_texture_get_offset(struct r600_common_screen * rscreen,struct r600_texture * rtex,unsigned level,const struct pipe_box * box,unsigned * stride,unsigned * layer_stride) argument
271 r600_texture_init_metadata(struct r600_common_screen * rscreen,struct r600_texture * rtex,struct radeon_bo_metadata * metadata) argument
316 r600_eliminate_fast_color_clear(struct r600_common_context * rctx,struct r600_texture * rtex) argument
332 r600_texture_discard_cmask(struct r600_common_screen * rscreen,struct r600_texture * rtex) argument
355 r600_reallocate_texture_inplace(struct r600_common_context * rctx,struct r600_texture * rtex,unsigned new_bind_flag,bool invalidate_storage) argument
450 struct r600_texture *rtex = (struct r600_texture*)resource; local in function:r600_texture_get_info
479 struct r600_texture *rtex = (struct r600_texture*)resource; local in function:r600_texture_get_handle
579 struct r600_texture *rtex = (struct r600_texture*)ptex; local in function:r600_texture_destroy
593 r600_texture_get_fmask_info(struct r600_common_screen * rscreen,struct r600_texture * rtex,unsigned nr_samples,struct r600_fmask_info * out) argument
657 r600_texture_allocate_fmask(struct r600_common_screen * rscreen,struct r600_texture * rtex) argument
667 r600_texture_get_cmask_info(struct r600_common_screen * rscreen,struct r600_texture * rtex,struct r600_cmask_info * out) argument
701 r600_texture_allocate_cmask(struct r600_common_screen * rscreen,struct r600_texture * rtex) argument
712 r600_texture_alloc_cmask_separate(struct r600_common_screen * rscreen,struct r600_texture * rtex) argument
750 r600_texture_get_htile_size(struct r600_common_screen * rscreen,struct r600_texture * rtex) argument
810 r600_texture_allocate_htile(struct r600_common_screen * rscreen,struct r600_texture * rtex) argument
822 r600_print_texture_info(struct r600_common_screen * rscreen,struct r600_texture * rtex,struct u_log_context * log) argument
906 struct r600_texture *rtex; local in function:r600_texture_create_object
1118 struct r600_texture *rtex; local in function:r600_texture_from_handle
1157 struct r600_texture *rtex = (struct r600_texture*)texture; local in function:r600_init_flushed_depth_texture
1250 r600_can_invalidate_texture(struct r600_common_screen * rscreen,struct r600_texture * rtex,unsigned transfer_usage,const struct pipe_box * box) argument
1266 r600_texture_invalidate_storage(struct r600_common_context * rctx,struct r600_texture * rtex) argument
1295 struct r600_texture *rtex = (struct r600_texture*)texture; local in function:r600_texture_transfer_map
1478 struct r600_texture *rtex = (struct r600_texture*)texture; local in function:r600_texture_transfer_unmap
1601 struct r600_texture *rtex = (struct r600_texture*)tex; local in function:r600_clear_texture
1713 evergreen_set_clear_color(struct r600_texture * rtex,enum pipe_format surface_format,const union pipe_color_union * color) argument
1881 struct r600_texture *rtex; local in function:r600_texture_from_memobj
[all...]
H A Dr600_blit.c334 struct r600_texture *rtex,
341 if (!rtex->dirty_level_mask)
345 if (!(rtex->dirty_level_mask & (1 << level)))
350 max_layer = util_max_layer(&rtex->resource.b.b, level);
356 surf_tmpl.format = rtex->resource.b.b.format;
360 cbsurf = ctx->create_surface(ctx, &rtex->resource.b.b, &surf_tmpl);
364 rtex->fmask.size ? rctx->custom_blend_decompress : rctx->custom_blend_fastclear);
373 rtex->dirty_level_mask &= ~(1 << level);
437 struct r600_texture *rtex = (struct r600_texture*)tex; local in function:r600_decompress_subresource
439 if (rtex
333 r600_blit_decompress_color(struct pipe_context * ctx,struct r600_texture * rtex,unsigned first_level,unsigned last_level,unsigned first_layer,unsigned last_layer) argument
502 struct r600_texture *rtex; local in function:r600_clear
968 struct r600_texture *rtex = (struct r600_texture*)res; local in function:r600_flush_resource
[all...]
H A Devergreen_state.c173 static unsigned r600_tex_dim(struct r600_texture *rtex, argument
176 unsigned res_target = rtex->resource.b.b.target;
1117 struct r600_texture *rtex,
1132 color->offset = (uint64_t)rtex->surface.u.legacy.level[level].offset_256B * 256;
1136 color->offset += rtex->resource.gpu_address;
1140 pitch = (rtex->surface.u.legacy.level[level].nblk_x) / 8 - 1;
1141 slice = (rtex->surface.u.legacy.level[level].nblk_x * rtex->surface.u.legacy.level[level].nblk_y) / 64;
1147 switch (rtex->surface.u.legacy.level[level].mode) {
1155 non_disp_tiling = rtex
1116 evergreen_set_color_surface_common(struct r600_context * rctx,struct r600_texture * rtex,unsigned level,unsigned first_layer,unsigned last_layer,enum pipe_format pformat,struct r600_tex_color_info * color) argument
1325 struct r600_texture *rtex = (struct r600_texture*)surf->base.texture; local in function:evergreen_init_color_surface
1357 struct r600_texture *rtex = (struct r600_texture*)surf->base.texture; local in function:evergreen_init_depth_surface
1452 struct r600_texture *rtex; local in function:evergreen_set_framebuffer_state
1716 struct r600_texture *rtex; local in function:evergreen_emit_image_state
2058 struct r600_texture *rtex = (struct r600_texture *)a->rsurf->base.texture; local in function:evergreen_emit_db_state
4218 struct r600_texture *rtex = (struct r600_texture *)image; local in function:evergreen_set_shader_images
[all...]
H A Dr600_state.c815 struct r600_texture *rtex = (struct r600_texture*)surf->base.texture; local in function:r600_init_color_surface
826 if (rtex->db_compatible && !r600_can_sample_zs(rtex, false)) {
828 rtex = rtex->flushed_depth_texture;
829 assert(rtex);
832 offset = (uint64_t)rtex->surface.u.legacy.level[level].offset_256B * 256;
836 pitch = rtex->surface.u.legacy.level[level].nblk_x / 8 - 1;
837 slice = (rtex->surface.u.legacy.level[level].nblk_x * rtex
1045 struct r600_texture *rtex = (struct r600_texture*)surf->base.texture; local in function:r600_init_depth_surface
1093 struct r600_texture *rtex; local in function:r600_set_framebuffer_state
1557 struct r600_texture *rtex = (struct r600_texture *)a->rsurf->base.texture; local in function:r600_emit_db_state
[all...]
H A Dr600_pipe_common.h757 struct r600_texture *rtex,
761 struct r600_texture *rtex,
767 struct r600_texture *rtex, struct u_log_context *log);
H A Dr600_state_common.c686 struct r600_texture *rtex = local in function:r600_set_sampler_views
690 if (!is_buffer && rtex->db_compatible) {
697 if (!is_buffer && rtex->cmask.size) {
750 struct r600_texture *rtex = (struct r600_texture *)res; local in function:r600_update_compressed_colortex_mask
752 if (rtex->cmask.size) {
802 struct r600_texture *rtex = (struct r600_texture *)res; local in function:r600_update_compressed_colortex_mask_images
804 if (rtex->cmask.size) {
2477 struct r600_texture *rtex = (struct r600_texture *)surf->texture; local in function:r600_draw_vbo
2479 rtex->dirty_level_mask |= 1 << surf->u.tex.level;
2481 if (rtex
2486 struct r600_texture *rtex; local in function:r600_draw_vbo
[all...]
H A Dr600_buffer_common.c109 struct r600_texture *rtex = (struct r600_texture*)res; local in function:r600_init_resource_fields
162 if ((res->b.b.target != PIPE_BUFFER && !rtex->surface.is_linear) ||
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/r300/
H A Dr300_state.c840 struct r300_resource *rtex = r300_resource(tex); local in function:r300_print_fb_surf_info
853 rtex->tex.macrotile[0] ? "YES" : " NO",
854 rtex->tex.microtile ? "YES" : " NO",
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r300/
H A Dr300_state.c834 struct r300_resource *rtex = r300_resource(tex); local in function:r300_print_fb_surf_info
847 rtex->tex.macrotile[0] ? "YES" : " NO",
848 rtex->tex.microtile ? "YES" : " NO",

Completed in 39 milliseconds