projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
svga: don't copy blit_info into local var
[mesa.git]
/
src
/
gallium
/
drivers
/
svga
/
svga_cmd_vgpu10.c
diff --git
a/src/gallium/drivers/svga/svga_cmd_vgpu10.c
b/src/gallium/drivers/svga/svga_cmd_vgpu10.c
index 99c9add1743f436b5050e02d7ece4c348f28c619..2729655ef47bde9313f88065e9221d97574227ed 100644
(file)
--- a/
src/gallium/drivers/svga/svga_cmd_vgpu10.c
+++ b/
src/gallium/drivers/svga/svga_cmd_vgpu10.c
@@
-1112,7
+1112,7
@@
SVGA3D_vgpu10_DefineStreamOutput(struct svga_winsys_context *swc,
cmd->soid = soid;
cmd->numOutputStreamEntries = numOutputStreamEntries;
cmd->soid = soid;
cmd->numOutputStreamEntries = numOutputStreamEntries;
- for (i = 0; i <
Elements
(cmd->streamOutputStrideInBytes); i++)
+ for (i = 0; i <
ARRAY_SIZE
(cmd->streamOutputStrideInBytes); i++)
cmd->streamOutputStrideInBytes[i] = streamOutputStrideInBytes[i];
memcpy(cmd->decl, decl,
cmd->streamOutputStrideInBytes[i] = streamOutputStrideInBytes[i];
memcpy(cmd->decl, decl,