diff options
Diffstat (limited to 'src/gallium/drivers/r600/r600_buffer.c')
-rw-r--r-- | src/gallium/drivers/r600/r600_buffer.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/gallium/drivers/r600/r600_buffer.c b/src/gallium/drivers/r600/r600_buffer.c index 907ac9691ba..88d67dfaf49 100644 --- a/src/gallium/drivers/r600/r600_buffer.c +++ b/src/gallium/drivers/r600/r600_buffer.c @@ -237,12 +237,11 @@ bool r600_init_resource(struct r600_screen *rscreen, } struct pipe_resource *r600_buffer_create(struct pipe_screen *screen, - const struct pipe_resource *templ) + const struct pipe_resource *templ, + unsigned alignment) { struct r600_screen *rscreen = (struct r600_screen*)screen; struct r600_resource *rbuffer; - /* XXX We probably want a different alignment for buffers and textures. */ - unsigned alignment = 4096; rbuffer = MALLOC_STRUCT(r600_resource); |