diff options
author | Marek Olšák <[email protected]> | 2018-04-08 21:53:25 -0400 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2018-04-27 17:56:04 -0400 |
commit | 788d66553af418d3a195b58c3debd87a40f8174c (patch) | |
tree | 11ce5a6780896f615ab7291b8514fe0ad96248ca /src/gallium/drivers/radeonsi/si_pipe.h | |
parent | 6fadfc01c6f1600de89e8cd74f2ba78f503b5e6b (diff) |
radeonsi: rename r600_texture::resource to buffer
r600_resource could be renamed to si_buffer.
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_pipe.h')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_pipe.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/radeonsi/si_pipe.h b/src/gallium/drivers/radeonsi/si_pipe.h index 6da1d73d26d..823509524d4 100644 --- a/src/gallium/drivers/radeonsi/si_pipe.h +++ b/src/gallium/drivers/radeonsi/si_pipe.h @@ -250,7 +250,7 @@ struct r600_cmask_info { }; struct r600_texture { - struct r600_resource resource; + struct r600_resource buffer; struct radeon_surf surface; uint64_t size; @@ -1296,7 +1296,7 @@ r600_resource_reference(struct r600_resource **ptr, struct r600_resource *res) static inline void r600_texture_reference(struct r600_texture **ptr, struct r600_texture *res) { - pipe_resource_reference((struct pipe_resource **)ptr, &res->resource.b.b); + pipe_resource_reference((struct pipe_resource **)ptr, &res->buffer.b.b); } static inline bool |