projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
gallium: support for array textures and related changes
[mesa.git]
/
src
/
gallium
/
drivers
/
nvfx
/
nvfx_buffer.c
diff --git
a/src/gallium/drivers/nvfx/nvfx_buffer.c
b/src/gallium/drivers/nvfx/nvfx_buffer.c
index 041099e0e568ca953464fc4aa09468077f8409be..b407429731f94f3d1ee6276972464be754523d44 100644
(file)
--- a/
src/gallium/drivers/nvfx/nvfx_buffer.c
+++ b/
src/gallium/drivers/nvfx/nvfx_buffer.c
@@
-64,6
+64,7
@@
nvfx_user_buffer_create(struct pipe_screen *pscreen,
buffer->base.base.width0 = bytes;
buffer->base.base.height0 = 1;
buffer->base.base.depth0 = 1;
+ buffer->base.base.array_size = 1;
buffer->data = ptr;
buffer->size = bytes;
buffer->bytes_to_draw_until_static = bytes * screen->static_reuse_threshold;