diff options
author | Marek Olšák <maraeo@gmail.com> | 2010-06-02 06:25:02 +0200 |
---|---|---|
committer | Marek Olšák <maraeo@gmail.com> | 2010-06-02 06:26:15 +0200 |
commit | bb45a15168e6c6678776fea5d8d0085454089260 (patch) | |
tree | 99f05d1a7b7829e8f57e04945e42c8c453c04a8e /src/gallium/drivers/r300/r300_screen_buffer.h | |
parent | 19498be935328e284c7f0e456fc04cca8d465d4c (diff) | |
download | external_mesa3d-bb45a15168e6c6678776fea5d8d0085454089260.zip external_mesa3d-bb45a15168e6c6678776fea5d8d0085454089260.tar.gz external_mesa3d-bb45a15168e6c6678776fea5d8d0085454089260.tar.bz2 |
r300g: use r300_buffer_domain everywhere
Diffstat (limited to 'src/gallium/drivers/r300/r300_screen_buffer.h')
-rw-r--r-- | src/gallium/drivers/r300/r300_screen_buffer.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/gallium/drivers/r300/r300_screen_buffer.h b/src/gallium/drivers/r300/r300_screen_buffer.h index 57f4822..b4776fa 100644 --- a/src/gallium/drivers/r300/r300_screen_buffer.h +++ b/src/gallium/drivers/r300/r300_screen_buffer.h @@ -116,7 +116,9 @@ static INLINE boolean r300_add_texture(struct r300_winsys_screen *rws, static INLINE void r300_buffer_write_reloc(struct r300_winsys_screen *rws, struct r300_buffer *buf, - uint32_t rd, uint32_t wd, uint32_t flags) + enum r300_buffer_domain rd, + enum r300_buffer_domain wd, + uint32_t flags) { if (!buf->buf) return; @@ -126,7 +128,9 @@ static INLINE void r300_buffer_write_reloc(struct r300_winsys_screen *rws, static INLINE void r300_texture_write_reloc(struct r300_winsys_screen *rws, struct r300_texture *texture, - uint32_t rd, uint32_t wd, uint32_t flags) + enum r300_buffer_domain rd, + enum r300_buffer_domain wd, + uint32_t flags) { rws->write_cs_reloc(rws, texture->buffer, rd, wd, flags); } |