diff options
author | Marek Olšák <[email protected]> | 2013-09-22 13:06:27 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2013-09-29 15:18:10 +0200 |
commit | e64633e8c3a5498998a45ab721bf80edca101cf5 (patch) | |
tree | 525282c2cfb50d874c3cdcd5ee55e1587951c90c /src/gallium/drivers/r600/r600_resource.h | |
parent | 4069d39465be2a54b52c5de77393603d9a6b3e5a (diff) |
r600g,radeonsi: share r600_texture.c
The function r600_choose_tiling is new and needs a review.
The only change in functionality is that it enables 2D tiling for compressed
textures on SI. It was probably accidentally turned off.
v2: don't make scanout buffers linear
Diffstat (limited to 'src/gallium/drivers/r600/r600_resource.h')
-rw-r--r-- | src/gallium/drivers/r600/r600_resource.h | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/gallium/drivers/r600/r600_resource.h b/src/gallium/drivers/r600/r600_resource.h index a3ccdb0c638..96fea9afe0e 100644 --- a/src/gallium/drivers/r600/r600_resource.h +++ b/src/gallium/drivers/r600/r600_resource.h @@ -89,24 +89,4 @@ static INLINE bool r600_can_read_depth(struct r600_texture *rtex) void r600_resource_destroy(struct pipe_screen *screen, struct pipe_resource *res); void r600_init_screen_resource_functions(struct pipe_screen *screen); -/* r600_texture */ -void r600_texture_get_fmask_info(struct r600_screen *rscreen, - struct r600_texture *rtex, - unsigned nr_samples, - struct r600_fmask_info *out); -void r600_texture_get_cmask_info(struct r600_screen *rscreen, - struct r600_texture *rtex, - struct r600_cmask_info *out); -void r600_texture_init_cmask(struct r600_screen *rscreen, - struct r600_texture *rtex); -struct pipe_resource *r600_texture_create(struct pipe_screen *screen, - const struct pipe_resource *templ); -struct pipe_resource *r600_texture_from_handle(struct pipe_screen *screen, - const struct pipe_resource *base, - struct winsys_handle *whandle); - -bool r600_init_flushed_depth_texture(struct pipe_context *ctx, - struct pipe_resource *texture, - struct r600_texture **staging); - #endif |