summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r300/r300_screen_buffer.h
diff options
context:
space:
mode:
authorMarek Olšák <maraeo@gmail.com>2010-06-02 06:25:02 +0200
committerMarek Olšák <maraeo@gmail.com>2010-06-02 06:26:15 +0200
commitbb45a15168e6c6678776fea5d8d0085454089260 (patch)
tree99f05d1a7b7829e8f57e04945e42c8c453c04a8e /src/gallium/drivers/r300/r300_screen_buffer.h
parent19498be935328e284c7f0e456fc04cca8d465d4c (diff)
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.h8
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 57f48229b2..b4776fa344 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);
}